From patchwork Thu Apr 29 21:15:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 429271 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp1953396jao; Thu, 29 Apr 2021 14:15:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6RXGvXCAfaH4qLFP5LwqHGrQfZNuj3+lpSr9dR+5fbDSjl1uYKAfl3erBQaO2Y3f3ddOk X-Received: by 2002:a62:8389:0:b029:27d:28f4:d583 with SMTP id h131-20020a6283890000b029027d28f4d583mr1731471pfe.33.1619730928288; Thu, 29 Apr 2021 14:15:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619730928; cv=none; d=google.com; s=arc-20160816; b=WHsxltR40+8e1QWPqTPwNeFbdsxz53QE/K9Ef0Od+HgPJNutZWlGq2Dpd9nRdyRLjz GoY/HVw1wtV/hkx7iVhowFItVBq7zX0rc4B5Zwup3r6QqUCxyzsPe7D/B56oEtEBDWGP IimRYgCzESxZAKTh8gwTZ5Lom4oxhNnxgDIvSiZ4S+nw87yEsSaMy7vrHLRP5JP8+/G2 0nTDod68O+uamiSbOtDY+GewtYwqOUQMRV2seaRcsXiD3HIDKp7H5egWbuiZs7ridq6c jkaflDysZIcZVPB9VUTuz7x3BYzjn99v4IlPhJlsE0uL2pY0voxbW765TqcJ1lUeijvx wvoA== 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=tsKgUNXVkGSV16m25rstq3CPA/gSdKXqhwk9cYckag4=; b=A+M9u7tpFm/EfO+XDrqmyFi+GlMK3xDdJyhb+xZUPslNoO6EhuSh5pk+PyADXkLaar t8VDgXns4Vhz9s3TfTfYFuTX5mk//ZFUXpW4WHOCgGwB0lcBUqqokwfLlgT0rPkxkwY5 q1ZGcIyAzQu61+OUtpsqpk+b1OKBYZZ3uu/NXch+gP3E1hGB9lpszdoQsIySirIrznYk 4ejW4BWhpVClheBZwdn3ULWwxb2nhud4K0AvzTsBvrrFvDsc+49nkHKAT25luUXLWfP1 JdNKYu63nIXvdM2c+9P0yaX5jMsGhJZTZ/SwZYD1puyl7dP83MeNklllMSNSH1DqTD0s Fanw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XTZkSmSl; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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. [23.128.96.18]) by mx.google.com with ESMTP id b15si4596144pfl.74.2021.04.29.14.15.28 for ; Thu, 29 Apr 2021 14:15:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XTZkSmSl; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 S237190AbhD2VQH (ORCPT ); Thu, 29 Apr 2021 17:16:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237088AbhD2VQG (ORCPT ); Thu, 29 Apr 2021 17:16:06 -0400 Received: from mail-ot1-x32a.google.com (mail-ot1-x32a.google.com [IPv6:2607:f8b0:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF05CC06138B for ; Thu, 29 Apr 2021 14:15:18 -0700 (PDT) Received: by mail-ot1-x32a.google.com with SMTP id z25-20020a9d65d90000b02902a560806ca7so3954201oth.11 for ; Thu, 29 Apr 2021 14:15:18 -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=tsKgUNXVkGSV16m25rstq3CPA/gSdKXqhwk9cYckag4=; b=XTZkSmSldMj2DthYQn68iIY0GQk/RayHkBNO8nBqBkHe7X1YKbV2ojbkU7S/tS7PB8 oKn6Sa0re/qA3YkVmWAHsYGK6zmTU40L2PXEeWcWlmbzUmJxMc7GmJ7Uhwk7R+EbzbGR 5RDaf4uVeSRoS76x2p7Fq/gij5ar4dX/VfA9ECmUHMApmYOZWX6UPMQY0shRFpyQJHSO Az4sulYgg2ZGXOKfmoAVTITn1Ls6SI9qXsABB1nERrIlGqaVsX39KhUIWpehsKDk0OMh 95mxG4jEbg6sESUYl1bcPFB6NegMEBmm2qrNH2KI/cmwsryZ+kE/EfOivfzX7sJ0wEIJ zhFw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=tsKgUNXVkGSV16m25rstq3CPA/gSdKXqhwk9cYckag4=; b=k86QiYKP9NyFxdb7+UaZhG/ITFnGUylyBZBPpCiy7GR+PzaUYXglWC5KpnCpeU24D+ 8Y6IxH8WfKhxEWSdy1lmHXX4mcQQBObCY0Aj9uP+rUj6jE1I1/RUuGp9a1l/pG5dRvXY bgKQ4gFaT1Djwcz9mCbrZvJ+8XpAB67RhsRZ572dmo3KUSDw1bno1KyCB/5YY73lKQBS FzslE2viUrLMyJVdXhYwmy0TL1da9hGEuUYHHzyfp3IJx4BaCUAlZP/75VPM63pUD/UH K6F4G3jBcfMd3JCRUEd+9szb1gazOVN55pUncPR607kuOgw5TeUxvEAqiH+aY3dSDpdO 7ytw== X-Gm-Message-State: AOAM533jBfPbovAvNrtcrxIbbe7Zx8KoJDtGrgFFjWI/Ilkc10uEZLqN 77Ut9YHzGccbM1BrVEj2A6XuXA== X-Received: by 2002:a9d:4e05:: with SMTP id p5mr1087643otf.264.1619730918199; Thu, 29 Apr 2021 14:15:18 -0700 (PDT) Received: from localhost.localdomain (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id y67sm242707otb.1.2021.04.29.14.15.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Apr 2021 14:15:17 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , Bjorn Andersson Cc: Pavel Machek , Rob Herring , Thierry Reding , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Lee Jones , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-pwm@vger.kernel.org, Marijn Suijten , Yassine Oudjana , Luca Weiss , Subbaraman Narayanamurthy Subject: [PATCH v7 3/6] arm64: dts: qcom: Add LPG to pm8916, pm8994, pmi8994 and pmi8998 Date: Thu, 29 Apr 2021 14:15:14 -0700 Message-Id: <20210429211517.312792-4-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210429211517.312792-1-bjorn.andersson@linaro.org> References: <20210429211517.312792-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Add PWM/LPG nodes to the PMICs currently supported by the binding. Signed-off-by: Bjorn Andersson --- Changes since v6: - Extended patch to cover all the supported (arm64) PMICs 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 | 10 ++++++++++ 4 files changed, 38 insertions(+) -- 2.29.2 diff --git a/arch/arm64/boot/dts/qcom/pm8916.dtsi b/arch/arm64/boot/dts/qcom/pm8916.dtsi index f931cb0de231..db973e4ef9d3 100644 --- a/arch/arm64/boot/dts/qcom/pm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8916.dtsi @@ -119,6 +119,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 c3876c82c874..9386cf12867d 100644 --- a/arch/arm64/boot/dts/qcom/pm8994.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8994.dtsi @@ -134,6 +134,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 e5ed28ab9b2d..b118e87ef59e 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 d230c510d4b7..a600c25d6667 100644 --- a/arch/arm64/boot/dts/qcom/pmi8998.dtsi +++ b/arch/arm64/boot/dts/qcom/pmi8998.dtsi @@ -41,5 +41,15 @@ lab: lab { interrupt-names = "sc-err", "ocp"; }; }; + + pmi8998_lpg: lpg { + compatible = "qcom,pmi8998-lpg"; + + #address-cells = <1>; + #size-cells = <0>; + #pwm-cells = <2>; + + status = "disabled"; + }; }; };