Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3482637pxk; Mon, 28 Sep 2020 20:18:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzcwnHoMDFjh8Fn4uxY0S1Tl6kRxOm5yZy6664GHqjNzkCXg6cOq/Z/8BNBcjENgoIQ2TA4 X-Received: by 2002:a17:906:71c9:: with SMTP id i9mr1787084ejk.250.1601349496042; Mon, 28 Sep 2020 20:18:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601349496; cv=none; d=google.com; s=arc-20160816; b=mwOkknKt5sD8dmpZ2iK+pV1EpEd5kZFLPFeoaTlYzO/iudoCYtWftH1oO68uenU4e9 ovpEdT/PvI+jv1d9eZxY1CcXqIJPBW5l2ZOh/k/zsQ0wVIWiWPOs/FT4s/uOuxNHseWg H0AC7wxsuiRgBR5JLv4Eb2bUl6DQUoRJvjwc8uNynB9K+MLQEn1DGoxjVPCBiPdlmJsz q0D82cg51I6jewghQVpCI0nBrT0Sjwcz9eb/ozVtuSFScvdCg0TDgNXpgbnUbU3zIjzS y40/8nSQQ6Lw/agRVI6wafH49Bu4LDNbmNqNEAUzxuIvyjFq3vXOcsCGhLGH4kv4rFNL uvmw== 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=7ukIiTp8F3sbAL+dbJDcyEcWM4OSmrW5QsAjDno80kk=; b=uGMJBOmv3GTU++oL59xGrG7jySRxeyLO0Mo4I2bsz6eQZrhe8LSc0Hvwno+zfEKrS9 ryib+3escbTKhhwqMMC/a+rpx0s9duPrxWfi/Lh13IQSuAw47IQJTJuhOpRs3OM/bYLV F8tCvjZIUqMJbUVUna9D4FRgHGTojSkMi02RXmtPoJr/sb33NXDnhswhp8i7ayhmbS5p tfgSJoC5EEBJHfvtxx2enYFmu1zZChM5G7T8oWmIYVYhIkNynCCOXCSAxNI12YlXH++8 USKASZX7iS9VBc3m0gJHkun2CW1nbUkNDFUBXard8U3BqT0OzwAPDn5hFDifW97zCaIV 1YSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nnPAC6pZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y9si1777568ejg.460.2020.09.28.20.17.43; Mon, 28 Sep 2020 20:18:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=nnPAC6pZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727484AbgI2DPC (ORCPT + 99 others); Mon, 28 Sep 2020 23:15:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727442AbgI2DOu (ORCPT ); Mon, 28 Sep 2020 23:14:50 -0400 Received: from mail-oo1-xc42.google.com (mail-oo1-xc42.google.com [IPv6:2607:f8b0:4864:20::c42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A34F2C0613DA for ; Mon, 28 Sep 2020 20:14:48 -0700 (PDT) Received: by mail-oo1-xc42.google.com with SMTP id w25so902208oos.10 for ; Mon, 28 Sep 2020 20:14:48 -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=7ukIiTp8F3sbAL+dbJDcyEcWM4OSmrW5QsAjDno80kk=; b=nnPAC6pZQHwPMTI5KD8bkHf8fYZY9MmYWVsHlSQQjSqav0u3wNZJgpc7/KnLblchWO H0AeVtySy98s0/fWJrToEx9Jxl+sMfAfPmUYh69bQ/45eS6cEerQDzypfOavEejnmBi/ C1M5F3dlrW1dRWJYCtgg/8Ob9UE7Wr4N6D6e9pKafn1KUxt9GRBtZlBh2eKBUBPAqgj5 jCL43QlOEsZLPklISAXyeaxzXAVZsu8r+jFaxbIG+uJ/Sry6tuwLfgKn5gsfj9eBJDY7 F69hjNlnbGLPLdVYsoH5vL+lCRRgxyoehdxLu/QRTGFG4XJ6Ag/WB/6YUU/cUQKTsl8T 0xBA== 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=7ukIiTp8F3sbAL+dbJDcyEcWM4OSmrW5QsAjDno80kk=; b=DERIiXLoSy0oIjO6cUN5WKzLSp/dSd2fAuhGQIpkvS/nUWwVE5uITX1dkOOCTJpkTF mCcY8Pv1CNyGItoor9Vv9w2YCM+vzpoi7sya04x/6seb6Q18TZVfNIkD6Iq02wNeiT46 vbADZN4wZHoqLFYa3pwQuKHLC/DpEXV2evet63ClmErZoMFcJvgX+r/TpEEMjxTkMEHQ U1af4KcrUnUJKGDiRBemqNSABg6V+24j5kKF1oJ5Du/RAuhdbitl1iEkTquh3ptmuIDc Rfy0EoJ7006k8IFlYKbOcIloGYItohLrmvFsFY/DN0Aby68mfCRAblOObezvNLvgqh4r Ibbw== X-Gm-Message-State: AOAM530FzWVuoSBhDdQ+8FNKPRkCnFQ4M3NGPXrMwYDAbG/eKkhui14d M1Gi3PxpVMq4VKaJdA9pn1Cs4A== X-Received: by 2002:a4a:614f:: with SMTP id u15mr3019878ooe.70.1601349287980; Mon, 28 Sep 2020 20:14:47 -0700 (PDT) Received: from localhost.localdomain (99-135-181-32.lightspeed.austtx.sbcglobal.net. [99.135.181.32]) by smtp.gmail.com with ESMTPSA id 36sm729548otb.30.2020.09.28.20.14.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Sep 2020 20:14:47 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , Bjorn Andersson Cc: Pavel Machek , Dan Murphy , Rob Herring , Thierry Reding , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Lee Jones , Martin Botka , 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 Subject: [PATCH v4 3/4] arm64: dts: qcom: msm8996: Add mpp and lpg blocks Date: Mon, 28 Sep 2020 20:15:43 -0700 Message-Id: <20200929031544.1000204-4-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200929031544.1000204-1-bjorn.andersson@linaro.org> References: <20200929031544.1000204-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The pm8994 contains a 6 LPG channels. The pmi8994 contains 4 MPP channels and a 4 channel LPG, with TRILED and LUT blocks. Add nodes for these blocks. Signed-off-by: Bjorn Andersson --- Changes since v3: - None arch/arm64/boot/dts/qcom/pm8994.dtsi | 9 +++++++++ arch/arm64/boot/dts/qcom/pmi8994.dtsi | 20 ++++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pm8994.dtsi b/arch/arm64/boot/dts/qcom/pm8994.dtsi index 7e4f777746cb..b5bef687aa3c 100644 --- a/arch/arm64/boot/dts/qcom/pm8994.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8994.dtsi @@ -86,6 +86,15 @@ pmic@1 { #address-cells = <1>; #size-cells = <0>; + pm8994_lpg: lpg { + compatible = "qcom,pm8994-lpg"; + + #address-cells = <1>; + #size-cells = <0>; + + 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..23f41328d191 100644 --- a/arch/arm64/boot/dts/qcom/pmi8994.dtsi +++ b/arch/arm64/boot/dts/qcom/pmi8994.dtsi @@ -19,6 +19,17 @@ pmi8994_gpios: gpios@c000 { interrupt-controller; #interrupt-cells = <2>; }; + + pmi8994_mpps: mpps@a000 { + compatible = "qcom,pm8994-mpp"; + reg = <0xa000>; + gpio-controller; + #gpio-cells = <2>; + interrupts = <0 0xa0 0 IRQ_TYPE_NONE>, + <0 0xa1 0 IRQ_TYPE_NONE>, + <0 0xa2 0 IRQ_TYPE_NONE>, + <0 0xa3 0 IRQ_TYPE_NONE>; + }; }; pmic@3 { @@ -27,6 +38,15 @@ pmic@3 { #address-cells = <1>; #size-cells = <0>; + pmi8994_lpg: lpg@b100 { + compatible = "qcom,pmi8994-lpg"; + + #address-cells = <1>; + #size-cells = <0>; + + status = "disabled"; + }; + pmi8994_spmi_regulators: regulators { compatible = "qcom,pmi8994-regulators"; #address-cells = <1>; -- 2.28.0