From patchwork Mon Mar 18 03:26:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "\(Exiting\) Baolin Wang" X-Patchwork-Id: 160474 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp2181350jad; Sun, 17 Mar 2019 20:27:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqytZf0gYujvAbHg6hr55FOnnjmQAdOlbxJJTyxqt74/JkzSJkdufrwZ9YXTAqBepqpy1DY1 X-Received: by 2002:a17:902:c03:: with SMTP id 3mr11145026pls.186.1552879630870; Sun, 17 Mar 2019 20:27:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552879630; cv=none; d=google.com; s=arc-20160816; b=aaijkbdQrfh3J8zitqTcYmIRELoQx02A8WPIU9b4opmGUmYpQjCY3LD9gmPhzgehOL qtilnQyLZXKCPDGTrzl2Wo+slifHrjHIxNWV2wop8ig+3acExCSB8CsCecctw1orbxxl lx2W0+ld9tGmk2qRtctHWK1hskU72TJlFpEblxoJVIb51+c4Non3MSdklHy2FegOzqKx agzcFjf91Nv2s9+1EvwV1kRftgSUlgyfkQpoiPuvsYcvhq84F8N6uewkTLdWEsUNdjmY ucF2a3PxewbJFnt91bdC3UlXGMS6FEqkNHw4W2VFl0wrwfHqQg8wbs81jSug5wFBFolE jZgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=p+4/obst91yE3W9s18pW/2gILbG+hmYGbmJadmhDXFA=; b=lp8RstuoIYpMEIKckXhuQ+QvBSLv33dGGfwmCVhF3KmLUnAvViFe9NLNpQp7kSVQo+ hjYa2aeWEOqmBdckMs/2uIEnWF1zVTHAvip4a4UGjr2LrS9MLCESKjHRo0wHDTWt+v5C k4WPi3zVr5J24qgg+MplbbqMOyUShFYXu3zA/4Y6XhjXJ0ni5Pg0pYZnxt1KHQ66xhMK 3F88kpggbI9FNm7h8gSkYT+1Ag/DSKEpy8pxfGQpM1bOZCuDXRic9Nyvnw6zIpWxmYbr K8ycNqzXc99mXBvWCpmugQKlDz3D93c1o2AIjCswwyRIh/CSi0cFr01GZbBOD7LumSw+ lyBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qCuw0CXI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m90si2367152pfj.271.2019.03.17.20.27.10; Sun, 17 Mar 2019 20:27:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qCuw0CXI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727847AbfCRD1I (ORCPT + 31 others); Sun, 17 Mar 2019 23:27:08 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:42649 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727699AbfCRD1I (ORCPT ); Sun, 17 Mar 2019 23:27:08 -0400 Received: by mail-pg1-f195.google.com with SMTP id b2so10370282pgl.9 for ; Sun, 17 Mar 2019 20:27:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=p+4/obst91yE3W9s18pW/2gILbG+hmYGbmJadmhDXFA=; b=qCuw0CXICsVj+J9u3EJagsHPR6yPv0i24BBaQuglperlznQGIgjscbP9TUlcTsA4Pq epVSYE8Y2o0m/On+TOJjHAhXNy2mviar8e2HMcyAvMndPksppn7Y9NWCeU4tv2nOH6bX 2PUR6IXeaEQHG66/+p0HmyEQwAMxWu8ZWD+oPxWsnWKKUA2nHzoUGa+fxi+p3QV3ohIZ Z3RiIUSa0+A+im0tWpzg0h/Qx2+zxKOZymCRBXNti5uu/dAP6bcL/eMCZhwTkdoe4peM /hE8wdwbhZoSi8Goaq5Lfcv782Jqtu6B+uRyiJppHT551ZJuY+CdrGnU75h+/vKBFtaU ihGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=p+4/obst91yE3W9s18pW/2gILbG+hmYGbmJadmhDXFA=; b=fBjk9yQhqyDrkOQNdXIDMLe3qCCmvHr1sNhwzt3YL3yMdDRogc1q2E2wQFcbw1cOv0 EOdTq1UbrkqqFnXKEFqjmwnddbUXw8pjDyWTif1Ej+/J9K8hANgMnnfIXBv9TKQ+JQt8 annR83LedSNU8HZQ8RZeON0yLGL1LqI7pX35i8c7/u6OuvuKkQUMXcSaJpji/1SgAiey bW0tP51EdnyX53AlXOfX9kgQcm5EJ0usLMz6Fstut/sWnS8efW6vpzvUkQ8Dp0ZmA5i1 9ivNu8OIryXu1JangKecJjcqCfpy96gdWxJJGk6Zg65bbvTJhO6/y3Askf1fva2vsAGu O9nA== X-Gm-Message-State: APjAAAX594Ujkf7j2jPvcrJsZMHWGYrl2P1x+4v9PeVeS8AF8yirfdvX JWN70FqbrZuUvWQDxr5wRyAoIA== X-Received: by 2002:a62:3347:: with SMTP id z68mr9713827pfz.76.1552879627071; Sun, 17 Mar 2019 20:27:07 -0700 (PDT) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id m79sm27477907pfi.60.2019.03.17.20.27.04 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 17 Mar 2019 20:27:06 -0700 (PDT) From: Baolin Wang To: lee.jones@linaro.org Cc: arnd@arndb.de, broonie@kernel.org, orsonzhai@gmail.com, baolin.wang@linaro.org, zhang.lyra@gmail.com, linux-kernel@vger.kernel.org Subject: [RESEND PATCH] mfd: sc27xx: Use SoC compatible string for PMIC devices Date: Mon, 18 Mar 2019 11:26:51 +0800 Message-Id: X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We should use SoC compatible string in stead of wildcard string for PMIC child devices. Signed-off-by: Baolin Wang --- Hi Lee, Could you merge this patch into v5.1-rc if no objection from you? Since our DTS patches had been merged into v5.1, our PMIC can not work without this patch. Thanks. --- drivers/mfd/sprd-sc27xx-spi.c | 42 ++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) -- 1.7.9.5 diff --git a/drivers/mfd/sprd-sc27xx-spi.c b/drivers/mfd/sprd-sc27xx-spi.c index 69df277..43ac716 100644 --- a/drivers/mfd/sprd-sc27xx-spi.c +++ b/drivers/mfd/sprd-sc27xx-spi.c @@ -53,67 +53,67 @@ struct sprd_pmic_data { static const struct mfd_cell sprd_pmic_devs[] = { { .name = "sc27xx-wdt", - .of_compatible = "sprd,sc27xx-wdt", + .of_compatible = "sprd,sc2731-wdt", }, { .name = "sc27xx-rtc", - .of_compatible = "sprd,sc27xx-rtc", + .of_compatible = "sprd,sc2731-rtc", }, { .name = "sc27xx-charger", - .of_compatible = "sprd,sc27xx-charger", + .of_compatible = "sprd,sc2731-charger", }, { .name = "sc27xx-chg-timer", - .of_compatible = "sprd,sc27xx-chg-timer", + .of_compatible = "sprd,sc2731-chg-timer", }, { .name = "sc27xx-fast-chg", - .of_compatible = "sprd,sc27xx-fast-chg", + .of_compatible = "sprd,sc2731-fast-chg", }, { .name = "sc27xx-chg-wdt", - .of_compatible = "sprd,sc27xx-chg-wdt", + .of_compatible = "sprd,sc2731-chg-wdt", }, { .name = "sc27xx-typec", - .of_compatible = "sprd,sc27xx-typec", + .of_compatible = "sprd,sc2731-typec", }, { .name = "sc27xx-flash", - .of_compatible = "sprd,sc27xx-flash", + .of_compatible = "sprd,sc2731-flash", }, { .name = "sc27xx-eic", - .of_compatible = "sprd,sc27xx-eic", + .of_compatible = "sprd,sc2731-eic", }, { .name = "sc27xx-efuse", - .of_compatible = "sprd,sc27xx-efuse", + .of_compatible = "sprd,sc2731-efuse", }, { .name = "sc27xx-thermal", - .of_compatible = "sprd,sc27xx-thermal", + .of_compatible = "sprd,sc2731-thermal", }, { .name = "sc27xx-adc", - .of_compatible = "sprd,sc27xx-adc", + .of_compatible = "sprd,sc2731-adc", }, { .name = "sc27xx-audio-codec", - .of_compatible = "sprd,sc27xx-audio-codec", + .of_compatible = "sprd,sc2731-audio-codec", }, { .name = "sc27xx-regulator", - .of_compatible = "sprd,sc27xx-regulator", + .of_compatible = "sprd,sc2731-regulator", }, { .name = "sc27xx-vibrator", - .of_compatible = "sprd,sc27xx-vibrator", + .of_compatible = "sprd,sc2731-vibrator", }, { .name = "sc27xx-keypad-led", - .of_compatible = "sprd,sc27xx-keypad-led", + .of_compatible = "sprd,sc2731-keypad-led", }, { .name = "sc27xx-bltc", - .of_compatible = "sprd,sc27xx-bltc", + .of_compatible = "sprd,sc2731-bltc", }, { .name = "sc27xx-fgu", - .of_compatible = "sprd,sc27xx-fgu", + .of_compatible = "sprd,sc2731-fgu", }, { .name = "sc27xx-7sreset", - .of_compatible = "sprd,sc27xx-7sreset", + .of_compatible = "sprd,sc2731-7sreset", }, { .name = "sc27xx-poweroff", - .of_compatible = "sprd,sc27xx-poweroff", + .of_compatible = "sprd,sc2731-poweroff", }, { .name = "sc27xx-syscon", - .of_compatible = "sprd,sc27xx-syscon", + .of_compatible = "sprd,sc2731-syscon", }, };