From patchwork Sat Dec 17 00:33:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 635037 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1D858C3DA6E for ; Sat, 17 Dec 2022 00:33:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229844AbiLQAdz (ORCPT ); Fri, 16 Dec 2022 19:33:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229795AbiLQAdy (ORCPT ); Fri, 16 Dec 2022 19:33:54 -0500 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D26121C132 for ; Fri, 16 Dec 2022 16:33:52 -0800 (PST) Received: by mail-lj1-x234.google.com with SMTP id g14so3775096ljh.10 for ; Fri, 16 Dec 2022 16:33:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=I7A7d9lu1TYw46vVoEpDLiF1xMuebk27n3Wae+ym3d4=; b=AhIZ9//hDbJz2u/SEEH9fVnvNKKVqEgEicLACbhSHX4eELafQDsFny426Ul5DKjTPx +mlDmn6lXhLkgUD272Tid/MRHE4yb7ngVO9w0gsxqIGggkZjo9H4nOPTgZVujiR4KYhQ iqpBHMxZMaqxG9J61ODjfcd/5gfWMbpQqvkTfLzZfbOt++ZeNFbRCyGKzZCG3CyKMNyD 42GwkY6FhdaRWAvrtDbwzswNIjnDIlctYQx7WTKVE68THuedUGBKtSzr66YM72A7+UqD ZgxY/34Q42NQk+D2uaQd7pzTMrgQMTtyNzN7xi10DpkIGaXZH8VPA51DnriVNbgp/AWm PTEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=I7A7d9lu1TYw46vVoEpDLiF1xMuebk27n3Wae+ym3d4=; b=mQbYgOaurd16Avn3k+SmPo+G1SkJLLTgXIrQ7ZwDuZ+VSY5ullYkXZcsLY3NcOQqII 7VCNmXJAGqsvteMhzN4lC4c0MHbN+yVv4VVjEbHO0HGlkTfnidjOSCleAgDNBEDBkIHy UBt+tlvKdfioziBOaH+4V8Jyf7i5mEdhA1iFuesaMJUKArczUha3MjXWWYgM51Wqphq1 9F6Knjk5AWLMSZMDZfnSAc5lB6PmxpwWuYlyilSiDIXL6N+3WzZip77hwSmkl505GQWF PM08bdUrbGKbH/zRGXLf4Q0x6L/ipcMUxt9GiVZn+xpF57o4NERcvx4aJ4KjY0wXO933 nf+w== X-Gm-Message-State: AFqh2koBB1kejH9yZDTW4mbcZsC6OyO9TTZUFvnRelLC4AqWlLUClgHP xsDJcd9r9tKbjtf3xYT7EUV5Mhe89G7Uvid3xtU= X-Google-Smtp-Source: AMrXdXvYfHeCqctkdbfJjoB4NzP30Zx/7hUihfIxPJid9r2ptEsqM8a1AUwP0NV5z0kSKwGnDVFXvg== X-Received: by 2002:a2e:b954:0:b0:27d:7c33:8d4 with SMTP id 20-20020a2eb954000000b0027d7c3308d4mr3738774ljs.51.1671237231208; Fri, 16 Dec 2022 16:33:51 -0800 (PST) Received: from eriador.lan (dzccz6yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a085:4d00::8a5]) by smtp.gmail.com with ESMTPSA id u12-20020ac258cc000000b00497b198987bsm351458lfo.26.2022.12.16.16.33.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Dec 2022 16:33:50 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 1/5] dt-bindings: mfd: qcom-spmi-pmic: add pm8450 entry Date: Sat, 17 Dec 2022 02:33:45 +0200 Message-Id: <20221217003349.546852-2-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221217003349.546852-1-dmitry.baryshkov@linaro.org> References: <20221217003349.546852-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add bindings for the PM8450 PMIC (qcom,pm8450). No driver changes are necessary, since the PMIC is handled by the generic qcom,spmi-pmic entry. Signed-off-by: Dmitry Baryshkov --- Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml index a5edab6f2e40..93d157153428 100644 --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml @@ -55,6 +55,7 @@ properties: - qcom,pm8350 - qcom,pm8350b - qcom,pm8350c + - qcom,pm8450 - qcom,pm8841 - qcom,pm8909 - qcom,pm8916 From patchwork Sat Dec 17 00:33:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 635036 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B3ABC46467 for ; Sat, 17 Dec 2022 00:33:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229851AbiLQAd5 (ORCPT ); Fri, 16 Dec 2022 19:33:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229806AbiLQAdz (ORCPT ); Fri, 16 Dec 2022 19:33:55 -0500 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 947111C407 for ; Fri, 16 Dec 2022 16:33:54 -0800 (PST) Received: by mail-lf1-x135.google.com with SMTP id m29so5698042lfo.11 for ; Fri, 16 Dec 2022 16:33:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8h8WL3c3+oZm7jp+9cKYfilCcHjJHqUsr5bBvQEAuzs=; b=NoHUI0vpLtHKRKazdHAZmjMpMCSs23cn2XgcsbLJarP1lRWrJrIFR0HcLebfmhu9lw ke9eCLclSWksy/D9Fyy9xbmsZ+mkbcNsztZZNSQR4SUXVXRUYUtDM9xwIcDkXc53ICWi m9YqxFF3EbbjYvAMU1KAMUcWjd606EP2+CZrZYp8pXsShshqzecton8m81QQ0li+TLDT 5zGRhFe7E0RI2qtx7m2cOex5n3Glm2c1TZWM5T7FxZi2wUdZADgvoKJgoMplYvPdjon+ y86K/uULK5q/rahqMnQ2EQYLk/d3f91fkgiQz4WwfMyjlHMrMeZDX6tjlrweU04GghRt kyjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8h8WL3c3+oZm7jp+9cKYfilCcHjJHqUsr5bBvQEAuzs=; b=S12NFnDbQUhaIaU/enpBLrpL+CN8EucAnQERLMaLfmKuscnVoSXZV1QJgBDpVPP6BQ z6WFDbXjziEDW249I+cChWT2c12WPbRzj/7MuntGolCdAAsnP13r5WZmxvmMiB4FedDW iyVQgPSNCA3yW/x5VrqjpnkOHyU9VP8vFZcgvxmhKSgL2pBXvtvh3z3Ph0PR9uyZykxp e81ypKHHf3/xAV2VFHOTbtZjTb6+WmePPxyAi4s9H7mMkb0YL99xWBDAx7k3Xa22Gjqy HhwcjHKk3e2BLxjYovD58F+dU8Ukw3uYvgH2yK3jPgX26cS6enxRDirxuAblZRI+cFcS 7KGg== X-Gm-Message-State: ANoB5pnKdQUZIe95X/mlOOGMBuuWqFLjLr0/hdhgoTwp9yORFDYP2ZJC JFWng3TsDhsUyCwaATn8jcIQqf4oZbBPbfcjJxU= X-Google-Smtp-Source: AA0mqf7Qc0EAJ/ZsqyabATGLolV7JWaV9XrvKjLdhhcJfJIsmP1DOvXwSQExawqttR3YYXIZez2Icg== X-Received: by 2002:a05:6512:b81:b0:4a4:68b9:66bf with SMTP id b1-20020a0565120b8100b004a468b966bfmr13384441lfv.10.1671237233006; Fri, 16 Dec 2022 16:33:53 -0800 (PST) Received: from eriador.lan (dzccz6yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a085:4d00::8a5]) by smtp.gmail.com with ESMTPSA id u12-20020ac258cc000000b00497b198987bsm351458lfo.26.2022.12.16.16.33.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Dec 2022 16:33:52 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 3/5] arm64: dts: qcom: sm8450-qrd: add missing PMIC includes Date: Sat, 17 Dec 2022 02:33:47 +0200 Message-Id: <20221217003349.546852-4-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221217003349.546852-1-dmitry.baryshkov@linaro.org> References: <20221217003349.546852-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add includes for PMICs used on the SM8450-HDK. This makes GPIO blocks and thermal sensors available to the user of the platform. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8450-qrd.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8450-qrd.dts b/arch/arm64/boot/dts/qcom/sm8450-qrd.dts index e24bb77b2410..134ffdfc2c63 100644 --- a/arch/arm64/boot/dts/qcom/sm8450-qrd.dts +++ b/arch/arm64/boot/dts/qcom/sm8450-qrd.dts @@ -9,6 +9,10 @@ #include "sm8450.dtsi" #include "pm8350.dtsi" #include "pm8350b.dtsi" +#include "pm8350c.dtsi" +#include "pm8450.dtsi" +#include "pmk8350.dtsi" +#include "pmr735a.dtsi" #include "pmr735b.dtsi" / { From patchwork Sat Dec 17 00:33:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 635035 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E901CC4167B for ; Sat, 17 Dec 2022 00:33:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229820AbiLQAd6 (ORCPT ); Fri, 16 Dec 2022 19:33:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229655AbiLQAd5 (ORCPT ); Fri, 16 Dec 2022 19:33:57 -0500 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77F521C407 for ; Fri, 16 Dec 2022 16:33:56 -0800 (PST) Received: by mail-lf1-x134.google.com with SMTP id j4so6012325lfk.0 for ; Fri, 16 Dec 2022 16:33:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KlEb3rnjlIc3/L0hMJvUYLbQ0T3U0ArAVHahPBSCRDQ=; b=gviDX9kv0+ulmaenYYIK/6ZTv0TNi39uaIxkdLRyODMtvlQMk0W2lW7cawT34vdANG koXn6sOjpgmKlT/TrKxMNq4UTlK6vMqcnFySF+VEwtviHqCJ2GUzmaMSOnVCXPFyg5oI I/q+wQQCGTGy518Nu5TzCZ7U4CIkeuGMFU78Av7icx/hA4vWPDzzDfKGbwLIPEAOlxtM Cfu6qbhQh8gRTOAdxvH7LA9Or3akl20gMTvcg1TcYhWvcZdB8VrwgVZw39Io6vlmfUxL 7yvFkNwaLdxud84I5CzOY7Cz8Wy77J/4bBjiwKhuZj/9qalIT/e3U8wvXoQxdRkLkWaI E8Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KlEb3rnjlIc3/L0hMJvUYLbQ0T3U0ArAVHahPBSCRDQ=; b=tlmHkAt/qPm8+7IRum8/1ABvKOPgHtk6vmh8kneXNVnoFRrC3fatMvVpisIgTEWDcF VHzBPrG1fTqFgX3jMM34OOekTbsilVso334CQizEQAyzjmNwdpZzIEoJkuvU0afACW1l 3s5DWt8+B8GnXf3UWWbftXrwS7UUqex41sWZi/LaeUg0xdZtwoFx3UbdjxUrkbE7VUE4 e7a225KzRvGrj4Kl6xApveCK6b5r/rTa+mKppIDkihBJ8oRm4bp15RMsZG2z2pGnHtbl VyK/+hrsoAJcupLwDuoMvunzOt4q8xEfExF/gwYSGgKIvge4lyHl6U/LzwZqCg7QptLZ kEpQ== X-Gm-Message-State: ANoB5pn9Wv3Wt6G/23OBPpUIgKp3/ntOX8kjRu85Mp9QRyX21nusnzfn MXHMO6hH3TyTWuXJQJIBs5KWLO2GZI7PCn6q3yo= X-Google-Smtp-Source: AA0mqf6cUqr+Ml5qg7Wl22A4ePtb4x4X9DpqoFB/VUAvlHzoK9kbNmDV75X6rSnRBiB493G2c9dnhQ== X-Received: by 2002:a05:6512:3c82:b0:4b5:5bc1:16da with SMTP id h2-20020a0565123c8200b004b55bc116damr12278506lfv.39.1671237234873; Fri, 16 Dec 2022 16:33:54 -0800 (PST) Received: from eriador.lan (dzccz6yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a085:4d00::8a5]) by smtp.gmail.com with ESMTPSA id u12-20020ac258cc000000b00497b198987bsm351458lfo.26.2022.12.16.16.33.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Dec 2022 16:33:54 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 5/5] arm64: dts: qcom: sm8450-hdk: add missing PMIC includes Date: Sat, 17 Dec 2022 02:33:49 +0200 Message-Id: <20221217003349.546852-6-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221217003349.546852-1-dmitry.baryshkov@linaro.org> References: <20221217003349.546852-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add includes for PMICs used on the SM8450-HDK. This makes GPIO blocks and thermal sensors available to the user of the platform. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8450-hdk.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts index c951d7a6d6df..5cf436090b5b 100644 --- a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts +++ b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts @@ -10,6 +10,10 @@ #include "sm8450.dtsi" #include "pm8350.dtsi" #include "pm8350b.dtsi" +#include "pm8350c.dtsi" +#include "pm8450.dtsi" +#include "pmk8350.dtsi" +#include "pmr735a.dtsi" #include "pmr735b.dtsi" / {