Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1161029ybx; Tue, 5 Nov 2019 11:22:07 -0800 (PST) X-Google-Smtp-Source: APXvYqwa1BJWm3XECSdOPwtKtFXf60QWHXvUfQqVWZ40BNZBK5pDq7OkMGRLBG3SujgE4C4i8YUI X-Received: by 2002:a50:898a:: with SMTP id g10mr34564163edg.191.1572981727189; Tue, 05 Nov 2019 11:22:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572981727; cv=none; d=google.com; s=arc-20160816; b=re3Cz9JweTfGsIi3Ux9t/ZqUSzYX2w3u3RZXs3mwSXz6Qu2HZ5UXQGhtSamKK3A1sZ JUZu0uM37Xd0eQTiMJykVptNgJZhN/z3/qYo22pszMNTxolTOR4y9/3ctjNZyCMBMEB9 OM3CNTD+5moWf7wt9EC2VGdVmNKYWzUEqd3T3U2rola+P7o4CtftbNF0zjycS15pYTQE ihHp8RS0yi6jpNX6JtMhsWoFEbl1sDgNQ8jJS6Uh65pc7TNYYIX+UZJ3hQRt5eGUawJh pcfxEv4YTj5c6pq8tB4fKSfCNUEpb+LvYusJAxgCudeDGAC/y8LA4GiXGybqZrtdljji Stpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:user-agent:to:from:subject:cc :references:in-reply-to:content-transfer-encoding:mime-version :message-id:dkim-signature; bh=hbU+lnz3PoPpDd5LQBdnFKQTsx0QptkCCfC4Iao/bDw=; b=LJ+1Mw+zBHdEZf2uqimydkU/ZxeHcLceVc5sencqquwHCkNkPUWkPIypdJfap6mi8J mVquZRZ2i5o8XT1YDnm6MUyqS5zehDNUa9zSaqgqLznzrCEnyo4qJIcDqFau1atkZnJP 6CUxuSB8tKr0BTwJgvCnfR1wdSDg1X6RDE2Rilxlpyk+6st0dTEtZs5DwZjA62vyz6GF Md7BRDgkaErNJaXPOftYfBoWdbRlQddW1P/xXuBL0KeSa0IqUAMa44zLQlimD/9hOO6T ko6jP8vHeYzAQI7Xfr7hBBdPak0bgdxspj/NGYDaQIb05R70KQul3Bp/lZWPqQD5iLMy K0Ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=LCPyYI+i; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l40si11165259edb.432.2019.11.05.11.21.43; Tue, 05 Nov 2019 11:22:07 -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=@chromium.org header.s=google header.b=LCPyYI+i; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403767AbfKETTn (ORCPT + 99 others); Tue, 5 Nov 2019 14:19:43 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:40443 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403757AbfKETTn (ORCPT ); Tue, 5 Nov 2019 14:19:43 -0500 Received: by mail-pl1-f193.google.com with SMTP id e3so7871884plt.7 for ; Tue, 05 Nov 2019 11:19:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=message-id:mime-version:content-transfer-encoding:in-reply-to :references:cc:subject:from:to:user-agent:date; bh=hbU+lnz3PoPpDd5LQBdnFKQTsx0QptkCCfC4Iao/bDw=; b=LCPyYI+iiiAIz7UBJ5PzgsIyD7zIA1uqeTHw3tC+72i8g7Cd0+VH7cG+XhA2/7lcB+ zzQN2EXWfjp3gN86AMcii+zGOnj7ouaZ3RwHLkptQH4xa3Jw8ev6FXa/zKE+0NOh5SK1 yY+s6T06b17ToJZleH5KhQo/aE/+4rsCtvI94= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version :content-transfer-encoding:in-reply-to:references:cc:subject:from:to :user-agent:date; bh=hbU+lnz3PoPpDd5LQBdnFKQTsx0QptkCCfC4Iao/bDw=; b=ujke4x8KyYNYqvWA1X1LxEae4Foouit44VSlMUD2YNiJBxvXfXdXyG6il+q3Lb48N0 Sp9OKEWxJnNsqfYRSklgnXPvgtK10aX7wtIOYq3LhvebAg3tfVlK5UCGJoG0SYOW+HRV RAlOcxOKL4qKSfV70kAd1Eo+PHUWpuZjM76Wr5stRdSVurkd3cQNoAjKh4cyG+4JyYGI E+w0yZ5iv0jI8hnOovdgCq9b/zPe8Ic1dG0aSApUTnFDFP6b34C2XjEEEeopByQMgS22 5v8UALxgH1ANjfKvmCR0cjQ23RKspSBzmURNwfNAzf5j672K1Yhjdw10/t4AaCXwI5DD Iybg== X-Gm-Message-State: APjAAAWM09HLDTce/EaSXAw2zuC+ejI2MqSKdquUXg4G8VdHiDH5mOoJ 7pUbtD5JGbcvf7/yF0Dzo1+lkQ== X-Received: by 2002:a17:902:102:: with SMTP id 2mr35224735plb.156.1572981581248; Tue, 05 Nov 2019 11:19:41 -0800 (PST) Received: from chromium.org ([2620:15c:202:1:fa53:7765:582b:82b9]) by smtp.gmail.com with ESMTPSA id 39sm198792pjo.7.2019.11.05.11.19.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Nov 2019 11:19:40 -0800 (PST) Message-ID: <5dc1cb4c.1c69fb81.af253.0b8a@mx.google.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1572931309-16250-1-git-send-email-kgunda@codeaurora.org> References: <1572931309-16250-1-git-send-email-kgunda@codeaurora.org> Cc: rnayak@codeaurora.org, Kiran Gunda Subject: Re: [PATCH V2] mfd: qcom-spmi-pmic: Add support for pm6150 and pm6150l From: Stephen Boyd To: Andy Gross , Kiran Gunda , 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 User-Agent: alot/0.8.1 Date: Tue, 05 Nov 2019 11:19:39 -0800 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. >=20 > Signed-off-by: Kiran Gunda > --- > - Changes from V1: > Sorted the macros and compatibles. I don't see anything sorted though. >=20 > Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.txt | 2 ++ > drivers/mfd/qcom-spmi-pmic.c | 4 ++++ > 2 files changed, 6 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.txt b/D= ocumentation/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? > 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 > =20 > static const struct of_device_id pmic_spmi_id_table[] =3D { > { .compatible =3D "qcom,spmi-pmic", .data =3D (void *)COMMON_SUBT= YPE }, > @@ -53,6 +55,8 @@ > { .compatible =3D "qcom,pm8998", .data =3D (void *)PM8998_SUBT= YPE }, > { .compatible =3D "qcom,pmi8998", .data =3D (void *)PMI8998_SUB= TYPE }, > { .compatible =3D "qcom,pm8005", .data =3D (void *)PM8005_SUBT= YPE }, > + { .compatible =3D "qcom,pm6150", .data =3D (void *)PM6150_SUBT= YPE }, > + { .compatible =3D "qcom,pm6150l", .data =3D (void *)PM6150L_SUB= TYPE }, > { } > }; > =20