From patchwork Tue Aug 15 22:31:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 13354376 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 734DAC04E69 for ; Tue, 15 Aug 2023 22:32:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240413AbjHOWb6 (ORCPT ); Tue, 15 Aug 2023 18:31:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240454AbjHOWbm (ORCPT ); Tue, 15 Aug 2023 18:31:42 -0400 Received: from mail-qv1-xf36.google.com (mail-qv1-xf36.google.com [IPv6:2607:f8b0:4864:20::f36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44B6C2100; Tue, 15 Aug 2023 15:31:35 -0700 (PDT) Received: by mail-qv1-xf36.google.com with SMTP id 6a1803df08f44-6418d8a659fso18541206d6.0; Tue, 15 Aug 2023 15:31:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692138694; x=1692743494; 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=SHHvH1R50hlGEwDWy54Ftr/XiT00eGPxCBa6hf7d2fM=; b=ZZLlP3p6MTLSn/fqdwK/FcdSY8M5YCbyTv0h1N+vR1kzzXvCoNYUIosZbu64li8kGq T2xF0GClEHHJqKU3cwrMAUYUuXWAnCpW7HvWw/t/Z7adRrsHadNjvqIy+QzKevmoKMvt pCDNhbK1G+KdpXQyTWoqTDSk0aEkr+zx1CAHdyQNxjfxHTHKaWauWwwMkml96HyE4+1X a3EanK/rmZ12YjocafJB0wOXl7mUyH/UodJlFCFW2/QoGgBRhgz3IXeXrc1Ugan4TNS+ Q/WnWpGtF4w3GAa2zk2S66/Id1zD7qyr1jJRExvC2Z6MMrVps2F680iRBFeJXrDxZWx/ M17g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692138694; x=1692743494; 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=SHHvH1R50hlGEwDWy54Ftr/XiT00eGPxCBa6hf7d2fM=; b=BURIyVVZnwTxwl6u0rdb5+0ZLcc8Sx/PPVYXRwXD8AziXvoESeGYnDk5QoN8H5JlWx rlj2xpooputGKoRvRc+JuwBe8acNeIjtVoXK07sLErqt2olwboKSWnFgkPJKJ+N2wB13 nQUET0UvFEV4V4xOhLHpXHNzK4tMvAg5rDuEig8AfsS2LYeq9RF9OTh7uMqDNM/eV4Ta jAgOo6q+LDKAS0hAy9VvAyTXtTiQCN6A6YdJVYfQT7XwTRjgM5RY4lbKzHwFupcmrPy7 7jvHR316Fdw7GSAlOQyahUuAlRVZm7fx/Qtuye8byzTvXSN7vSFHZA6oTI/fAwp2BAZ5 VWvQ== X-Gm-Message-State: AOJu0YzVjUkJGw8ZSNyjbrvTDaHODT147yivEO5emLijV3lO66X4PBwa qb1HIWSp2DGT7JHdAJCN3q8= X-Google-Smtp-Source: AGHT+IHxuExnICsKRhEJG6i5BfqZhlm52gJMsU0yR96psUr5z2u1ENGjAZLAidqcEMc36Y9z8QeENQ== X-Received: by 2002:a0c:9d0c:0:b0:642:66bf:902c with SMTP id m12-20020a0c9d0c000000b0064266bf902cmr109491qvf.32.1692138694257; Tue, 15 Aug 2023 15:31:34 -0700 (PDT) Received: from localhost ([2607:fea8:529e:7800::bdee]) by smtp.gmail.com with ESMTPSA id t8-20020a05620a034800b007671cfe8a18sm4038208qkm.13.2023.08.15.15.31.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Aug 2023 15:31:33 -0700 (PDT) From: Richard Acayan To: "Rafael J. Wysocki" , Viresh Kumar , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson , Konrad Dybcio , Georgi Djakov , Manivannan Sadhasivam , Sibi Sankar , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Richard Acayan Subject: [PATCH 1/3] dt-bindings: interconnect: add SDM670 OSM L3 compatible Date: Tue, 15 Aug 2023 18:31:10 -0400 Message-ID: <20230815223108.306018-6-mailingradian@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230815223108.306018-5-mailingradian@gmail.com> References: <20230815223108.306018-5-mailingradian@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add the compatible for the OSM L3 interconnect used in the Snapdragon 670. Signed-off-by: Richard Acayan Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/interconnect/qcom,osm-l3.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/interconnect/qcom,osm-l3.yaml b/Documentation/devicetree/bindings/interconnect/qcom,osm-l3.yaml index 9d0a98d77ae9..21dae0b92819 100644 --- a/Documentation/devicetree/bindings/interconnect/qcom,osm-l3.yaml +++ b/Documentation/devicetree/bindings/interconnect/qcom,osm-l3.yaml @@ -21,6 +21,7 @@ properties: - enum: - qcom,sc7180-osm-l3 - qcom,sc8180x-osm-l3 + - qcom,sdm670-osm-l3 - qcom,sdm845-osm-l3 - qcom,sm6350-osm-l3 - qcom,sm8150-osm-l3 From patchwork Tue Aug 15 22:31:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 13354375 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C0A2C04A94 for ; Tue, 15 Aug 2023 22:32:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240421AbjHOWb7 (ORCPT ); Tue, 15 Aug 2023 18:31:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240472AbjHOWbr (ORCPT ); Tue, 15 Aug 2023 18:31:47 -0400 Received: from mail-qv1-xf2e.google.com (mail-qv1-xf2e.google.com [IPv6:2607:f8b0:4864:20::f2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EC5B2132; Tue, 15 Aug 2023 15:31:37 -0700 (PDT) Received: by mail-qv1-xf2e.google.com with SMTP id 6a1803df08f44-6432a429f61so23719866d6.2; Tue, 15 Aug 2023 15:31:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692138696; x=1692743496; 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=wd92bI5dLehLsF4hnvIr+iTqCos24EAh8tgkdn7mWwI=; b=jwUo9FHCANPSyKGp50jDSIuA68sQ0XO6+ov83c+1u+jNZrNZwVc2dl5f7NlA4YR5Hk B5HT49uw8P3BGHTnMBD/pKhY6ZxtHgbf7v2N4aOPint8Po1xOlf8jzHh1/WKflRTjGRC 2qzjiH+k168nvTcnmSU3VjN9gg7QvcTifUId6oLiIK8cyqREBpmSNhKBT5bxBB1ra6j+ MZ8mswb0YKxzXBpq3kGWQUdxbJ/ZDHlidfZ5OTa/yzURD+CcGcQWBMoW10QZXK4MFZrD vJrPA3VwdmH3bIb/9xZyRjWyFdr63q4MeiPZolp+5PsU46rlDCKrSe3QPDWtgnxQXs8y 5BJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692138696; x=1692743496; 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=wd92bI5dLehLsF4hnvIr+iTqCos24EAh8tgkdn7mWwI=; b=Xh5VG7/M+HvdWI8+i4QbeLvV77tQ76HiYC4aYMUNHSDtp6bsAK1yl6nT6je6YyrnUr 8UIoMHE66IdFxGhqi+r2zKsvTBgX6BEwIAVBrFbDa+Z5wpXdEXl+/ikF89AVWzwYnzEs H4YYqKN8dE7M4TyK7laJXxZ4m8fZRXT9Lxy2vybvhVeGqKvvLhYKTHKdmF8Oia7BikGs XHH4lJZg8snBYlwramHNPgSWksKyqphRmF2ceHSkM9wiiE/y9EjNDK4wmknM6vGlyDzF OFVxttL8ETAluJJE9M1VaHWFVYrlKBCRXhqN6GJjFQpisngHiiSH3M6uIp3VfLvERpML 29fg== X-Gm-Message-State: AOJu0Yz0gb70Ec5mTuLycV7JCGmZcvnSJnFg7z9xdyZ9ZbepOs2MHEhc 0UKDHBI+iFnyXkM+b0D7lm8= X-Google-Smtp-Source: AGHT+IEukpCIlO8jXbUN/akpLNc30XLADv+QYlMxgAOmm0lkEFR31QihCVI+C0M6bagHOvtfzBUwOw== X-Received: by 2002:a0c:f044:0:b0:639:91ad:64d6 with SMTP id b4-20020a0cf044000000b0063991ad64d6mr88387qvl.61.1692138696015; Tue, 15 Aug 2023 15:31:36 -0700 (PDT) Received: from localhost ([2607:fea8:529e:7800::bdee]) by smtp.gmail.com with ESMTPSA id a9-20020a0cca89000000b00647432144cfsm255900qvk.99.2023.08.15.15.31.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Aug 2023 15:31:35 -0700 (PDT) From: Richard Acayan To: "Rafael J. Wysocki" , Viresh Kumar , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson , Konrad Dybcio , Georgi Djakov , Manivannan Sadhasivam , Sibi Sankar , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Richard Acayan Subject: [PATCH 2/3] dt-bindings: cpufreq: cpufreq-qcom-hw: add SDM670 compatible Date: Tue, 15 Aug 2023 18:31:11 -0400 Message-ID: <20230815223108.306018-7-mailingradian@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230815223108.306018-5-mailingradian@gmail.com> References: <20230815223108.306018-5-mailingradian@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The bindings for Qualcomm CPU frequency have a compatible for each SoC. Add the compatible for SDM670. Signed-off-by: Richard Acayan --- Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml index a6b3bb8fdf33..764a1589f8a2 100644 --- a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml +++ b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml @@ -23,6 +23,7 @@ properties: - enum: - qcom,qcm2290-cpufreq-hw - qcom,sc7180-cpufreq-hw + - qcom,sdm670-cpufreq-hw - qcom,sdm845-cpufreq-hw - qcom,sm6115-cpufreq-hw - qcom,sm6350-cpufreq-hw From patchwork Tue Aug 15 22:31:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 13354378 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 14F9BC07E8B for ; Tue, 15 Aug 2023 22:32:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240423AbjHOWb7 (ORCPT ); Tue, 15 Aug 2023 18:31:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240487AbjHOWbv (ORCPT ); Tue, 15 Aug 2023 18:31:51 -0400 Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com [IPv6:2607:f8b0:4864:20::f31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFB20268F; Tue, 15 Aug 2023 15:31:38 -0700 (PDT) Received: by mail-qv1-xf31.google.com with SMTP id 6a1803df08f44-64189860374so29778276d6.0; Tue, 15 Aug 2023 15:31:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692138698; x=1692743498; 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=OomGyd0GSBAwNJRjE2nyNQobuXxIzf9X/MGFA0o94qc=; b=Ck8mWeH0ribxy+qr3OidONH5JyPv7xIFKC2ciBSri5aPQUIagF3mUH/BvJXeZGALvx M0bwwDwIukJhUyWzQ2torPCOQfEE2I0gZ98yv+hNsR3U+dyB/xEGvrH6091eXxMe0q00 NYkjSmp2DMXQ4+8ZJE4Bq3HaoVhc9IhTi8DbyD2v3o/r6cVnebtAsDXxtZ8Gp8lpkxV+ OAVSWEQIvnePmhOK9kAubM7WoJRhrs7UZepjW8o2Yob85U4RU3gkcen+utVb0LuaB+U9 44FNL837ZNqAsJyul50lL/qRbTXKWzQbg5DQidhEdVbLTq9kAVY7FdwsKe85p5b2+/kD Rqmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692138698; x=1692743498; 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=OomGyd0GSBAwNJRjE2nyNQobuXxIzf9X/MGFA0o94qc=; b=GaabPj80mfbZRB7sgo77u6ktYNvyGCt3u5T5PclM3DexJ/mMiNGAkLzoHa1UScvZZJ j8F+1BPk4HxV91ScjKWOBN4WvhTqenGGojSJW261JkXFQsGTB2bcE2U3LEdJaB1XSR+9 KNlLiCkyRBSUUPXVFHuXF4OcM8ewwsa4wRzkF4lN0UTHf7mo9dGDKwx6ArJeRUGNfSyz Qsf55SL5jS6QLtipojh2fgpGiYVA7rW1oDTRTACzrRVjnMsBxiMmaE6JDi8SYzRCMV3E 7wMwR3BB+QcnTDIqKYtWkFCo5fr+O3qYLx2URR4aXqihjEjHBC13hCZx1Lqq/qeePmUT 94hA== X-Gm-Message-State: AOJu0YxtbXzM75PSuNwp/5YZxRRzGdYBGMqZed1ukF2QckV6nEBbVRXT pf5XPbyuzRlZRbbS94yBqnQ= X-Google-Smtp-Source: AGHT+IFegE5lTvsMgT1ktCmwoJXrg2/AmOYJ/uCDmR0QRlT/ZQ66+uLEXzzOqreVhTdhfXteleyepg== X-Received: by 2002:a0c:e246:0:b0:623:557d:91ba with SMTP id x6-20020a0ce246000000b00623557d91bamr98231qvl.34.1692138697814; Tue, 15 Aug 2023 15:31:37 -0700 (PDT) Received: from localhost ([2607:fea8:529e:7800::bdee]) by smtp.gmail.com with ESMTPSA id e6-20020a0cb446000000b00626161ea7a3sm4474507qvf.2.2023.08.15.15.31.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Aug 2023 15:31:37 -0700 (PDT) From: Richard Acayan To: "Rafael J. Wysocki" , Viresh Kumar , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson , Konrad Dybcio , Georgi Djakov , Manivannan Sadhasivam , Sibi Sankar , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Richard Acayan Subject: [PATCH 3/3] arm64: dts: qcom: sdm670: add specific cpufreq compatible Date: Tue, 15 Aug 2023 18:31:12 -0400 Message-ID: <20230815223108.306018-8-mailingradian@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230815223108.306018-5-mailingradian@gmail.com> References: <20230815223108.306018-5-mailingradian@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The bindings for the CPU frequency scaling driver require a specific compatible for the SoC. Add the compatible. Fixes: 0c665213d126 ("arm64: dts: qcom: sdm670: add cpu frequency scaling") Signed-off-by: Richard Acayan --- arch/arm64/boot/dts/qcom/sdm670.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm670.dtsi b/arch/arm64/boot/dts/qcom/sdm670.dtsi index 0ac39d3d68ca..77ec0de08c2c 100644 --- a/arch/arm64/boot/dts/qcom/sdm670.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm670.dtsi @@ -1520,7 +1520,7 @@ osm_l3: interconnect@17d41000 { }; cpufreq_hw: cpufreq@17d43000 { - compatible = "qcom,cpufreq-hw"; + compatible = "qcom,sdm670-cpufreq-hw", "qcom,cpufreq-hw"; reg = <0 0x17d43000 0 0x1400>, <0 0x17d45800 0 0x1400>; reg-names = "freq-domain0", "freq-domain1";