Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp13186784rwd; Fri, 23 Jun 2023 17:43:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ42XP/NT41+x+oSAe1fLCde1VTPcw0d+5Jn3Nox6YoDMQ4w7nWgmxEAP7F5M3T6s8uMglc6 X-Received: by 2002:a05:6a20:1442:b0:10f:9317:1539 with SMTP id a2-20020a056a20144200b0010f93171539mr12576927pzi.32.1687567415544; Fri, 23 Jun 2023 17:43:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687567415; cv=none; d=google.com; s=arc-20160816; b=KTaV2XEihzaHfH/ijwnA40YR8KvGxfkyL+eKYik87KlPJ6ku+4vRX6Y1UlPWwFHimJ VUem2G2q/yVoh0xSamhupsHu6zk8ZZu31Wq65ARIFcSSSl1LoggDj5kY7Vq51GffyArX rLHkZYVntk8SnkjkFqsNIOge+9PQRfBFNpXtCs0RV8ZCG3HIRycjdxhhm6QCPy6XvJUF By59+ilOBcerLK7aw0HkOBAt0nupx68k/5uJH1A1tMKNZuOmVXoRKk6RF74PZcLPB2Up 0/9D8qNsh2iAAvLcM5InChpf9h0Kp1AGfKxiZXLkbKqYrn93Fbi5EUZ/c4SWnFO09+wo JCTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from; bh=91ioSvOTk5D8RVdD5K4SOBeMnC3zPUUI4RZzWF2a7C8=; fh=OfzUp+OcwbFUfZC2mGhS6GGXsXqM7NhjMWKyOt4HPQU=; b=Bgcg6x1MXstSu6KwrDSRhQgFzrqQk3ICyDLVJu9GuxnjNJbeTYLSfuvzTQlNvhOpjX noRh0y53qYqyCQ2jgwCgl3YiC9+cTpMAcUFOK+pZaFg+bcIty5fVMRPzv+UYbGpYdbbS ImSiD2s41uxSic8oo181VnKqFCe8X8YIjeWzEoi4caDn5AfQvWr1B+GXWRpXY6oL5Kv2 bE+QuvPg48POkdbpYAL+VEZxflyGzB9dQ8jBXEEGBAzA6UpuWv4d2vLimsJ4PUF31rKm Me57Ncfd4/eOUaXAgKxFvaPhJFyi8xXUJQJUkgozVaG4UIcvB/g2fCYmlS+CW9P2LwBh j3cg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i6-20020a170902c94600b001a95d336558si315790pla.594.2023.06.23.17.43.23; Fri, 23 Jun 2023 17:43:35 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232591AbjFXAmL (ORCPT + 99 others); Fri, 23 Jun 2023 20:42:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232276AbjFXAlb (ORCPT ); Fri, 23 Jun 2023 20:41:31 -0400 Received: from relay06.th.seeweb.it (relay06.th.seeweb.it [IPv6:2001:4b7a:2000:18::167]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F3BE2957 for ; Fri, 23 Jun 2023 17:41:19 -0700 (PDT) Received: from Marijn-Arch-PC.localdomain (94-211-6-86.cable.dynamic.v4.ziggo.nl [94.211.6.86]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id AF3003F858; Sat, 24 Jun 2023 02:41:16 +0200 (CEST) From: Marijn Suijten Date: Sat, 24 Jun 2023 02:41:11 +0200 Subject: [PATCH 13/15] arm64: dts: qcom: sm6125: Add dispcc node MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230624-sm6125-dpu-v1-13-1d5a638cebf2@somainline.org> References: <20230624-sm6125-dpu-v1-0-1d5a638cebf2@somainline.org> In-Reply-To: <20230624-sm6125-dpu-v1-0-1d5a638cebf2@somainline.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Krishna Manikandan Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Jami Kettunen , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, Lux Aliaga , Marijn Suijten X-Mailer: b4 0.12.2 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Enable and configure the dispcc node on SM6125 for consumption by MDSS later on. Signed-off-by: Marijn Suijten --- arch/arm64/boot/dts/qcom/sm6125.dtsi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6125.dtsi b/arch/arm64/boot/dts/qcom/sm6125.dtsi index edb03508dba3..7d78b4e48ebe 100644 --- a/arch/arm64/boot/dts/qcom/sm6125.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6125.dtsi @@ -3,6 +3,7 @@ * Copyright (c) 2021, Martin Botka */ +#include #include #include #include @@ -1203,6 +1204,28 @@ sram@4690000 { reg = <0x04690000 0x10000>; }; + dispcc: clock-controller@5f00000 { + compatible = "qcom,sm6125-dispcc"; + reg = <0x05f00000 0x20000>; + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, + <0>, + <0>, + <0>, + <0>, + <0>, + <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>; + clock-names = "bi_tcxo", + "gcc_disp_gpll0_div_clk_src", + "dsi0_phy_pll_out_byteclk", + "dsi0_phy_pll_out_dsiclk", + "dsi1_phy_pll_out_dsiclk", + "dp_phy_pll_link_clk", + "dp_phy_pll_vco_div_clk"; + power-domains = <&rpmpd SM6125_VDDCX>; + #clock-cells = <1>; + #power-domain-cells = <1>; + }; + apps_smmu: iommu@c600000 { compatible = "qcom,sm6125-smmu-500", "qcom,smmu-500", "arm,mmu-500"; reg = <0x0c600000 0x80000>; -- 2.41.0