From patchwork Thu Dec 29 10:05:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 37346 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2328784wrt; Thu, 29 Dec 2022 02:19:43 -0800 (PST) X-Google-Smtp-Source: AMrXdXsn8pqYTQasa8rQT96G1HA98wXg6M/oNP+O9IbS1azvIaV8Y3Soznugz1r0PGnBCDfrbTLn X-Received: by 2002:a17:906:22d2:b0:7fc:3787:243d with SMTP id q18-20020a17090622d200b007fc3787243dmr26642241eja.53.1672309183510; Thu, 29 Dec 2022 02:19:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672309183; cv=none; d=google.com; s=arc-20160816; b=M81SkIaUCXVnbDV3Ruh5CI74/VyhNnNw4u6dH7dMonOE+55cbu2UUHJ3xEZWmtNVTM wmV38jb+Ffa52q+fOe2/GRoqFqPP/KrqECnJqx/dfQpLizQ7Xa9dHJuW7U0xTIxjKxKs 8CddTfhGp+7TW/3Nf0kth4q4qXoSvWH3UQbbByhgs85ElhWRJAily9xbPfujf5XlHU76 VWW4eBB/6WU+3mAWJ3fujQptdnOkCqQ/vaON/J5re/ogT/ueKygk7MC+sCkx8q+xT5m2 U7e3xsZHOnxjR3GvKjxKO7NDe/9VKl60RhbIn1Fm/PcSM26UWHyXBhwBf92SjAKr4ypc Ducg== 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=Vi6tcI8bHyA9S/bOSi1wpPh2ZLAvYqA78JsW9WBoa6M=; b=YHptMYSSU/IXsLUy7dDylJz7yEktoTkd1Wu6yzcj/rXYA3dIZpix/kvkQQ6dSh7yJZ 3CKBShOLiAo5E1YyEse8H9afSO7HnjYQa2KeGk72/jaCykSvI99Dkn57rEPbq7o8QIs9 p0QOKHDdlwQQSkuIhD2BdwGHLsiVr9/KLBuX4xUOJ1q/iuZLeqBAaB5+Nh0am1V8MLmy XU6d8voQbe53d3/D8WKdmD+VAwSbZkT+9o/9U0ZqlUwdngQJ6gKAXzXk3Prni4rP25gz JV1oguTOaqgOzgn4ExiHA9kJ7qz2Dt4l6bY26tpj+kH3BQguMQmDktuOvtFucgyAgJc7 WJVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yTs5cP+D; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xd11-20020a170907078b00b0084c7030c613si6279224ejb.484.2022.12.29.02.19.19; Thu, 29 Dec 2022 02:19:43 -0800 (PST) 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=yTs5cP+D; 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 S233316AbiL2KPl (ORCPT + 99 others); Thu, 29 Dec 2022 05:15:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233130AbiL2KNS (ORCPT ); Thu, 29 Dec 2022 05:13:18 -0500 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B268613F8D for ; Thu, 29 Dec 2022 02:05:18 -0800 (PST) Received: by mail-lf1-x12e.google.com with SMTP id bt23so10233105lfb.5 for ; Thu, 29 Dec 2022 02:05:18 -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=Vi6tcI8bHyA9S/bOSi1wpPh2ZLAvYqA78JsW9WBoa6M=; b=yTs5cP+DHZp/DBZjAkLQVtKuJOpND9KFE9C1Q7WRQkf9GzjnZzBcs33yzkhe5bPBAS Pkr6LODyxkEoW92e0XvZr1E8XjXrv3QlHoV43axXxQjpSw3ot64cAEvV3RmWuKFQf+0G Y7AvCUxloWX44apGMGZMIg+5lZtPpG62BzAPxsX5ged+TSI8X5hhfZDGEB2f1wtVm6X2 Bc0/95UaLoZQtnMtKrUQQo0CD95VdnKmZ2LXeg9nWNOc7KpXWHYF0zoa68MKKKE+5NRD jRGiTkhnHndR9sxTznNi39skuJVUGSsuBofbcwmdffzRvQTA+Gm+QHt0o19pZGMS2n5z enjw== 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=Vi6tcI8bHyA9S/bOSi1wpPh2ZLAvYqA78JsW9WBoa6M=; b=tk3TFlpdIbahH43Ah8FCNgKpORKIXrhUHQqOEOiZGOw5eEtXH0JaMSNyCCesL1X7va DnBkd5iyLJ66bHCp7wisEYysTIZINTM5FEiMuECm0OXo1CR/cmKt8YmzxZCWzxtbOLQY SJucCsAIU+tekxJsTghgtM/seE+Gn9BI6AMyj70XWCMsBsbxYeRAF/eXmVZsPV+ldp6n 0epAD89lNaiGxsjms31i7cZ8OsaTSK3deOeP48GcGjz8z+Pm0fBBaL6vN32rsn3NKbAE 6hv11q3RgPhFQYcfNfhRj8PsPRlcEDO/sn/i5XYOgUp4DxDOf0pVRA5K7yuOsnRw53SL hkXw== X-Gm-Message-State: AFqh2kouOhsLbS6u7Ms1rqRZq2qAcVhpBAgOwNb/4VYzzs8mZQuKQBwR ukvByTf4wPINJOz6iB8F2GbR4Q== X-Received: by 2002:a05:6512:2394:b0:4b5:987c:de3e with SMTP id c20-20020a056512239400b004b5987cde3emr12138705lfv.69.1672308317047; Thu, 29 Dec 2022 02:05:17 -0800 (PST) Received: from localhost.localdomain (abyl184.neoplus.adsl.tpnet.pl. [83.9.31.184]) by smtp.gmail.com with ESMTPSA id x2-20020a0565123f8200b004b590b0c084sm2959896lfa.3.2022.12.29.02.05.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Dec 2022 02:05:16 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Rob Herring , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/3] arm64: dts: qcom: sm8150: Add DISPCC node Date: Thu, 29 Dec 2022 11:05:09 +0100 Message-Id: <20221229100511.979972-2-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20221229100511.979972-1-konrad.dybcio@linaro.org> References: <20221229100511.979972-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753543274756698669?= X-GMAIL-MSGID: =?utf-8?q?1753543274756698669?= Years after the SoC support has been added, it's high time for it to get dispcc going. Add the node to ensure that. Tested-by: Marijn Suijten # Xperia 5 Reviewed-by: Marijn Suijten Signed-off-by: Konrad Dybcio Reviewed-by: Dmitry Baryshkov --- v1 -> v2: - Pick up tags - Remove required-opps - Move power-domains up arch/arm64/boot/dts/qcom/sm8150.dtsi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index a0c57fb798d3..c7935f7a2926 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -3579,6 +3579,29 @@ camnoc_virt: interconnect@ac00000 { qcom,bcm-voters = <&apps_bcm_voter>; }; + dispcc: clock-controller@af00000 { + compatible = "qcom,sm8150-dispcc"; + reg = <0 0x0af00000 0 0x10000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <0>, + <0>, + <0>, + <0>, + <0>, + <0>; + clock-names = "bi_tcxo", + "dsi0_phy_pll_out_byteclk", + "dsi0_phy_pll_out_dsiclk", + "dsi1_phy_pll_out_byteclk", + "dsi1_phy_pll_out_dsiclk", + "dp_phy_pll_link_clk", + "dp_phy_pll_vco_div_clk"; + power-domains = <&rpmhpd SM8150_MMCX>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + pdc: interrupt-controller@b220000 { compatible = "qcom,sm8150-pdc", "qcom,pdc"; reg = <0 0x0b220000 0 0x400>;