Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1939524iob; Thu, 5 May 2022 11:19:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzjWQyDx29WZc9oNSZ96KDn/O3wkObXuvk1smMp43uLOn6W5+ywzWRWeytMl97gMsMaGETH X-Received: by 2002:a63:f251:0:b0:3c2:699c:8089 with SMTP id d17-20020a63f251000000b003c2699c8089mr13023163pgk.118.1651774797985; Thu, 05 May 2022 11:19:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651774797; cv=none; d=google.com; s=arc-20160816; b=J4dQ3Xm102NoB4YHQb+iZER91G6STirf6VB/Y+8cMOzb6K7pcvwQv05uVUZGmSwiFF 2B/Bc3x7nYJtcJCBj8KKbPBIpXugly8EGUpeSdVBczhE7efYG8FGpv29SDNGDeK66apP EG1J/Po3ii5yUOFgJ7wSWbZvixuKRzOOxgpUHWOLvpW4flDUlVsrmG3oeECIa/HJazlw /8gYAoekjAg7l8u4F01m1nGvBcuj8LFfQ6HRpZqHTgUPkkcE1qw7MlVHJMLWEmdv4r74 4elWiJCH4gf5Pu9BEI2T0J+gie4P2f31kBa2oZkxequQO/0ip1N8YwAiOLtSRI3RIxNJ Dbtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ZnOPF3kLhHT3pxdKoIqWPDrlgDNrphBIZSYl1LKV7/E=; b=sQsop9VvikG7WicFqB8JwBie1urCZWA2yyiirftT5ndk2b19mLGHOkQVgz7jbgBrvD Eaj4g8h4VDlAdpd/LPOakhwssltfheju/M5EnnPkXl3aQc0dcoZ+itQu8WiuyMHoKLnp rFIKGANWYNAVVThESBkoMhs+1aQyWTUvSRTlIabpW18jdYh6JKpinZhzrejF+Nicvnhc kZ39p3S/8zjSRRjxi9WaWKasTKlLVP3KgM8IXj9fqm5ebD7HJ96oFKCiR861+75jMGo+ phTv9WDWM5ZA+7lJy3gWn9Qch/kWSKOTC+j2yLOjyHjR4LUaUToq9UJ162wFmC7wjbMT HWYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h3XafBA9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i3-20020a63d443000000b003c63c02954bsi138425pgj.454.2022.05.05.11.19.39; Thu, 05 May 2022 11:19:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h3XafBA9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S239060AbiEEC3R (ORCPT + 99 others); Wed, 4 May 2022 22:29:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239235AbiEEC3C (ORCPT ); Wed, 4 May 2022 22:29:02 -0400 Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECED313F64 for ; Wed, 4 May 2022 19:25:23 -0700 (PDT) Received: by mail-ot1-x32f.google.com with SMTP id 31-20020a9d0822000000b00605f1807664so2126444oty.3 for ; Wed, 04 May 2022 19:25:23 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZnOPF3kLhHT3pxdKoIqWPDrlgDNrphBIZSYl1LKV7/E=; b=h3XafBA9PBkuQAjrCrgRBCJG7dJ9r8Wyr1WFUR+DZ3eG1CLuz/vNVR/xV1Zw41mIcJ vyk3Is9Kar5imsw6/27d0pFe9d4f2wihmY2UxUMqPkbSQRXRdtSqIjJ6AJ614woTZebC EMplROjmHKR909eDzE7JZCuj6HIWe2jn790pVe5Z/WTmJU9ZEuNS0kgMawHgy6a3p/DJ UO0IhIuscS3nTExHPIxT9Yzaa7z01a6qSdrN2vqwc9eLiSmCkS8tQqdpEqF+0RRx3MaI B5wDocKlrBG/mAcrZKj448GFEL1CBvKbWc0RQyTnlEjfu+bhc944LDwKR15H8i2FncC+ H8IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZnOPF3kLhHT3pxdKoIqWPDrlgDNrphBIZSYl1LKV7/E=; b=DY2QGzQEU2i9GsUtRoj0e27BGJJ69qAtty7dshPqrIL8wBxKorc6mhx4N85I7S6/kX LkgkRZItgG9GtnWEyJ6EpPMf7QxShxQ3wpq9gHTER/a2DEpIEBevR9oo8AD7v+skOPyQ YIID5LtKDQxPj0RtZPGRShhPbzHj/5gwHWsd8/4tHJp+ysT/OuRWOBfhCCM9BjYdz81u mbeNUm7R9LkIpSS1z6wk6fv9878k6WELnUuIZcW3NBMUByu9i791I7434pJzr73/NPlr 3uUzKMC0FgzPyPG+ojQPOQSiN9fp95PLyADot0WBo4DA71Zlcu355AI+g3rGtZRicZ6h Ps4w== X-Gm-Message-State: AOAM5318N6iI3EQwIbcSHCO9MrTTC/+EAh8bjoCR/aVkuikVMdka0+3m s1pbELHCeIy42dPF62xr4qWzrw== X-Received: by 2002:a05:6830:2648:b0:605:8d5c:3ca with SMTP id f8-20020a056830264800b006058d5c03camr8563258otu.331.1651717523150; Wed, 04 May 2022 19:25:23 -0700 (PDT) Received: from ripper.. (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id n8-20020a0568080a0800b00325cda1ff8csm238296oij.11.2022.05.04.19.25.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 May 2022 19:25:22 -0700 (PDT) From: Bjorn Andersson To: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/4] arm64: dts: qcom: Add LPG to pm8916, pm8994, pmi8994 and pmi8998 Date: Wed, 4 May 2022 19:27:03 -0700 Message-Id: <20220505022706.1692554-2-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220505022706.1692554-1-bjorn.andersson@linaro.org> References: <20220505022706.1692554-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add PWM/LPG nodes to the PMICs currently supported by the binding. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/pm8916.dtsi | 8 ++++++++ arch/arm64/boot/dts/qcom/pm8994.dtsi | 10 ++++++++++ arch/arm64/boot/dts/qcom/pmi8994.dtsi | 10 ++++++++++ arch/arm64/boot/dts/qcom/pmi8998.dtsi | 11 ++++++++++- 4 files changed, 38 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/pm8916.dtsi b/arch/arm64/boot/dts/qcom/pm8916.dtsi index d58902432812..99bf8387bfb6 100644 --- a/arch/arm64/boot/dts/qcom/pm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8916.dtsi @@ -125,6 +125,14 @@ pm8916_1: pmic@1 { #address-cells = <1>; #size-cells = <0>; + pm8916_pwm: pwm { + compatible = "qcom,pm8916-pwm"; + + #pwm-cells = <2>; + + status = "disabled"; + }; + pm8916_vib: vibrator@c000 { compatible = "qcom,pm8916-vib"; reg = <0xc000>; diff --git a/arch/arm64/boot/dts/qcom/pm8994.dtsi b/arch/arm64/boot/dts/qcom/pm8994.dtsi index 5ab46117d737..ab342397fcd8 100644 --- a/arch/arm64/boot/dts/qcom/pm8994.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8994.dtsi @@ -135,6 +135,16 @@ pmic@1 { #address-cells = <1>; #size-cells = <0>; + pm8994_lpg: lpg { + compatible = "qcom,pm8994-lpg"; + + #address-cells = <1>; + #size-cells = <0>; + #pwm-cells = <2>; + + status = "disabled"; + }; + pm8994_spmi_regulators: regulators { compatible = "qcom,pm8994-regulators"; }; diff --git a/arch/arm64/boot/dts/qcom/pmi8994.dtsi b/arch/arm64/boot/dts/qcom/pmi8994.dtsi index 6e7c252568e6..b1b50c99ada2 100644 --- a/arch/arm64/boot/dts/qcom/pmi8994.dtsi +++ b/arch/arm64/boot/dts/qcom/pmi8994.dtsi @@ -27,6 +27,16 @@ pmic@3 { #address-cells = <1>; #size-cells = <0>; + pmi8994_lpg: lpg { + compatible = "qcom,pmi8994-lpg"; + + #address-cells = <1>; + #size-cells = <0>; + #pwm-cells = <2>; + + status = "disabled"; + }; + pmi8994_spmi_regulators: regulators { compatible = "qcom,pmi8994-regulators"; #address-cells = <1>; diff --git a/arch/arm64/boot/dts/qcom/pmi8998.dtsi b/arch/arm64/boot/dts/qcom/pmi8998.dtsi index 0fef5f113f05..7af106683f8d 100644 --- a/arch/arm64/boot/dts/qcom/pmi8998.dtsi +++ b/arch/arm64/boot/dts/qcom/pmi8998.dtsi @@ -42,6 +42,16 @@ lab: lab { }; }; + pmi8998_lpg: lpg { + compatible = "qcom,pmi8998-lpg"; + + #address-cells = <1>; + #size-cells = <0>; + #pwm-cells = <2>; + + status = "disabled"; + }; + pmi8998_wled: leds@d800 { compatible = "qcom,pmi8998-wled"; reg = <0xd800 0xd900>; @@ -52,6 +62,5 @@ pmi8998_wled: leds@d800 { status = "disabled"; }; - }; }; -- 2.35.1