From patchwork Tue Nov 29 20:46:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Skladowski X-Patchwork-Id: 13059185 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 269C1C433FE for ; Tue, 29 Nov 2022 20:47:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 75FE210E390; Tue, 29 Nov 2022 20:47:00 +0000 (UTC) Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3ABD610E09D; Tue, 29 Nov 2022 20:46:56 +0000 (UTC) Received: by mail-lj1-x234.google.com with SMTP id z24so18651376ljn.4; Tue, 29 Nov 2022 12:46:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=bc2wd09Vf93CqCZ4OitfPPdDRgWz7evH44zLSPOfnkw=; b=Goy5X3TGbfRaFrdqc6vQC+dVOU5SDvgc//B7vrY+xmhxApivyBX6X6g0CsQL1U+12f AklX7NKyRYGyQT1piHT03Obs5wzFoHeS4Lg/jVbknKveBoB7WDmuYJqBkveGjeFUFjbk 7nNoMc9RkNfL1IMI9q3YL5Yy/IuQrABXcXajqjV+aozEK+sYUQCswoHeoV+LyE6oz7vd VhkwBdBBz/JlWsJEzTht/1rPwvkPUWRqtflSOJ6DSa43ONxG1EiAlPTC/VDatnpdL2nf haFvMzty+TFL6AzeVLysm5R/8xUNTbZVi5cKc+XaFKBanW7yz6YuiPuul0nirgYizT5U n5HQ== 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=bc2wd09Vf93CqCZ4OitfPPdDRgWz7evH44zLSPOfnkw=; b=sr4QaCfw0EtGApKDLR6OMbF/tmGsFM+nNrQ5UUBHuSU1FQZTF8m4bPgfubpRaymKPC b56JYkjXOV6Hnzsbx8Be5yxev9z6UsJiIMgXfDVw6bkLcyPfnd5VDYFCHvv8IZEV1nSq J1+IcbvD0nLtWXB0rLusjWVl7TRCgXDJffzfHLJPQdmkljCN4TZ77pvkzt3OTMeBqxcR 0mjmlmnwB6s6W5OOBf3FnshqNu9YONe/jriZZZ6yb1UWBsROsuOYxdUWQ88e0rRTHZQ1 RXkjRCWECJuRPi+Ro6dn6GdkFsdaTHzxzy5jwO3zchYU8/rCbNj020UlK/aIKP4WBhYl a+fw== X-Gm-Message-State: ANoB5pkhtluoyEujGTgTUVTT0hIlxvyFUGlIdcdeH/1SpyFDdtOTh20K Dv2cOlLEe5WovUEJlXGqK2w= X-Google-Smtp-Source: AA0mqf50ce6u/oMNPHzvmd0XckXmqYwp8E3XMboa2j9FJlBeVEF4COF+erao2NEaj7JiigRUIyS8UA== X-Received: by 2002:a2e:9c45:0:b0:26f:bd73:489b with SMTP id t5-20020a2e9c45000000b0026fbd73489bmr15874760ljj.478.1669754814273; Tue, 29 Nov 2022 12:46:54 -0800 (PST) Received: from localhost.localdomain (ccy110.neoplus.adsl.tpnet.pl. [83.30.148.110]) by smtp.gmail.com with ESMTPSA id o11-20020ac24e8b000000b004ae24368195sm2325620lfr.233.2022.11.29.12.46.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Nov 2022 12:46:53 -0800 (PST) From: Adam Skladowski To: Subject: [PATCH 01/12] dt-bindings: display: msm: Replace mdss with display-subsystem Date: Tue, 29 Nov 2022 21:46:05 +0100 Message-Id: <20221129204616.47006-2-a39.skl@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221129204616.47006-1-a39.skl@gmail.com> References: <20221129204616.47006-1-a39.skl@gmail.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Rafael J. Wysocki" , Amit Kucheria , dri-devel@lists.freedesktop.org, Krzysztof Kozlowski , phone-devel@vger.kernel.org, Daniel Lezcano , Andy Gross , Zhang Rui , devicetree@vger.kernel.org, Thara Gopinath , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Adam Skladowski , Abhinav Kumar , Rob Herring , ~postmarketos/upstreaming@lists.sr.ht, Sean Paul , Loic Poulain , Bjorn Andersson , linux-kernel@vger.kernel.org, Konrad Dybcio , Dmitry Baryshkov , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Follow other YAMLs and replace mdss name. Signed-off-by: Adam Skladowski --- .../devicetree/bindings/display/msm/qcom,qcm2290-mdss.yaml | 2 +- .../devicetree/bindings/display/msm/qcom,sm6115-mdss.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/display/msm/qcom,qcm2290-mdss.yaml b/Documentation/devicetree/bindings/display/msm/qcom,qcm2290-mdss.yaml index d6f043a4b08d..4795e13c7b59 100644 --- a/Documentation/devicetree/bindings/display/msm/qcom,qcm2290-mdss.yaml +++ b/Documentation/devicetree/bindings/display/msm/qcom,qcm2290-mdss.yaml @@ -72,7 +72,7 @@ examples: #include #include - mdss@5e00000 { + display-subsystem@5e00000 { #address-cells = <1>; #size-cells = <1>; compatible = "qcom,qcm2290-mdss"; diff --git a/Documentation/devicetree/bindings/display/msm/qcom,sm6115-mdss.yaml b/Documentation/devicetree/bindings/display/msm/qcom,sm6115-mdss.yaml index a86d7f53fa84..886858ef6700 100644 --- a/Documentation/devicetree/bindings/display/msm/qcom,sm6115-mdss.yaml +++ b/Documentation/devicetree/bindings/display/msm/qcom,sm6115-mdss.yaml @@ -62,7 +62,7 @@ examples: #include #include - mdss@5e00000 { + display-subsystem@5e00000 { #address-cells = <1>; #size-cells = <1>; compatible = "qcom,sm6115-mdss"; From patchwork Tue Nov 29 20:46:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Skladowski X-Patchwork-Id: 13059192 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2A036C4167B for ; Tue, 29 Nov 2022 20:47:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0BBD810E3E6; Tue, 29 Nov 2022 20:47:29 +0000 (UTC) Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by gabe.freedesktop.org (Postfix) with ESMTPS id 648DC10E09D; Tue, 29 Nov 2022 20:46:58 +0000 (UTC) Received: by mail-lf1-x12a.google.com with SMTP id d6so23888356lfs.10; Tue, 29 Nov 2022 12:46:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=L0asAoMqwEnbLM8XD1/hLqCKMeXNAQ5meWtedT2j2eo=; b=mC4SrMSQU9Ksm7Z9Zz4jeSxnSoYtCEjCxvFktqIAj+LxH95z+9D/kcRn/sivbsj0pJ m6Ef20QJ3hJyPV0SpJr8TSDW0iofCGBAHDv+HSRNVa9CKihjvv6DQlXDRkP3olec+3iZ AxyBeHJcfmXbdDZrzOn5AaGQTga/gLhTz62cOY75YE0ftZypE9KiTXIJae8IggVONOl/ 2rx7e5gD9MvqzMaSNEWba2lUja6yHzCHFb5ptxvvShDAfHGIGobYrW0D6IK24q+rv5cY JgG44YqwSbFbhA4htr5UgOCHOAjhzoIZRdHlHLo8HPi9rdJdFUbMbPEJvy2f+LbtvZ3Z iW2A== 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=L0asAoMqwEnbLM8XD1/hLqCKMeXNAQ5meWtedT2j2eo=; b=7HpbNkdAcOuD7WASctREmQzuYmwCl19hfUiDN4o/zOu8PowCZpconLLNdAYiZOJmwv WlCRBYCeuUsK1IEuy8wVUl8ayU6jUCG5HoqNVEhdGsaCrs3Fx/v1br0n3YNeXdaHGDum t+zzFPu5FQ1qwVZNjNegk8x2Ipvptdu+Hayt0Zd7rApjHVSyWrGfCRZhlRqbSWVyvRqE UxIKfEC7c73I7P2B+hKc3sfwftWJiubsFjoq3W9uuSX/RulMvynWDqzv+GYtOHH25hXJ HFlPTfDljP9mII+a9JcYB/duSjV6+sFnGqDiSBtRhCoR66xTcQ/vCgzotTou8dnI0U+S /bWg== X-Gm-Message-State: ANoB5plWhNPOpiGY7TPoXx4V0XVL7yLRKrmVdMdyH+WYy99BUNZa3Zch ZAXS1R9i5h9YJtveiEcUKvY= X-Google-Smtp-Source: AA0mqf4sjfz5XraQ8YjoH//addmVdAEiibnccbFxPDlqD/xvyEbpMKoICP3OOzm3EoNjkzLiIeTwEg== X-Received: by 2002:a19:674a:0:b0:4b1:3931:af with SMTP id e10-20020a19674a000000b004b1393100afmr15582699lfj.394.1669754816507; Tue, 29 Nov 2022 12:46:56 -0800 (PST) Received: from localhost.localdomain (ccy110.neoplus.adsl.tpnet.pl. [83.30.148.110]) by smtp.gmail.com with ESMTPSA id o11-20020ac24e8b000000b004ae24368195sm2325620lfr.233.2022.11.29.12.46.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Nov 2022 12:46:56 -0800 (PST) From: Adam Skladowski To: Subject: [PATCH 02/12] dt-bindings: thermal: tsens: Add SM6115 compatible Date: Tue, 29 Nov 2022 21:46:06 +0100 Message-Id: <20221129204616.47006-3-a39.skl@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221129204616.47006-1-a39.skl@gmail.com> References: <20221129204616.47006-1-a39.skl@gmail.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Rafael J. Wysocki" , Amit Kucheria , dri-devel@lists.freedesktop.org, Krzysztof Kozlowski , phone-devel@vger.kernel.org, Daniel Lezcano , Andy Gross , Zhang Rui , devicetree@vger.kernel.org, Thara Gopinath , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Adam Skladowski , Abhinav Kumar , Rob Herring , ~postmarketos/upstreaming@lists.sr.ht, Sean Paul , Loic Poulain , Bjorn Andersson , linux-kernel@vger.kernel.org, Konrad Dybcio , Dmitry Baryshkov , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Document compatible for tsens on Qualcomm SM6115 platform according to downstream dts it ship v2.4 of IP Signed-off-by: Adam Skladowski Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/thermal/qcom-tsens.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml index 038d81338fcf..c41fcf404117 100644 --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml @@ -53,6 +53,7 @@ properties: - qcom,sc8280xp-tsens - qcom,sdm630-tsens - qcom,sdm845-tsens + - qcom,sm6115-tsens - qcom,sm6350-tsens - qcom,sm8150-tsens - qcom,sm8250-tsens From patchwork Tue Nov 29 20:46:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Skladowski X-Patchwork-Id: 13059194 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EFBBAC433FE for ; Tue, 29 Nov 2022 20:47:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4AD1610E3BE; Tue, 29 Nov 2022 20:47:31 +0000 (UTC) Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by gabe.freedesktop.org (Postfix) with ESMTPS id B001610E388; Tue, 29 Nov 2022 20:47:00 +0000 (UTC) Received: by mail-lj1-x234.google.com with SMTP id q7so18632969ljp.9; Tue, 29 Nov 2022 12:47:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=tSu1txevdRDvf+sjHpSwkWYMoyBAXs2clWWE081Dl98=; b=k4BZ95Py3bK6fYlB1MFLHgwl9yftQvPDe7FUCSwJx9NQx9uYWGh2Nziw+P2NhPKGya Z5zHfkIB9YbpADkcqcowkrxPJ+oVd6yHlvjUDbqEhDjUi8jzfVIm/jfrFBK7mNs5aTHC 9meg/WDqrTCZO+Ty6MprnrssnMy5RcK/VSagXAMtMMgo/df0Sr4c8K4+sWZ0lLuOTqQS gm4gyRPHU7Zg7wwfZzG+7BCxrh3M2Vf+8P+MXZPOQiHNy1Gcrj689hKYVCLHs9qyeT+s KaeVmMq8JTxedXK3T5f0Pw7SqhuZJeNUYfiMQw7hYzf5I35gbXmU3OXMmRcOI1qeVq0j D10Q== 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=tSu1txevdRDvf+sjHpSwkWYMoyBAXs2clWWE081Dl98=; b=ztdgG2mnQ5I6OcjXBOnSy3gcHLzCNTKxR3OIGUVEk5vU+QoqTlGUUZqoa0mon0QBNi NoL8JBH5NpWTYAeNkcUdEnmOzmXHpgAe8Sia/nmQjXY2TPLmqqdbSPCCgQ/oJbWdJJmB o6whc5JW+aTK4sVUkRgzRMpNVb3z+qXA2NBpJWIwUqaoJea/UoePnI+iNaEWEPbsFzAA lowK5P76cEtpdxyZsH9xaI9yvgj466IpXeFYQMAWIlsV9YYFpFisiBEOt9a1FE7EXqwV 1X0qSPGGT4jLdhxhifVGpH5bWiOM1reK69Rriv/+4D/eO/VLxXr9M8UlTmxB3r4mlYcx kcbA== X-Gm-Message-State: ANoB5pnxv02ZjS+qDi0kzwx99JJxKEw0qcxGd0mlQ2fMUun8/LWRi5++ CGO1EVkAsVwH4THua08hnG2W0X4hsBo= X-Google-Smtp-Source: AA0mqf6b4m0gfYTm1LbzzS6QI5kunJ/QHByp8GuyhrqWdvKwvyEVcGMVdWoL+KA45eTUcnkhZEpDGA== X-Received: by 2002:a2e:8619:0:b0:279:88ce:468f with SMTP id a25-20020a2e8619000000b0027988ce468fmr9177924lji.312.1669754818712; Tue, 29 Nov 2022 12:46:58 -0800 (PST) Received: from localhost.localdomain (ccy110.neoplus.adsl.tpnet.pl. [83.30.148.110]) by smtp.gmail.com with ESMTPSA id o11-20020ac24e8b000000b004ae24368195sm2325620lfr.233.2022.11.29.12.46.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Nov 2022 12:46:58 -0800 (PST) From: Adam Skladowski To: Subject: [PATCH 03/12] arm64: dts: qcom: sm6115: Add cpufreq-hw support Date: Tue, 29 Nov 2022 21:46:07 +0100 Message-Id: <20221129204616.47006-4-a39.skl@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221129204616.47006-1-a39.skl@gmail.com> References: <20221129204616.47006-1-a39.skl@gmail.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Rafael J. Wysocki" , Amit Kucheria , dri-devel@lists.freedesktop.org, Krzysztof Kozlowski , phone-devel@vger.kernel.org, Daniel Lezcano , Andy Gross , Zhang Rui , devicetree@vger.kernel.org, Thara Gopinath , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Adam Skladowski , Abhinav Kumar , Rob Herring , ~postmarketos/upstreaming@lists.sr.ht, Sean Paul , Loic Poulain , Bjorn Andersson , linux-kernel@vger.kernel.org, Konrad Dybcio , Dmitry Baryshkov , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add cpufreq-hw node and assign qcom,freq-domain properties to CPUs to enable CPU clock scaling. Signed-off-by: Adam Skladowski --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 0340ed21be05..2003a2519a54 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -842,6 +842,17 @@ intc: interrupt-controller@f200000 { redistributor-stride = <0x0 0x20000>; interrupts = ; }; + + cpufreq_hw: cpufreq@f521000 { + compatible = "qcom,cpufreq-hw"; + reg = <0x0f521000 0x1000>, <0x0f523000 0x1000>; + + reg-names = "freq-domain0", "freq-domain1"; + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&gcc GPLL0>; + clock-names = "xo", "alternate"; + + #freq-domain-cells = <1>; + }; }; timer { From patchwork Tue Nov 29 20:46:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Skladowski X-Patchwork-Id: 13059191 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E9519C4708A for ; Tue, 29 Nov 2022 20:47:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2662C10E3E7; Tue, 29 Nov 2022 20:47:29 +0000 (UTC) Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9EEFE10E100; Tue, 29 Nov 2022 20:47:02 +0000 (UTC) Received: by mail-lj1-x22f.google.com with SMTP id a7so18627275ljq.12; Tue, 29 Nov 2022 12:47:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=krQiwNIU1oFRdpbjQQ+MleaQuhQqE8OwDSXusURqx9Y=; b=RdETuYO3X/KpK5+RBMsxnPqzsHiwNIa9vB/SnoG99t5NLaUm5jq6e9CnJINRRBgXr8 QZJic4W2bIJbjmOGwnGY4NRiKpwaH2linOQwaspOjcT+2H3xzhV3ZvssIQZ0/h7nWnXk H3ZDySMz1tTWe7b9WtT2bEg9rdCvBrXO2GvO9cMRAnrQgFzCmamNF9tWc6cmstm9E0VT /KHlBGwoX4Qd87RPg2g+jKMDJ77sAKwqL2+wVR+dr96f4uvHzrAhWmhmAcXTCTiBRdZ1 JQJBbE8MpIr6ji3iBi8p42KqMLYHFtygrXAagqYBSbi4P5a6nBnD6zzvpeMhnQp2dAuy WPHQ== 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=krQiwNIU1oFRdpbjQQ+MleaQuhQqE8OwDSXusURqx9Y=; b=SdOmVnXgFJkqgWPPnTwOkqBn6E/nUFbOQHqTtsbMb/cfJSGvJrZS3ONfqRNgwl8XgE K+KgLaILbRHpheQqQQPfNcrkuzUKFZA4NgqzsawVeKGs/m5Rtc36X28sB5usU4sXMNH2 eDT1xhwaE6hGgLs6NAMjYZouVlMQUrReenPMLynTbqSuAsB6yannzh62hHUevkvAk5Q+ OiugJfI8zy/td09VSoc94ikZqg1579SMhKEkd3okxNOYW74R+qBvZDZMp05TzQl4Sgv4 qiTmeeaH8Go2ySDbcHSib0ME+vtldqxvTQ+cVsEjbsVmDVMVhJuKBFObk+1dwSHpab2K 4mqA== X-Gm-Message-State: ANoB5pm/gtaOvj8vahF447jhsGHavjAndwMZdH3f2E1jRwAkxT5SP97u LgPtpmaUHGtZ5Yd5OViMyUM= X-Google-Smtp-Source: AA0mqf5N0tM4H9nHiMIyzYDHGbwPtDomQY7QeoEp3WC+kPqU5HB8lUqyxzLX0IOMP7k5A4cEkHVzCQ== X-Received: by 2002:a2e:a888:0:b0:277:794:cb84 with SMTP id m8-20020a2ea888000000b002770794cb84mr13023469ljq.7.1669754820922; Tue, 29 Nov 2022 12:47:00 -0800 (PST) Received: from localhost.localdomain (ccy110.neoplus.adsl.tpnet.pl. [83.30.148.110]) by smtp.gmail.com with ESMTPSA id o11-20020ac24e8b000000b004ae24368195sm2325620lfr.233.2022.11.29.12.46.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Nov 2022 12:47:00 -0800 (PST) From: Adam Skladowski To: Subject: [PATCH 04/12] arm64: dts: qcom: sm6115: Add TSENS node Date: Tue, 29 Nov 2022 21:46:08 +0100 Message-Id: <20221129204616.47006-5-a39.skl@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221129204616.47006-1-a39.skl@gmail.com> References: <20221129204616.47006-1-a39.skl@gmail.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Rafael J. Wysocki" , Amit Kucheria , dri-devel@lists.freedesktop.org, Krzysztof Kozlowski , phone-devel@vger.kernel.org, Daniel Lezcano , Andy Gross , Zhang Rui , devicetree@vger.kernel.org, Thara Gopinath , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Adam Skladowski , Abhinav Kumar , Rob Herring , ~postmarketos/upstreaming@lists.sr.ht, Sean Paul , Loic Poulain , Bjorn Andersson , linux-kernel@vger.kernel.org, Konrad Dybcio , Dmitry Baryshkov , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add nodes required for TSENS block using the common qcom,tsens-v2 binding. Signed-off-by: Adam Skladowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 2003a2519a54..decbf7ca8a03 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -515,6 +515,17 @@ spmi_bus: spmi@1c40000 { #interrupt-cells = <4>; }; + tsens0: thermal-sensor@4410000 { + compatible = "qcom,sm6115-tsens", "qcom,tsens-v2"; + reg = <0x04411000 0x1ff>, /* TM */ + <0x04410000 0x8>; /* SROT */ + #qcom,sensors = <16>; + interrupts = , + ; + interrupt-names = "uplow", "critical"; + #thermal-sensor-cells = <1>; + }; + rpm_msg_ram: sram@45f0000 { compatible = "qcom,rpm-msg-ram"; reg = <0x045f0000 0x7000>; From patchwork Tue Nov 29 20:46:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Skladowski X-Patchwork-Id: 13059193 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3BC6AC433FE for ; Tue, 29 Nov 2022 20:47:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A7A2110E3EE; Tue, 29 Nov 2022 20:47:30 +0000 (UTC) Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by gabe.freedesktop.org (Postfix) with ESMTPS id E19A810E393; Tue, 29 Nov 2022 20:47:04 +0000 (UTC) Received: by mail-lj1-x235.google.com with SMTP id z4so18663277ljq.6; Tue, 29 Nov 2022 12:47:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=4V4btdZ021QBWvTUZ+qLEZ0zz7lZW+zNWyf+w01hNLo=; b=EgnIx1O2QIPIuC0LwlxMAf68zqiD0+BC32rDwGwQc7QHDUyP5aiXahCnfEN5jMqlDF VIvG7rLtwo0+oXpoz2eIGYdAMQT6dAeGzyYfYTUqiIulQttebwhBtMWug/a20Mlja7Kk yzFzN8TnqOvkBRMnUnn1sYDbYNCip53wPfQvGyG5aAGAzeawp439DxlYeEbSevLDBXF+ uOxvxshIeN/0bMv5hhLXyV3xP9iDE+TWm7hEh5eji1F9gGpitRGjdPNjbvle2bZFziGR elMaY0PyZWbVc+q/wxOIRWIbZDGjh0ZfDCRdGbZ9lv3y8V7MC5PeNBRP739eiUEy6IbW jHLw== 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=4V4btdZ021QBWvTUZ+qLEZ0zz7lZW+zNWyf+w01hNLo=; b=jdfFbQ1nKSEWqa39Np3VmnR6qrqTb3FMXhZk6M1GtbrnvupG4NSfW1geChHdDvLomt J0S4/ZQDbxgO9H0i6hTYTmJy/El8hcrvdTtLAOcjBVGN1/ap+3skEldJDG6zwsxbxtOa xyq2BbP6P2Sa2azJIs11bUaJ+QJfJhFmQeUp1sIYPxZn9eFuXUZRO/PdQMaiQos0lcrd BSIoLEYT1cHroZ/EqP0u/o4kHH5tsMGb5+hBi7/6RuIRpEkHrOSzbiLasOorxcR9boKB HN7jtsTJ8dBzzUEYpGdKWR/XnV4O8nCzocMUuqER9nr9Eidy7MLd41z9kfgn0fvA0AYL F4Iw== X-Gm-Message-State: ANoB5pmNtVMSJCUbUlEodtYBIlZ6VUeqU+q4zdJwcXyJQJ4bLoo1QcuU zjrbrHjkgjWojDpD+WQ1rLE= X-Google-Smtp-Source: AA0mqf7eNNhkr2pDGEbrk1tEPverJ+Gcl1qRU601XnJDNyP+wBq3uZ21nEQAFL+J2MakL9tZLwE8xQ== X-Received: by 2002:a05:651c:b99:b0:277:c41:d44b with SMTP id bg25-20020a05651c0b9900b002770c41d44bmr13480690ljb.326.1669754823149; Tue, 29 Nov 2022 12:47:03 -0800 (PST) Received: from localhost.localdomain (ccy110.neoplus.adsl.tpnet.pl. [83.30.148.110]) by smtp.gmail.com with ESMTPSA id o11-20020ac24e8b000000b004ae24368195sm2325620lfr.233.2022.11.29.12.47.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Nov 2022 12:47:02 -0800 (PST) From: Adam Skladowski To: Subject: [PATCH 05/12] arm64: dts: qcom: sm6115: Add PRNG node Date: Tue, 29 Nov 2022 21:46:09 +0100 Message-Id: <20221129204616.47006-6-a39.skl@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221129204616.47006-1-a39.skl@gmail.com> References: <20221129204616.47006-1-a39.skl@gmail.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Rafael J. Wysocki" , Amit Kucheria , dri-devel@lists.freedesktop.org, Krzysztof Kozlowski , phone-devel@vger.kernel.org, Daniel Lezcano , Andy Gross , Zhang Rui , devicetree@vger.kernel.org, Thara Gopinath , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Adam Skladowski , Abhinav Kumar , Rob Herring , ~postmarketos/upstreaming@lists.sr.ht, Sean Paul , Loic Poulain , Bjorn Andersson , linux-kernel@vger.kernel.org, Konrad Dybcio , Dmitry Baryshkov , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add a node for the PRNG to enable hw-accelerated pseudo-random number generation. Signed-off-by: Adam Skladowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index decbf7ca8a03..04620c272227 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -497,6 +497,13 @@ qusb2_hstx_trim: hstx-trim@25b { }; }; + rng: rng@1b53000 { + compatible = "qcom,prng-ee"; + reg = <0x01b53000 0x1000>; + clocks = <&gcc GCC_PRNG_AHB_CLK>; + clock-names = "core"; + }; + spmi_bus: spmi@1c40000 { compatible = "qcom,spmi-pmic-arb"; reg = <0x01c40000 0x1100>, From patchwork Tue Nov 29 20:46:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Skladowski X-Patchwork-Id: 13059186 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 971A4C4708E for ; Tue, 29 Nov 2022 20:47:27 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E7D9110E3D3; Tue, 29 Nov 2022 20:47:25 +0000 (UTC) Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1D2F810E393; Tue, 29 Nov 2022 20:47:07 +0000 (UTC) Received: by mail-lf1-x133.google.com with SMTP id b3so23906525lfv.2; Tue, 29 Nov 2022 12:47:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=zzEeQBd4qVGm9JgmmMP1iyLQB+gK14BZ1mh6GaefoH0=; b=dEQMO4MmRBxn2n8P8ZFdAJE1AWzKRPZ37ygPrW7O7fww+tAkRsi63ThQuw4tHQikLg DP0/BQHSpVA4UOscQO01pcHD4YUWc+MIEkeNI+vca4T3IDHUkB3jhWgPFhCtp4NougfL JUHUzbXWxE7+FuPHFN/f7gH1AeZprKBaeDeb0JEHPou79Ya7i5Us6sSa/wrqEhOaDUgR ofty4EZcklUW74HSfeDEz/Tozka19N8hxhVuZS+9H4kutsvfAtzTtoZ85ZAHNX9sB70H my2vds6MjKMpCejA1ZVxPtOsn4yamgjVZU+7mSdcCZVJz/qzmI629oFT0DzmUjWQhp1Y xPeQ== 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=zzEeQBd4qVGm9JgmmMP1iyLQB+gK14BZ1mh6GaefoH0=; b=o247il0G+L5Y1X+K2UJ5oaV0CbyZZQmZcbj6VLT8rcLYAYGxLdaz2bStT8iXz6zESP vhavegc2aBkVn8rxVli7fwidFRDBUt7Bkhhfi41rRnTq4K8jDkkoJIZXYYbA8Ssx2ulb ccx0uCcQVm9qop1OM6KtUEelLSxhXmy67oA5IBSx/8NbwrAd44eSh1FHP9wuD8cp5maY BwRp8d8DIooWUo0Q6nDFckSz1XfR/NfodV4DUfmFw+hISTl93WvqJcg0kFwSf+y5pHsM 2LPLix6qVW3UyxJ3CxlJE/2gL29opzqIDnqIuoRaKe4h+fpHxp3JT7pA1nYGaJbfifyJ FAWw== X-Gm-Message-State: ANoB5pnHpOdjSK03PPj/8pFRc+HwdliAjuOs2ISJkpkcueB8EeSedFFw LecXHwvrs19h7IA7f62VQgk= X-Google-Smtp-Source: AA0mqf6mJkKMHnG6+nKkmTXcj/ijy8QDO0d6tdmPbqUNhwl6IlU6e8RfwRfjgxvFbLGJR4ilyQU7JA== X-Received: by 2002:a05:6512:784:b0:4b4:a304:998a with SMTP id x4-20020a056512078400b004b4a304998amr14912583lfr.555.1669754825367; Tue, 29 Nov 2022 12:47:05 -0800 (PST) Received: from localhost.localdomain (ccy110.neoplus.adsl.tpnet.pl. [83.30.148.110]) by smtp.gmail.com with ESMTPSA id o11-20020ac24e8b000000b004ae24368195sm2325620lfr.233.2022.11.29.12.47.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Nov 2022 12:47:05 -0800 (PST) From: Adam Skladowski To: Subject: [PATCH 06/12] arm64: dts: qcom: sm6115: Add rpm-stats node Date: Tue, 29 Nov 2022 21:46:10 +0100 Message-Id: <20221129204616.47006-7-a39.skl@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221129204616.47006-1-a39.skl@gmail.com> References: <20221129204616.47006-1-a39.skl@gmail.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Rafael J. Wysocki" , Amit Kucheria , dri-devel@lists.freedesktop.org, Krzysztof Kozlowski , phone-devel@vger.kernel.org, Daniel Lezcano , Andy Gross , Zhang Rui , devicetree@vger.kernel.org, Thara Gopinath , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Adam Skladowski , Abhinav Kumar , Rob Herring , ~postmarketos/upstreaming@lists.sr.ht, Sean Paul , Loic Poulain , Bjorn Andersson , linux-kernel@vger.kernel.org, Konrad Dybcio , Dmitry Baryshkov , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add rpm stats node. Signed-off-by: Adam Skladowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 04620c272227..6d14bbcda9d3 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -538,6 +538,11 @@ rpm_msg_ram: sram@45f0000 { reg = <0x045f0000 0x7000>; }; + sram@4690000 { + compatible = "qcom,rpm-stats"; + reg = <0x04690000 0x10000>; + }; + sdhc_1: mmc@4744000 { compatible = "qcom,sm6115-sdhci", "qcom,sdhci-msm-v5"; reg = <0x04744000 0x1000>, <0x04745000 0x1000>, <0x04748000 0x8000>; From patchwork Tue Nov 29 20:46:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Skladowski X-Patchwork-Id: 13059188 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 475CFC433FE for ; Tue, 29 Nov 2022 20:47:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 130C210E3E1; Tue, 29 Nov 2022 20:47:27 +0000 (UTC) Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6905910E388; Tue, 29 Nov 2022 20:47:09 +0000 (UTC) Received: by mail-lf1-x12d.google.com with SMTP id r12so23939871lfp.1; Tue, 29 Nov 2022 12:47:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=+igg1gFuxyIK8r4AnuQnEHqMeR4rDkdTFliuJlyj0JM=; b=lRwYr9F0Zw7I3YQ0P9z9pp1EX9rne1nUteWkaBxGAC87U1MVYlEKocHFExnO83ZiIX n9PmIULoYTL6zFHiWYRJLhbOt9ZRxPmu1wQqA9Y02l1GMZkHV1SV/k3rMeL06ipx//+l LydoEVTbtDB4vui/RdCx+G+EaBysE2VMUGAVzcW+k92swDZwYHU4DwCSeFspBxX3L5Ns TPTCRW842OTLdpUncNgKezqpZOsdDK6XqOZLs6IZpJUDbQTcytlFFocihSTgnlDvOhhP lnKwMk/5+gbFuw1t35naeNeR3m/q/Lrf/hVRFxGUMR/qzVsRvYsxjRoAuWC90r1q1MRX JbYg== 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=+igg1gFuxyIK8r4AnuQnEHqMeR4rDkdTFliuJlyj0JM=; b=wH21KbShxAIgvN57GBScMoo/xLLUOxSsHfjmEcTnXtSoBDmnu88ZDuXr767fwVy50I lmM5x35eviv7O5vcbSrMFwuhY8+HQtI3Zon+PgE6IDNL0YjZKeRo5BertXoSkGBw6PY/ kTwLazAgBOcEs0WlwJnte3ATBLoiNoOcIFVFAukyYnE9pmHIpnPN3JFxWqiEL1nAyBZj hcPnMQvqQitzlMGV4c91k85Ik7c65aUmGgAHI/dwhBgjxc2suANLqXqkizsEJ7poktCn RCwMLIIuRbPhI0dcIwh4ExnMjrUF13XdJKBPbYADcp9h48Y9A0YFcUBwA1rXkS4fFfLN zp6A== X-Gm-Message-State: ANoB5pkgSkp6I5aU/fl+vHo4bianSZhfdoGglLjKB3bxk+b6nsvyZEyF mF4MAoKegqGAFScpyalNPBI= X-Google-Smtp-Source: AA0mqf5qYiLSLg45KeZgp/qeZDddSwrnn3Urj3rngk0Idy5+JbkuX+KEXzDkZD0uvEVUUBOMSQxyHQ== X-Received: by 2002:ac2:5f6d:0:b0:4b4:f9df:c6a4 with SMTP id c13-20020ac25f6d000000b004b4f9dfc6a4mr8544566lfc.19.1669754827578; Tue, 29 Nov 2022 12:47:07 -0800 (PST) Received: from localhost.localdomain (ccy110.neoplus.adsl.tpnet.pl. [83.30.148.110]) by smtp.gmail.com with ESMTPSA id o11-20020ac24e8b000000b004ae24368195sm2325620lfr.233.2022.11.29.12.47.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Nov 2022 12:47:07 -0800 (PST) From: Adam Skladowski To: Subject: [PATCH 07/12] arm64: dts: qcom: sm6115: Add dispcc node Date: Tue, 29 Nov 2022 21:46:11 +0100 Message-Id: <20221129204616.47006-8-a39.skl@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221129204616.47006-1-a39.skl@gmail.com> References: <20221129204616.47006-1-a39.skl@gmail.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Rafael J. Wysocki" , Amit Kucheria , dri-devel@lists.freedesktop.org, Krzysztof Kozlowski , phone-devel@vger.kernel.org, Daniel Lezcano , Andy Gross , Zhang Rui , devicetree@vger.kernel.org, Thara Gopinath , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Adam Skladowski , Abhinav Kumar , Rob Herring , ~postmarketos/upstreaming@lists.sr.ht, Sean Paul , Loic Poulain , Bjorn Andersson , linux-kernel@vger.kernel.org, Konrad Dybcio , Dmitry Baryshkov , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add display clock controller to allow controlling display related clocks. Signed-off-by: Adam Skladowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 6d14bbcda9d3..ea0e0b3c5d84 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -4,6 +4,7 @@ */ #include +#include #include #include #include @@ -717,6 +718,19 @@ usb_1_dwc3: usb@4e00000 { }; }; + dispcc: clock-controller@5f00000 { + compatible = "qcom,sm6115-dispcc"; + reg = <0x05f00000 0x20000>; + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, + <&sleep_clk>, + <&dsi0_phy 0>, + <&dsi0_phy 1>, + <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + apps_smmu: iommu@c600000 { compatible = "qcom,sm6115-smmu-500", "arm,mmu-500"; reg = <0x0c600000 0x80000>; From patchwork Tue Nov 29 20:46:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Skladowski X-Patchwork-Id: 13059190 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 33D68C4332F for ; Tue, 29 Nov 2022 20:47:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1171310E3D9; Tue, 29 Nov 2022 20:47:27 +0000 (UTC) Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by gabe.freedesktop.org (Postfix) with ESMTPS id 59DD610E388; Tue, 29 Nov 2022 20:47:10 +0000 (UTC) Received: by mail-lj1-x234.google.com with SMTP id z24so18652088ljn.4; Tue, 29 Nov 2022 12:47:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=mxN9saAhaHyj6ZPoVgv7tMWvA+bJrGztagX7f0iYRp8=; b=EKOfkRku6K7RAUf9XDjX/bzJEeMBGnJr+YgZZCT2E089whrohH/xepfl97H3rygCBq SSxX2sTPQciwjd83RIArZYSAd1HyGTI5mZ9alPUpHjgIMkgf4GcAr75DnwRyGvxPALWQ m9K2G0MWUvNQ1WhZFDiw2zX8J3pM8cFZlgoVtSOYaV8FMdOUk7VJFpiyy+wnyL8uEyIR QUq2Sw5eBNI1OI6iuLoZZH/MRJTDvWH1rrSfLeDb7tuAV2QNNJoSD4r5KhjHjborxb6e gaALpF8Xne2RnO9LG3uEnssIForFJoZcVATf6Rf3E4ZUDsGq3qZljtU6y2F49Tk1TPMh lzpA== 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=mxN9saAhaHyj6ZPoVgv7tMWvA+bJrGztagX7f0iYRp8=; b=YiYuaT2UfrCwv+FOV+xwYqBw2jFXzOchLsHVy+1cdzCUMEeno0+YfbbX6lakvlk11k jZfAgDpliLhZjgcrR3RWdDjm4PumbKtNVcMnowTPemSFXt4Za3kuagwMLwf6Ge0XGvpM rWYEsGyjd+sNAiaLPMvGAzRzppMJCdosc2RMFNEzCgPvyzX3IaYIJmeEV+zCDpNSF8XT 9AKq8AgH2Lo31DVL42KFNwOznB9uZQb/gm8UXGTKxWX1w37mNcgtVSxyskk5Z+cT3U5s fFx64xjSwwym1QJVsMr+ty3/iocTu4m6noiV7FYLJ01olEKiB4EFD+uWsZKh/UJBEQ5O yQYw== X-Gm-Message-State: ANoB5pnCvaxvF6wLlXHqGITuQng81KBReajtUbvwX/zy7Ob98N1oWZnd HmGDx8ZJVwdGP1Z1jKiavl0= X-Google-Smtp-Source: AA0mqf4Nem329kgRkNkWL4kY5oPzJemV9ZG8Z58VHEC6R2xw4BnxpGydh7FQmoDxjQByrNViKPSraA== X-Received: by 2002:a2e:2c0e:0:b0:279:8d29:193c with SMTP id s14-20020a2e2c0e000000b002798d29193cmr8569437ljs.167.1669754829867; Tue, 29 Nov 2022 12:47:09 -0800 (PST) Received: from localhost.localdomain (ccy110.neoplus.adsl.tpnet.pl. [83.30.148.110]) by smtp.gmail.com with ESMTPSA id o11-20020ac24e8b000000b004ae24368195sm2325620lfr.233.2022.11.29.12.47.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Nov 2022 12:47:09 -0800 (PST) From: Adam Skladowski To: Subject: [PATCH 08/12] arm64: dts: qcom: sm6115: Add mdss/dpu node Date: Tue, 29 Nov 2022 21:46:12 +0100 Message-Id: <20221129204616.47006-9-a39.skl@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221129204616.47006-1-a39.skl@gmail.com> References: <20221129204616.47006-1-a39.skl@gmail.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Rafael J. Wysocki" , Amit Kucheria , dri-devel@lists.freedesktop.org, Krzysztof Kozlowski , phone-devel@vger.kernel.org, Daniel Lezcano , Andy Gross , Zhang Rui , devicetree@vger.kernel.org, Thara Gopinath , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Adam Skladowski , Abhinav Kumar , Rob Herring , ~postmarketos/upstreaming@lists.sr.ht, Sean Paul , Loic Poulain , Bjorn Andersson , linux-kernel@vger.kernel.org, Konrad Dybcio , Dmitry Baryshkov , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add mdss and dpu node to enable display support on SM6115. Signed-off-by: Adam Skladowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 183 +++++++++++++++++++++++++++ 1 file changed, 183 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index ea0e0b3c5d84..b459f1746a7f 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -718,6 +718,189 @@ usb_1_dwc3: usb@4e00000 { }; }; + mdss: display-subsystem@5e00000 { + compatible = "qcom,sm6115-mdss"; + reg = <0x05e00000 0x1000>; + reg-names = "mdss"; + + power-domains = <&dispcc MDSS_GDSC>; + + clocks = <&gcc GCC_DISP_AHB_CLK>, + <&gcc GCC_DISP_HF_AXI_CLK>, + <&dispcc DISP_CC_MDSS_MDP_CLK>; + + interrupts = ; + interrupt-controller; + #interrupt-cells = <1>; + + iommus = <&apps_smmu 0x420 0x2>, + <&apps_smmu 0x421 0x0>; + + #address-cells = <1>; + #size-cells = <1>; + ranges; + + status = "disabled"; + + mdp: display-controller@5e01000 { + compatible = "qcom,sm6115-dpu"; + reg = <0x05e01000 0x8f000>, + <0x05eb0000 0x2008>; + reg-names = "mdp", "vbif"; + + clocks = <&gcc GCC_DISP_HF_AXI_CLK>, + <&dispcc DISP_CC_MDSS_AHB_CLK>, + <&dispcc DISP_CC_MDSS_MDP_CLK>, + <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>, + <&dispcc DISP_CC_MDSS_ROT_CLK>, + <&dispcc DISP_CC_MDSS_VSYNC_CLK>; + clock-names = "bus", + "iface", + "core", + "lut", + "rot", + "vsync"; + + operating-points-v2 = <&mdp_opp_table>; + power-domains = <&rpmpd SM6115_VDDCX>; + + interrupt-parent = <&mdss>; + interrupts = <0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dpu_intf1_out: endpoint { + remote-endpoint = <&dsi0_in>; + }; + }; + }; + + mdp_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-19200000 { + opp-hz = /bits/ 64 <19200000>; + required-opps = <&rpmpd_opp_min_svs>; + }; + + opp-192000000 { + opp-hz = /bits/ 64 <192000000>; + required-opps = <&rpmpd_opp_low_svs>; + }; + + opp-256000000 { + opp-hz = /bits/ 64 <256000000>; + required-opps = <&rpmpd_opp_svs>; + }; + + opp-307200000 { + opp-hz = /bits/ 64 <307200000>; + required-opps = <&rpmpd_opp_svs_plus>; + }; + + opp-384000000 { + opp-hz = /bits/ 64 <384000000>; + required-opps = <&rpmpd_opp_nom>; + }; + }; + }; + + dsi0: dsi@5e94000 { + compatible = "qcom,dsi-ctrl-6g-qcm2290"; + reg = <0x05e94000 0x400>; + reg-names = "dsi_ctrl"; + + interrupt-parent = <&mdss>; + interrupts = <4>; + + clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>, + <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>, + <&dispcc DISP_CC_MDSS_PCLK0_CLK>, + <&dispcc DISP_CC_MDSS_ESC0_CLK>, + <&dispcc DISP_CC_MDSS_AHB_CLK>, + <&gcc GCC_DISP_HF_AXI_CLK>; + clock-names = "byte", + "byte_intf", + "pixel", + "core", + "iface", + "bus"; + + assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, + <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; + assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>; + + operating-points-v2 = <&dsi_opp_table>; + power-domains = <&rpmpd SM6115_VDDCX>; + phys = <&dsi0_phy>; + + #address-cells = <1>; + #size-cells = <0>; + + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dsi0_in: endpoint { + remote-endpoint = <&dpu_intf1_out>; + }; + }; + + port@1 { + reg = <1>; + dsi0_out: endpoint { + }; + }; + }; + + dsi_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-19200000 { + opp-hz = /bits/ 64 <19200000>; + required-opps = <&rpmpd_opp_min_svs>; + }; + + opp-164000000 { + opp-hz = /bits/ 64 <164000000>; + required-opps = <&rpmpd_opp_low_svs>; + }; + + opp-187500000 { + opp-hz = /bits/ 64 <187500000>; + required-opps = <&rpmpd_opp_svs>; + }; + }; + }; + + dsi0_phy: phy@5e94400 { + compatible = "qcom,dsi-phy-14nm-2290"; + reg = <0x05e94400 0x100>, + <0x05e94500 0x300>, + <0x05e94800 0x188>; + reg-names = "dsi_phy", + "dsi_phy_lane", + "dsi_pll"; + + #clock-cells = <1>; + #phy-cells = <0>; + + clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, + <&rpmcc RPM_SMD_XO_CLK_SRC>; + clock-names = "iface", "ref"; + + status = "disabled"; + }; + }; + dispcc: clock-controller@5f00000 { compatible = "qcom,sm6115-dispcc"; reg = <0x05f00000 0x20000>; From patchwork Tue Nov 29 20:46:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Skladowski X-Patchwork-Id: 13059189 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C4977C433FE for ; Tue, 29 Nov 2022 20:47:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 489C210E3E4; Tue, 29 Nov 2022 20:47:27 +0000 (UTC) Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by gabe.freedesktop.org (Postfix) with ESMTPS id E1ED610E3DB; Tue, 29 Nov 2022 20:47:13 +0000 (UTC) Received: by mail-lj1-x235.google.com with SMTP id bn5so18663843ljb.2; Tue, 29 Nov 2022 12:47:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=5GXxM1nqK364oUTYPhJF7Ku7/EgOLFJ2UJoNxZjUleQ=; b=niQYxWYTJPw9C7zm4O9ipcOd/SO5f+jJbzwDo4IlXrpfGdkMqMzXcJv/5c7fZ014TS mIK7V+nArFCNTJ7d9vvk8N2bHa2IYACM/yaw+N9mUxefiFdXJRbjV9/1inrQ7zlfawn1 Crj39XGSbxhdtU3B0RzKtha6L0FAgPGr/1UZ8w5A0NUsrWpck4JmxaS7iTvEzbYDvVVg wz9je561VEqOyUoS0yoWChsBrSezrM/0BB8p8a1h0qM9wnA7Baz1UAdbF6qJYHtxvf3e PE1y5SEKsiI3kIhUdLNeCNR1epDUL8DEb0/m/8b4v3v7Z+b/aLkemx9vkCrwsHiZ5X+P ejQg== 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=5GXxM1nqK364oUTYPhJF7Ku7/EgOLFJ2UJoNxZjUleQ=; b=LnS4UVNDZJ/O4IgGdMk6peU9/Rb+DrVeRiB7JrBp5RDAIl1X/475yPBKQiD1urQz0O uKTpVb0wy9DmaoVue05nuZmG9Z3bQwH/xa8dmhyRYTkRnLQz0P1m0kLuNjiqnP3kzSRA JED6C23y+dG24GiVDE0hSyFRuVu3VgCF4JYziYSIJMzFnvceErMRbGOuvVrHYHHrHUTd 7joVDaUFTBeLqyU8qbvv2e01+WcbWpG9OdpE5wwp2T7215tGeF6aFPMMAXPJOSmeWMBU qIS6Nl6/Bbzo2Jn22qUjN2/k55eX/aIqmOwY1ywq+UgVab0+/fwCi5prgEZL8ziAs0Kp ZF/w== X-Gm-Message-State: ANoB5pnzXB0r0PchlIYj3worZZN1eOf8MAM5SCxYNsgW9Ygz9R0f7VZA PJwjv1Mh/fdOYfue0bgXfvw= X-Google-Smtp-Source: AA0mqf5Lj019HBIAtQJ5dyPFCPwQBaZl7B5P5RwE/byxr1ksM2umIp2b4SZY6y+eahc6/XvLOb3rHQ== X-Received: by 2002:a2e:a4b4:0:b0:26c:5cf3:cc89 with SMTP id g20-20020a2ea4b4000000b0026c5cf3cc89mr19293471ljm.483.1669754832127; Tue, 29 Nov 2022 12:47:12 -0800 (PST) Received: from localhost.localdomain (ccy110.neoplus.adsl.tpnet.pl. [83.30.148.110]) by smtp.gmail.com with ESMTPSA id o11-20020ac24e8b000000b004ae24368195sm2325620lfr.233.2022.11.29.12.47.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Nov 2022 12:47:11 -0800 (PST) From: Adam Skladowski To: Subject: [PATCH 09/12] arm64: dts: qcom: sm6115: Add GPI DMA Date: Tue, 29 Nov 2022 21:46:13 +0100 Message-Id: <20221129204616.47006-10-a39.skl@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221129204616.47006-1-a39.skl@gmail.com> References: <20221129204616.47006-1-a39.skl@gmail.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Rafael J. Wysocki" , Amit Kucheria , dri-devel@lists.freedesktop.org, Krzysztof Kozlowski , phone-devel@vger.kernel.org, Daniel Lezcano , Andy Gross , Zhang Rui , devicetree@vger.kernel.org, Thara Gopinath , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Adam Skladowski , Abhinav Kumar , Rob Herring , ~postmarketos/upstreaming@lists.sr.ht, Sean Paul , Loic Poulain , Bjorn Andersson , linux-kernel@vger.kernel.org, Konrad Dybcio , Dmitry Baryshkov , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add GPI DMA node which will be wired to i2c/spi/uart. Signed-off-by: Adam Skladowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index b459f1746a7f..e9de7aa1efdd 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -673,6 +673,26 @@ ufs_mem_phy_lanes: phy@4807400 { }; }; + gpi_dma0: dma-controller@4a00000 { + compatible = "qcom,sm6115-gpi-dma", "qcom,sm6350-gpi-dma"; + reg = <0x04a00000 0x60000>; + interrupts = , + , + , + , + , + , + , + , + , + ; + dma-channels = <10>; + dma-channel-mask = <0xf>; + iommus = <&apps_smmu 0xf6 0x0>; + #dma-cells = <3>; + status = "disabled"; + }; + usb_1: usb@4ef8800 { compatible = "qcom,sm6115-dwc3", "qcom,dwc3"; reg = <0x04ef8800 0x400>; From patchwork Tue Nov 29 20:46:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Skladowski X-Patchwork-Id: 13059187 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BDFB0C4708B for ; Tue, 29 Nov 2022 20:47:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5821410E3DB; Tue, 29 Nov 2022 20:47:26 +0000 (UTC) Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by gabe.freedesktop.org (Postfix) with ESMTPS id 534BD10E3E1; Tue, 29 Nov 2022 20:47:16 +0000 (UTC) Received: by mail-lf1-x135.google.com with SMTP id be13so23903707lfb.4; Tue, 29 Nov 2022 12:47:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=1Ma9RUQu1JjVVoYty/WmEXDnYuOfQCd9ANuJ3pmUfPM=; b=T/qBBnIruUH/GUG83CcB0NngH2JXSmSIG9cGLShPtFZWw6A4daVJUvP6xwkdgAaFQW MGvObW7ShX2GrYtOjmizAfsy0e0PCGnYrb2D9M3OZ3dGGNnCM4wSQi3G1Adhteesiyvt BWfmhrLjUDB+LLFiRrgcXMksdn2nrX6rwVhuaYUWRubAHBu0FAhONOelr2nAsxzEzVVE xuFF7N/TdqngKU7p5vmUhzd7CEVprhegjCVeT16r9T1HabdsApxZicqPvon1Jxtam2pq PBJkp6LHq5tIzkAdJkq4zq/+nWn4icmNYzOVmrP1F82YW6mYhj8QVYVHRVbgQCdXneLL Wscg== 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=1Ma9RUQu1JjVVoYty/WmEXDnYuOfQCd9ANuJ3pmUfPM=; b=1ZZ++9v+FxEkviDXNPjYf40X7i+v60RIkx+2n5w12SqNsqKaBqw3a/V7ndjTYS7gad NAwZnq/o1ZuTPvlpHdZxvQ9/jaLgPGlzJGu73gHjkbiHplAKt2lbBX7EgnvwKSNN9cuo EYPBSMdWfUEMsFH80xUTIAR9g29gepHBaaprmpjAvcFZk93bKF0jqasaSwWCA3OemKLy 0cKpLWdv0EdDAmM0Xo001a/dlqJV4Ez5P1d+nOxGNgI78A6qHcUsZQpHbkjZYmMrhSoB v0P2VOIFYaMN22xp94k9nqLYny3e9WL6GzE2/O6ijqfk6JWesd2pO4/Q0wE5arUSv8nj J23g== X-Gm-Message-State: ANoB5pl9anIZyk9wEqFRUq7PNJQTE6X6D8j7pevP4CqIx1+Xel3eBIof eSiDSOeFaaIA57s2uso38kk= X-Google-Smtp-Source: AA0mqf4vieHe53nkDLyouG86tJoxjWakBPNUKhkxYRv0lFIj9pr6eplRQSRLVtOwCbUFwy+SymcKLA== X-Received: by 2002:a19:5211:0:b0:4b5:1e6f:c9d3 with SMTP id m17-20020a195211000000b004b51e6fc9d3mr2074160lfb.659.1669754834500; Tue, 29 Nov 2022 12:47:14 -0800 (PST) Received: from localhost.localdomain (ccy110.neoplus.adsl.tpnet.pl. [83.30.148.110]) by smtp.gmail.com with ESMTPSA id o11-20020ac24e8b000000b004ae24368195sm2325620lfr.233.2022.11.29.12.47.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Nov 2022 12:47:14 -0800 (PST) From: Adam Skladowski To: Subject: [PATCH 10/12] arm64: dts: qcom: sm6115: Add i2c/spi nodes Date: Tue, 29 Nov 2022 21:46:14 +0100 Message-Id: <20221129204616.47006-11-a39.skl@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221129204616.47006-1-a39.skl@gmail.com> References: <20221129204616.47006-1-a39.skl@gmail.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Rafael J. Wysocki" , Amit Kucheria , dri-devel@lists.freedesktop.org, Krzysztof Kozlowski , phone-devel@vger.kernel.org, Daniel Lezcano , Andy Gross , Zhang Rui , devicetree@vger.kernel.org, Thara Gopinath , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Adam Skladowski , Abhinav Kumar , Rob Herring , ~postmarketos/upstreaming@lists.sr.ht, Sean Paul , Loic Poulain , Bjorn Andersson , linux-kernel@vger.kernel.org, Konrad Dybcio , Dmitry Baryshkov , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add I2C/SPI nodes for SM6115. Signed-off-by: Adam Skladowski --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 287 +++++++++++++++++++++++++++ 1 file changed, 287 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index e9de7aa1efdd..d14a4595be8a 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include @@ -357,6 +358,90 @@ tlmm: pinctrl@500000 { interrupt-controller; #interrupt-cells = <2>; + qup_i2c0_default: qup-i2c0-default { + pins = "gpio0", "gpio1"; + function = "qup0"; + drive-strength = <2>; + bias-pull-up; + }; + + qup_i2c1_default: qup-i2c1-default { + pins = "gpio4", "gpio5"; + function = "qup1"; + drive-strength = <2>; + bias-pull-up; + }; + + qup_i2c2_default: qup-i2c2-default { + pins = "gpio6", "gpio7"; + function = "qup2"; + drive-strength = <2>; + bias-pull-up; + }; + + qup_i2c3_default: qup-i2c3-default { + pins = "gpio8", "gpio9"; + function = "qup3"; + drive-strength = <2>; + bias-pull-up; + }; + + qup_i2c4_default: qup-i2c4-default { + pins = "gpio12", "gpio13"; + function = "qup4"; + drive-strength = <2>; + bias-pull-up; + }; + + qup_i2c5_default: qup-i2c5-default { + pins = "gpio14", "gpio15"; + function = "qup5"; + drive-strength = <2>; + bias-pull-up; + }; + + qup_spi0_default: qup-spi0-default { + pins = "gpio0", "gpio1","gpio2", "gpio3"; + function = "qup0"; + drive-strength = <2>; + bias-pull-up; + }; + + qup_spi1_default: qup-spi1-default { + pins = "gpio4", "gpio5", "gpio69", "gpio70"; + function = "qup1"; + drive-strength = <2>; + bias-pull-up; + }; + + qup_spi2_default: qup-spi2-default { + pins = "gpio6", "gpio7", "gpio71", "gpio80"; + function = "qup2"; + drive-strength = <2>; + bias-pull-up; + }; + + qup_spi3_default: qup-spi3-default { + pins = "gpio8", "gpio9", "gpio10", "gpio11"; + function = "qup3"; + drive-strength = <2>; + bias-pull-up; + }; + + qup_spi4_default: qup-spi4-default { + pins = "gpio12", "gpio13", "gpio96", "gpio97"; + function = "qup4"; + drive-strength = <2>; + bias-pull-up; + }; + + qup_spi5_default: qup-spi5-default { + pins = "gpio14", "gpio15", "gpio16", "gpio17"; + function = "qup5"; + drive-strength = <2>; + bias-pull-up; + }; + sdc1_state_on: sdc1-on-state { clk-pins { pins = "sdc1_clk"; @@ -693,6 +778,208 @@ gpi_dma0: dma-controller@4a00000 { status = "disabled"; }; + qupv3_id_0: geniqup@4ac0000 { + compatible = "qcom,geni-se-qup"; + reg = <0x04ac0000 0x2000>; + clock-names = "m-ahb", "s-ahb"; + clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, + <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; + #address-cells = <1>; + #size-cells = <1>; + iommus = <&apps_smmu 0xe3 0x0>; + ranges; + status = "disabled"; + + i2c0: i2c@4a80000 { + compatible = "qcom,geni-i2c"; + reg = <0x04a80000 0x4000>; + clock-names = "se"; + clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; + pinctrl-names = "default"; + pinctrl-0 = <&qup_i2c0_default>; + interrupts = ; + dmas = <&gpi_dma0 0 0 QCOM_GPI_I2C>, + <&gpi_dma0 1 0 QCOM_GPI_I2C>; + dma-names = "tx", "rx"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + spi0: spi@4a80000 { + compatible = "qcom,geni-spi"; + reg = <0x04a80000 0x4000>; + clock-names = "se"; + clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; + pinctrl-names = "default"; + pinctrl-0 = <&qup_spi0_default>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c1: i2c@4a84000 { + compatible = "qcom,geni-i2c"; + reg = <0x04a84000 0x4000>; + clock-names = "se"; + clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; + pinctrl-names = "default"; + pinctrl-0 = <&qup_i2c1_default>; + interrupts = ; + dmas = <&gpi_dma0 0 1 QCOM_GPI_I2C>, + <&gpi_dma0 1 1 QCOM_GPI_I2C>; + dma-names = "tx", "rx"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + spi1: spi@4a84000 { + compatible = "qcom,geni-spi"; + reg = <0x04a84000 0x4000>; + clock-names = "se"; + clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; + pinctrl-names = "default"; + pinctrl-0 = <&qup_spi1_default>; + interrupts = ; + dmas = <&gpi_dma0 0 1 QCOM_GPI_SPI>, + <&gpi_dma0 1 1 QCOM_GPI_SPI>; + dma-names = "tx", "rx"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c2: i2c@4a88000 { + compatible = "qcom,geni-i2c"; + reg = <0x04a88000 0x4000>; + clock-names = "se"; + clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>; + pinctrl-names = "default"; + pinctrl-0 = <&qup_i2c2_default>; + interrupts = ; + dmas = <&gpi_dma0 0 2 QCOM_GPI_I2C>, + <&gpi_dma0 1 2 QCOM_GPI_I2C>; + dma-names = "tx", "rx"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + spi2: spi@4a88000 { + compatible = "qcom,geni-spi"; + reg = <0x04a88000 0x4000>; + clock-names = "se"; + clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>; + pinctrl-names = "default"; + pinctrl-0 = <&qup_spi2_default>; + interrupts = ; + dmas = <&gpi_dma0 0 2 QCOM_GPI_SPI>, + <&gpi_dma0 1 2 QCOM_GPI_SPI>; + dma-names = "tx", "rx"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c3: i2c@4a8c000 { + compatible = "qcom,geni-i2c"; + reg = <0x04a8c000 0x4000>; + clock-names = "se"; + clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>; + pinctrl-names = "default"; + pinctrl-0 = <&qup_i2c3_default>; + interrupts = ; + dmas = <&gpi_dma0 0 3 QCOM_GPI_I2C>, + <&gpi_dma0 1 3 QCOM_GPI_I2C>; + dma-names = "tx", "rx"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + spi3: spi@4a8c000 { + compatible = "qcom,geni-spi"; + reg = <0x04a8c000 0x4000>; + clock-names = "se"; + clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>; + pinctrl-names = "default"; + pinctrl-0 = <&qup_spi3_default>; + interrupts = ; + dmas = <&gpi_dma0 0 3 QCOM_GPI_SPI>, + <&gpi_dma0 1 3 QCOM_GPI_SPI>; + dma-names = "tx", "rx"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c4: i2c@4a90000 { + compatible = "qcom,geni-i2c"; + reg = <0x04a90000 0x4000>; + clock-names = "se"; + clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>; + pinctrl-names = "default"; + pinctrl-0 = <&qup_i2c4_default>; + interrupts = ; + dmas = <&gpi_dma0 0 4 QCOM_GPI_I2C>, + <&gpi_dma0 1 4 QCOM_GPI_I2C>; + dma-names = "tx", "rx"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + spi4: spi@4a90000 { + compatible = "qcom,geni-spi"; + reg = <0x04a90000 0x4000>; + clock-names = "se"; + clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>; + pinctrl-names = "default"; + pinctrl-0 = <&qup_spi4_default>; + interrupts = ; + dmas = <&gpi_dma0 0 4 QCOM_GPI_SPI>, + <&gpi_dma0 1 4 QCOM_GPI_SPI>; + dma-names = "tx", "rx"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c5: i2c@4a94000 { + compatible = "qcom,geni-i2c"; + reg = <0x04a94000 0x4000>; + clock-names = "se"; + clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>; + pinctrl-names = "default"; + pinctrl-0 = <&qup_i2c5_default>; + interrupts = ; + dmas = <&gpi_dma0 0 5 QCOM_GPI_I2C>, + <&gpi_dma0 1 5 QCOM_GPI_I2C>; + dma-names = "tx", "rx"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + spi5: spi@4a94000 { + compatible = "qcom,geni-spi"; + reg = <0x04a94000 0x4000>; + clock-names = "se"; + clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>; + pinctrl-names = "default"; + pinctrl-0 = <&qup_spi5_default>; + interrupts = ; + dmas = <&gpi_dma0 0 5 QCOM_GPI_SPI>, + <&gpi_dma0 1 5 QCOM_GPI_SPI>; + dma-names = "tx", "rx"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + }; + usb_1: usb@4ef8800 { compatible = "qcom,sm6115-dwc3", "qcom,dwc3"; reg = <0x04ef8800 0x400>; From patchwork Tue Nov 29 20:46:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Skladowski X-Patchwork-Id: 13059195 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C8A72C4332F for ; Tue, 29 Nov 2022 20:48:55 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 96E0A10E393; Tue, 29 Nov 2022 20:48:54 +0000 (UTC) Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3F93F10E3D9; Tue, 29 Nov 2022 20:47:19 +0000 (UTC) Received: by mail-lj1-x233.google.com with SMTP id a19so2898933ljk.0; Tue, 29 Nov 2022 12:47:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=JM8qWhjtmVz4g8QiVLIg+Ipe0Ovs4/S9ZpUrITzygDw=; b=VTmPTjA0nBXjP2iGsAL/CDBkR2uVwYlxV0pZUds5sisiYqyFAWRgkaG9Hkx6pEEx9z sZwRG+4s4bcSz6txpufg+3mDQnt3GvuP+GrQsWt8jD6qNqa9QcSWDmrDCv961I+rUqay gODis7/X4F7oCOgDWpUHP0l1BbO/A0zt/mS3EqkNDjiQkexgZXAjL36U8etUSKDHyqy/ eTQxxIvW1PWHXVPUzriUPgdiuchrtMk3ML1JrsxkQsGYcdYcy3hydV6T7Tlosmaj4MZO QjHa7pyf86rR5EW49I8pAxreREUgmZ+k0JFeotLL72ZjJATJWuiOey/dgzisQh4dpoTM UYBg== 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=JM8qWhjtmVz4g8QiVLIg+Ipe0Ovs4/S9ZpUrITzygDw=; b=sCNbnHapGFRXbqbtV/7tcSKCeomhgYFs7FXrci5P77Tae0Gcs1JyZHVy6L4gNWHbAD rLFb9os7SCz54C6wArV3v8ppkxrJd8sFzUosUVRGJ2da38vh5zqcMHQWR/jO9eZWc2cu ZC3M+XdEfSzZKOmaMKnuzex5f/pEfLO7FYvJ7twlboaLkSkwBFEK6/b5m86gvep+j2+i G9bod77zEjdzi1owJdbBUjIUBHWWc24n49x2xJLJtCzEkM+N2rLJgZMUzak1GvHwIUhK lMy3FHsBdvZlRPI2MYqxbEsmvtPtL30r0u+bDu2VK4wmT9nrCkvGvNGIC8ONG+I8XfoU yweQ== X-Gm-Message-State: ANoB5plUcmXMVQMmFT1S/54rlWbraJ32qJEPP2KSmPQP2E099KEQ1GEk 6rZaexLr69sTM4/zrzRcjn8= X-Google-Smtp-Source: AA0mqf5SpcOjRARzwp1NkQxL/CovjoQTjDAIOA8/0GZqKninqGw0BWnE0/HvuzYtIY6HU70h3/QAYA== X-Received: by 2002:a05:651c:160b:b0:276:4462:2d20 with SMTP id f11-20020a05651c160b00b0027644622d20mr11957815ljq.19.1669754837049; Tue, 29 Nov 2022 12:47:17 -0800 (PST) Received: from localhost.localdomain (ccy110.neoplus.adsl.tpnet.pl. [83.30.148.110]) by smtp.gmail.com with ESMTPSA id o11-20020ac24e8b000000b004ae24368195sm2325620lfr.233.2022.11.29.12.47.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Nov 2022 12:47:16 -0800 (PST) From: Adam Skladowski To: Subject: [PATCH 11/12] arm64: dts: qcom: sm6115: Add WCN node. Date: Tue, 29 Nov 2022 21:46:15 +0100 Message-Id: <20221129204616.47006-12-a39.skl@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221129204616.47006-1-a39.skl@gmail.com> References: <20221129204616.47006-1-a39.skl@gmail.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Rafael J. Wysocki" , Amit Kucheria , dri-devel@lists.freedesktop.org, Krzysztof Kozlowski , phone-devel@vger.kernel.org, Daniel Lezcano , Andy Gross , Zhang Rui , devicetree@vger.kernel.org, Thara Gopinath , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Adam Skladowski , Abhinav Kumar , Rob Herring , ~postmarketos/upstreaming@lists.sr.ht, Sean Paul , Loic Poulain , Bjorn Andersson , linux-kernel@vger.kernel.org, Konrad Dybcio , Dmitry Baryshkov , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add WCN node to allow using wifi module. Signed-off-by: Adam Skladowski --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index d14a4595be8a..36d1cff23d10 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -1294,6 +1294,28 @@ apps_smmu: iommu@c600000 { ; }; + wifi: wifi@c800000 { + compatible = "qcom,wcn3990-wifi"; + reg = <0x0c800000 0x800000>; + reg-names = "membase"; + memory-region = <&wlan_msa_mem>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&apps_smmu 0x1a0 0x1>; + qcom,msa-fixed-perm; + status = "disabled"; + }; + apcs_glb: mailbox@f111000 { compatible = "qcom,sm6115-apcs-hmss-global"; reg = <0x0f111000 0x1000>; From patchwork Tue Nov 29 20:46:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Skladowski X-Patchwork-Id: 13059196 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D7EB3C4332F for ; Tue, 29 Nov 2022 20:48:58 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DC3EB10E09D; Tue, 29 Nov 2022 20:48:57 +0000 (UTC) Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by gabe.freedesktop.org (Postfix) with ESMTPS id BB68C10E3D3; Tue, 29 Nov 2022 20:47:19 +0000 (UTC) Received: by mail-lf1-x135.google.com with SMTP id be13so23903945lfb.4; Tue, 29 Nov 2022 12:47:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=8OJbaeSPcoUQhtrSfuzPP+5Xvz9tDw3fpybywrDiLB8=; b=isX5XESaqTPO6t/rIUbSKYmN1N1Dj6iJFY4zi9Q4/cAMTUMA+sX9eL/49g1tvW5Zny rAca4oqEK+DqAek0wERHVCLD3nTdFRwhJ7CscGnoZnKgDpL0RV96PvAfAIqLnEPejxoM Yz70Hahxo6+2JtIbjtQI/tF+uwgYYQfI7G2PF6wHqtAGplmUp3c3i2383B0fjGEYhPQG 3i0FCQ/bMG/t3hW1gfm48IPo7p7q53Y1WNf7Vm9jVHFQjcZs6NNLl1/yY25IilHBTgYW bXwk4v9GIAhdmaByNwQsi2txZf/Fko0Vc+SJq7Zc3vPhfnL5cdFq+b5qiZmrl5oAnlB7 7f8g== 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=8OJbaeSPcoUQhtrSfuzPP+5Xvz9tDw3fpybywrDiLB8=; b=v+RQYZVOf8JgIqW5+XMpTNOWp/BAGF6XwDFLHyC74C3IKPwETGHpoHUZc5Jdc8plte N52S1VdXIZLVOFDImszpjqal9tgO0hm0SskA3yPCA4TFhQyIU2xC32MYR9zPfBzsvUVz 4Kcc/FR3vja5JYa6ohTKDQha3p6jsxcZwrSb73Pe9Zl3DoEjiGnlsy3NYSeLFFZYVI8f GTvu8KjQSayICcqBT1ybgYrJ+7Rxrez0t9MnViiiADKcJKLVLtl8WOtFVCzMMN9zU5VV TKWdHKwwSHRUwjE4TRi7IzA+R2KNf/uG5jvVd/NEr5+vLY1yj4dGSvCszaaYafrdjbpo LgQQ== X-Gm-Message-State: ANoB5pkv8QCjjJqdhLUIuBCDm9WKvEwkawd8JBkxXld3NsdaGg2cZylr dNDgkSbzGut4y+vkGz0mRxk= X-Google-Smtp-Source: AA0mqf54SpyD4y7QdMfh7uhy0hQf6/Lwg3RHDJI54U1OkTsCBQXvOVa2dmVDRScLyX0IIVI4Pm8Ing== X-Received: by 2002:ac2:5f9b:0:b0:4a2:5163:f61b with SMTP id r27-20020ac25f9b000000b004a25163f61bmr19237522lfe.177.1669754839327; Tue, 29 Nov 2022 12:47:19 -0800 (PST) Received: from localhost.localdomain (ccy110.neoplus.adsl.tpnet.pl. [83.30.148.110]) by smtp.gmail.com with ESMTPSA id o11-20020ac24e8b000000b004ae24368195sm2325620lfr.233.2022.11.29.12.47.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Nov 2022 12:47:18 -0800 (PST) From: Adam Skladowski To: Subject: [PATCH 12/12] arm64: dts: qcom: sm6115: Fallback smmu to qcom generic compatible Date: Tue, 29 Nov 2022 21:46:16 +0100 Message-Id: <20221129204616.47006-13-a39.skl@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221129204616.47006-1-a39.skl@gmail.com> References: <20221129204616.47006-1-a39.skl@gmail.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Rafael J. Wysocki" , Amit Kucheria , dri-devel@lists.freedesktop.org, Krzysztof Kozlowski , phone-devel@vger.kernel.org, Daniel Lezcano , Andy Gross , Zhang Rui , devicetree@vger.kernel.org, Thara Gopinath , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Adam Skladowski , Abhinav Kumar , Rob Herring , ~postmarketos/upstreaming@lists.sr.ht, Sean Paul , Loic Poulain , Bjorn Andersson , linux-kernel@vger.kernel.org, Konrad Dybcio , Dmitry Baryshkov , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Change fallback to qcom generic compatible in order to prevent reboot during SMMU initialization. Signed-off-by: Adam Skladowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 36d1cff23d10..b00d74055eb1 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -1222,7 +1222,7 @@ dispcc: clock-controller@5f00000 { }; apps_smmu: iommu@c600000 { - compatible = "qcom,sm6115-smmu-500", "arm,mmu-500"; + compatible = "qcom,sm6115-smmu-500", "qcom,smmu-500", "arm,mmu-500"; reg = <0x0c600000 0x80000>; #iommu-cells = <2>; #global-interrupts = <1>;