Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp220094ybx; Tue, 5 Nov 2019 22:47:29 -0800 (PST) X-Google-Smtp-Source: APXvYqy2umRBExjoKvXT3urk500DVeS/ZRWIKCA221Y5mTsFzNc3qV2FPP1Tah26V9Es0P/iCncE X-Received: by 2002:aa7:df87:: with SMTP id b7mr914204edy.296.1573022849515; Tue, 05 Nov 2019 22:47:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573022849; cv=none; d=google.com; s=arc-20160816; b=Vb70jsaAkNoIWAtxcWnJfGaEaKhdADaSNFlF5Ptvn3C9Mk+exSucTacZ1g5Ub3XD4T spIJBoyhicDJnMFpXHhVSaoRQdfgNlJY0W7URhvJ+nR+rsnG8WP6MU3gmi6KsUjMGB/s k6pz/M5s/iMyQtqr5yDFQ3zlnXAsI5acaBhwpOsElXCeCi4bmszjisrLeBOnOpqyBSIE 4pWB/3TcjSSqK7UlkVv6uWIvMbGR+q2HfYHq5z1u9qWxGHF7LkdrNADOMKX6/uEoknwN OYDOJo953pv9sYV2IAhY6eAklwk6fB+uOww5eU+rUMaKpw6N+VTZCO/D6ju1dVFLGCKI U9IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature; bh=o0GivgZLpXmlhgz8tJRMMntdR+H/ibkH77qxKciXWPE=; b=IKBgALRde5jqlan9ZhhOqMVy9ar3iI+ws/G6W9a0XfXHRqxEmZ/FONP31akFGiYDKE I8k3w4GpKhu0jZiyTkpfbSJSQTLFaMpoGK+ni+LAZyOdEmf5v81FMSR3a7lM1JiG9cun G9EaJugJOjnjO71pfoV9vS9ipntJNqRQariYGpO8NJ1tB32Dw8h1Oa1+d20WpHyCem5Y eBYQNp6F1aW4KSusw6A4w4irgrvumBmoKEDQBMfIVOJcIArdmu0eUTvvXdGv6tVXHqRv Bc6nrq08AAxkKHWbvtCYOATxNJg2UL3FQVwLF6Lu7m+RciEVnjy6ZBDLrFz1X+lcrG9Y 0PFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=bV12NHnS; dkim=pass header.i=@codeaurora.org header.s=default header.b=dU0u4vis; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a30si11883991eda.259.2019.11.05.22.47.05; Tue, 05 Nov 2019 22:47:29 -0800 (PST) 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=@codeaurora.org header.s=default header.b=bV12NHnS; dkim=pass header.i=@codeaurora.org header.s=default header.b=dU0u4vis; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729826AbfKFGoC (ORCPT + 99 others); Wed, 6 Nov 2019 01:44:02 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:41500 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725913AbfKFGoB (ORCPT ); Wed, 6 Nov 2019 01:44:01 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 65FE961186; Wed, 6 Nov 2019 06:44:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1573022640; bh=42CLJ/ww7+uXdAJLfPh+1+RfcFXtImJ/OlVgtayzZSo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=bV12NHnSPbKxJQnDPKfiOT9WTaTGypL6VHkHfSrcvOm58+TDrUBjrNTo1epGGfI0W JTlJbm4l6TJ1oi1La19/zARbulmbukTtgptFCKe4df6fKjlu9EQytvoeT6vAFDq8oA 872vHOSkYEUpyodLNrURQJ6XdebIuB+YVglbF1J4= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 4E1AB60D7B; Wed, 6 Nov 2019 06:43:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1573022639; bh=42CLJ/ww7+uXdAJLfPh+1+RfcFXtImJ/OlVgtayzZSo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=dU0u4vis36ZClO+i9NY9xZZGqM4y4lDCfen1VGz5xT0jvdRyxkFTV6qhM9ur4gPfa zkxukND5EjfcrfD8H31AMVvxUC1WRPJc8kuhB1PfhmX/7EtbVUjPnXvh+Z0by7mXj0 Kb/LakGkE1mhUPoYKoVZcZLfn09tjCZ8/BK/pSJM= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 06 Nov 2019 12:13:59 +0530 From: kgunda@codeaurora.org To: Stephen Boyd Cc: Andy Gross , Mark Rutland , bjorn.andersson@linaro.org, devicetree@vger.kernel.org, lee.jones@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, rnayak@codeaurora.org Subject: Re: [PATCH V2] mfd: qcom-spmi-pmic: Add support for pm6150 and pm6150l In-Reply-To: <5dc1cb4c.1c69fb81.af253.0b8a@mx.google.com> References: <1572931309-16250-1-git-send-email-kgunda@codeaurora.org> <5dc1cb4c.1c69fb81.af253.0b8a@mx.google.com> Message-ID: X-Sender: kgunda@codeaurora.org User-Agent: Roundcube Webmail/1.2.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-11-06 00:49, Stephen Boyd wrote: > Quoting Kiran Gunda (2019-11-04 21:21:49) >> Add the compatibles and PMIC ids for pm6150 and pm6150l PMICs >> found on SC7180 based platforms. >> >> Signed-off-by: Kiran Gunda >> --- >> - Changes from V1: >> Sorted the macros and compatibles. > > I don't see anything sorted though. > Sorry .. I might have misunderstood your comment. Let me know if my understanding is correct. >>>> And compatible here. >>> And on macro name here. This means you want to sort all the existing compatible and macros in alpha numeric order ? >>>> Please sort on compatible string This means you want sort in the order how the compatibles are defined ? >> >> Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.txt | 2 ++ >> drivers/mfd/qcom-spmi-pmic.c | 4 ++++ >> 2 files changed, 6 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.txt >> b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.txt >> index 1437062..b5fc64e 100644 >> --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.txt >> +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.txt >> @@ -32,6 +32,8 @@ Required properties: >> "qcom,pm8998", >> "qcom,pmi8998", >> "qcom,pm8005", >> + "qcom,pm6150", >> + "qcom,pm6150l", > > And this looks badly tabbed or something? > My bad, I used tabs. Will correct it in next post. >> or generalized "qcom,spmi-pmic". >> - reg: Specifies the SPMI USID slave address for this >> device. >> For more information see: >> diff --git a/drivers/mfd/qcom-spmi-pmic.c >> b/drivers/mfd/qcom-spmi-pmic.c >> index e8fe705..74b7980 100644 >> --- a/drivers/mfd/qcom-spmi-pmic.c >> +++ b/drivers/mfd/qcom-spmi-pmic.c >> @@ -34,6 +34,8 @@ >> #define PM8998_SUBTYPE 0x14 >> #define PMI8998_SUBTYPE 0x15 >> #define PM8005_SUBTYPE 0x18 >> +#define PM6150_SUBTYPE 0x28 >> +#define PM6150L_SUBTYPE 0x27 >> >> static const struct of_device_id pmic_spmi_id_table[] = { >> { .compatible = "qcom,spmi-pmic", .data = (void >> *)COMMON_SUBTYPE }, >> @@ -53,6 +55,8 @@ >> { .compatible = "qcom,pm8998", .data = (void >> *)PM8998_SUBTYPE }, >> { .compatible = "qcom,pmi8998", .data = (void >> *)PMI8998_SUBTYPE }, >> { .compatible = "qcom,pm8005", .data = (void >> *)PM8005_SUBTYPE }, >> + { .compatible = "qcom,pm6150", .data = (void >> *)PM6150_SUBTYPE }, >> + { .compatible = "qcom,pm6150l", .data = (void >> *)PM6150L_SUBTYPE }, >> { } >> }; >>