From patchwork Thu Sep 1 07:24:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 601862 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 D3F50C67868 for ; Thu, 1 Sep 2022 07:25:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233700AbiIAHZt (ORCPT ); Thu, 1 Sep 2022 03:25:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233919AbiIAHZZ (ORCPT ); Thu, 1 Sep 2022 03:25:25 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 034CEEA311; Thu, 1 Sep 2022 00:24:25 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id s23so8514170wmj.4; Thu, 01 Sep 2022 00:24:25 -0700 (PDT) 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; bh=pftcIgoM6OJkLywa4kaUHZZ9hBWiNzvtR2zUkRq+9LU=; b=f6wLjYA7tITjujOumV5zMtHdeRjPh+n7fuwloqWJ2U+KKobW8P+OcusT6AYQH9yhwF vWbe5sn5Wmr5J++mK/qQ7Pw2KUyNM5/WoxAJBvDU5YYgF2r9bCnSFKnnjoAL1cZIXfeE UF+4CtrTXs9EJ6T/JAaA/OXBER2KyOIyeIkU3oxWTx9QKEB//SzW3xd/H3T8RzWOblRs q1UU3+rGb/czSV5ijZCGrGvIk8KmnV0Fun6aHC8CIShcDQfBFKrWjfC/Z4fH5umD3Myn 7rn3ahDNFqD7LZ8iky0rGiabgbQcKYJIQ1trSwHdndR20P2CB5a/qwR0qvhQWRNJlgmX FYrQ== 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; bh=pftcIgoM6OJkLywa4kaUHZZ9hBWiNzvtR2zUkRq+9LU=; b=5H52xoaYtMjXhU1ER+SfgUAVwz2emx87zhLShy6gquwaw42OOLvobcckhSLqjH42Cc TOus1/87J6cSNeSqnUFHgZgJgj1OdHXlYfAVtFkOFMSzb2FAbjJj6u0i7UR2g/7qCVVB ekPLIhoZZbtPoj8ar3Er7tXR3yyFvWiHPXS7lW167c2Xhn9Sqd2EgNVr0KoeQT/n0cOz bPwUiVtZFOlQv0YnjlKpet0O9lPtrVlCdbTZlS6HWknNvW4yvYm1AZjrv5LOS5WMXCIh QnEWX3z5CgHFGvsdIsGnNLPZcVdUyZ7x8wcvlxw/R6t6wtjTTyHeuMyCRTRnk9WeNKP/ g/ng== X-Gm-Message-State: ACgBeo12CrRMPBZmQ62yxu4eoajugD8r3SS2mguG6Pzwd5VFf0qI4VRC DXt5D4a5dkt4+5SUIe7pTL4= X-Google-Smtp-Source: AA6agR6y158f9uhzrI3wdo7j2IasIstv9uZU2W2pXVmPvHntbOyW6Y476Gj13kx33jgn6knrb3q+GQ== X-Received: by 2002:a05:600c:358c:b0:3a5:dac0:dc3 with SMTP id p12-20020a05600c358c00b003a5dac00dc3mr4002936wmq.60.1662017064051; Thu, 01 Sep 2022 00:24:24 -0700 (PDT) Received: from localhost (87-126-55-15.ip.btc-net.bg. [87.126.55.15]) by smtp.gmail.com with ESMTPSA id v14-20020a5d43ce000000b00226d1b81b45sm15570354wrr.27.2022.09.01.00.24.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Sep 2022 00:24:23 -0700 (PDT) From: Iskren Chernev To: Bjorn Andersson , Rob Herring Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Iskren Chernev , Andy Gross , Konrad Dybcio , Krzysztof Kozlowski , linux-kernel@vger.kernel.org Subject: [PATCH 01/14] arm64: dts: qcom: sm6115: Add basic soc dtsi Date: Thu, 1 Sep 2022 10:24:00 +0300 Message-Id: <20220901072414.1923075-2-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220901072414.1923075-1-iskren.chernev@gmail.com> References: <20220901072414.1923075-1-iskren.chernev@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add support for Qualcomm SM6115 SoC. This includes bare minimum: - CPUs - intc - timer - reserved memory Signed-off-by: Iskren Chernev --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 433 +++++++++++++++++++++++++++ 1 file changed, 433 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sm6115.dtsi diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi new file mode 100644 index 000000000000..69d9de540478 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -0,0 +1,433 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (c) 2021, Iskren Chernev + */ + +#include +#include +#include +#include +#include + +/ { + interrupt-parent = <&intc>; + + #address-cells = <2>; + #size-cells = <2>; + + chosen { }; + + clocks { + xo_board: xo-board { + compatible = "fixed-clock"; + clock-frequency = <19200000>; + #clock-cells = <0>; + clock-output-names = "xo_board"; + }; + + sleep_clk: sleep-clk { + compatible = "fixed-clock"; + clock-frequency = <32764>; + #clock-cells = <0>; + clock-output-names = "sleep_clk"; + }; + }; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + CPU0: cpu@0 { + device_type = "cpu"; + compatible = "qcom,kryo260"; + reg = <0x0 0x0>; + capacity-dmips-mhz = <1024>; + dynamic-power-coefficient = <100>; + enable-method = "psci"; + next-level-cache = <&L2_0>; + L2_0: l2-cache { + compatible = "cache"; + cache-level = <2>; + }; + }; + + CPU1: cpu@1 { + device_type = "cpu"; + compatible = "qcom,kryo260"; + reg = <0x0 0x1>; + capacity-dmips-mhz = <1024>; + dynamic-power-coefficient = <100>; + enable-method = "psci"; + next-level-cache = <&L2_0>; + }; + + CPU2: cpu@2 { + device_type = "cpu"; + compatible = "qcom,kryo260"; + reg = <0x0 0x2>; + capacity-dmips-mhz = <1024>; + dynamic-power-coefficient = <100>; + enable-method = "psci"; + next-level-cache = <&L2_0>; + }; + + CPU3: cpu@3 { + device_type = "cpu"; + compatible = "qcom,kryo260"; + reg = <0x0 0x3>; + capacity-dmips-mhz = <1024>; + dynamic-power-coefficient = <100>; + enable-method = "psci"; + next-level-cache = <&L2_0>; + }; + + CPU4: cpu@100 { + device_type = "cpu"; + compatible = "qcom,kryo260"; + reg = <0x0 0x100>; + enable-method = "psci"; + capacity-dmips-mhz = <1638>; + dynamic-power-coefficient = <282>; + next-level-cache = <&L2_1>; + L2_1: l2-cache { + compatible = "cache"; + cache-level = <2>; + }; + }; + + CPU5: cpu@101 { + device_type = "cpu"; + compatible = "qcom,kryo260"; + reg = <0x0 0x101>; + capacity-dmips-mhz = <1638>; + dynamic-power-coefficient = <282>; + enable-method = "psci"; + next-level-cache = <&L2_1>; + }; + + CPU6: cpu@102 { + device_type = "cpu"; + compatible = "qcom,kryo260"; + reg = <0x0 0x102>; + capacity-dmips-mhz = <1638>; + dynamic-power-coefficient = <282>; + enable-method = "psci"; + next-level-cache = <&L2_1>; + }; + + CPU7: cpu@103 { + device_type = "cpu"; + compatible = "qcom,kryo260"; + reg = <0x0 0x103>; + capacity-dmips-mhz = <1638>; + dynamic-power-coefficient = <282>; + enable-method = "psci"; + next-level-cache = <&L2_1>; + }; + + cpu-map { + cluster0 { + core0 { + cpu = <&CPU0>; + }; + + core1 { + cpu = <&CPU1>; + }; + + core2 { + cpu = <&CPU2>; + }; + + core3 { + cpu = <&CPU3>; + }; + }; + + cluster1 { + core0 { + cpu = <&CPU4>; + }; + + core1 { + cpu = <&CPU5>; + }; + + core2 { + cpu = <&CPU6>; + }; + + core3 { + cpu = <&CPU7>; + }; + }; + }; + }; + + firmware { + scm: scm { + compatible = "qcom,scm-sm6115", "qcom,scm"; + #reset-cells = <1>; + }; + }; + + tcsr_mutex: hwlock { + compatible = "qcom,tcsr-mutex"; + syscon = <&tcsr_mutex_regs 0 0x1000>; + #hwlock-cells = <1>; + }; + + memory { + device_type = "memory"; + /* We expect the bootloader to fill in the reg */ + reg = <0 0 0 0>; + }; + + pmu { + compatible = "arm,armv8-pmuv3"; + interrupts = ; + }; + + psci { + compatible = "arm,psci-1.0"; + method = "smc"; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + hyp_mem: memory@45700000 { + reg = <0x0 0x45700000 0x0 0x600000>; + no-map; + }; + + xbl_aop_mem: memory@45e00000 { + reg = <0x0 0x45e00000 0x0 0x140000>; + no-map; + }; + + sec_apps_mem: memory@45fff000 { + reg = <0x0 0x45fff000 0x0 0x1000>; + no-map; + }; + + smem_mem: memory@46000000 { + reg = <0x0 0x46000000 0x0 0x200000>; + no-map; + }; + + cdsp_sec_mem: memory@46200000 { + reg = <0x0 0x46200000 0x0 0x1e00000>; + no-map; + }; + + pil_modem_mem: memory@4ab00000 { + reg = <0x0 0x4ab00000 0x0 0x6900000>; + no-map; + }; + + pil_video_mem: memory@51400000 { + reg = <0x0 0x51400000 0x0 0x500000>; + no-map; + }; + + wlan_msa_mem: memory@51900000 { + reg = <0x0 0x51900000 0x0 0x100000>; + no-map; + }; + + pil_cdsp_mem: memory@51a00000 { + reg = <0x0 0x51a00000 0x0 0x1e00000>; + no-map; + }; + + pil_adsp_mem: memory@53800000 { + reg = <0x0 0x53800000 0x0 0x2800000>; + no-map; + }; + + pil_ipa_fw_mem: memory@56100000 { + reg = <0x0 0x56100000 0x0 0x10000>; + no-map; + }; + + pil_ipa_gsi_mem: memory@56110000 { + reg = <0x0 0x56110000 0x0 0x5000>; + no-map; + }; + + pil_gpu_mem: memory@56115000 { + reg = <0x0 0x56115000 0x0 0x2000>; + no-map; + }; + + cont_splash_memory: memory@5c000000 { + reg = <0x0 0x5c000000 0x0 0x00f00000>; + no-map; + }; + + dfps_data_memory: memory@5cf00000 { + reg = <0x0 0x5cf00000 0x0 0x0100000>; + no-map; + }; + + removed_mem: memory@60000000 { + reg = <0x0 0x60000000 0x0 0x3900000>; + no-map; + }; + + secure_display_memory: memory@f3c00000 { + reg = <0x0 0xf3c00000 0x0 0x5c00000>; + no-map; + }; + + dump_mem: memory@f9800000 { + reg = <0x0 0xf9800000 0x0 0x800000>; + no-map; + }; + + adsp_mem: memory@fa000000 { + reg = <0x0 0xfa000000 0x0 0x800000>; + no-map; + }; + + qseecom_mem: memory@fa800000 { + reg = <0x0 0xfa800000 0x0 0x1400000>; + no-map; + }; + + user_contig_mem: memory@fbc00000 { + reg = <0x0 0xfbc00000 0x0 0x1000000>; + no-map; + }; + + qseecom_ta_mem: memory@fcc00000 { + reg = <0x0 0xfcc00000 0x0 0x1000000>; + no-map; + }; + + linux_cma_mem: memory@fdc00000 { + reg = <0x0 0xfdc00000 0x0 0x2000000>; + no-map; + }; + + }; + + smem { + compatible = "qcom,smem"; + memory-region = <&smem_mem>; + qcom,rpm-msg-ram = <&rpm_msg_ram>; + hwlocks = <&tcsr_mutex 3>; + }; + + soc: soc { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0 0 0xffffffff>; + + qfprom@1b40000 { + compatible = "qcom,qfprom"; + reg = <0x1b40000 0x7000>; + #address-cells = <1>; + #size-cells = <1>; + + qusb2_hstx_trim: hstx_trim@25b { + reg = <0x25b 0x1>; + bits = <1 4>; + }; + }; + + tcsr_mutex_regs: syscon@1f40000 { + compatible = "syscon"; + reg = <0x340000 0x20000>; + }; + + rpm_msg_ram: memory@45f0000 { + compatible = "qcom,rpm-msg-ram"; + reg = <0x45f0000 0x7000>; + }; + + timer@f120000 { + compatible = "arm,armv7-timer-mem"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + reg = <0xf120000 0x1000>; + clock-frequency = <19200000>; + + frame@f121000 { + frame-number = <0>; + interrupts = , + ; + reg = <0xf121000 0x1000>, + <0xf122000 0x1000>; + }; + + frame@f123000 { + frame-number = <1>; + interrupts = ; + reg = <0xf123000 0x1000>; + status = "disabled"; + }; + + frame@f124000 { + frame-number = <2>; + interrupts = ; + reg = <0xf124000 0x1000>; + status = "disabled"; + }; + + frame@f125000 { + frame-number = <3>; + interrupts = ; + reg = <0xf125000 0x1000>; + status = "disabled"; + }; + + frame@f126000 { + frame-number = <4>; + interrupts = ; + reg = <0xf126000 0x1000>; + status = "disabled"; + }; + + frame@f127000 { + frame-number = <5>; + interrupts = ; + reg = <0xf127000 0x1000>; + status = "disabled"; + }; + + frame@f128000 { + frame-number = <6>; + interrupts = ; + reg = <0xf128000 0x1000>; + status = "disabled"; + }; + }; + + intc: interrupt-controller@f200000 { + compatible = "arm,gic-v3"; + #interrupt-cells = <3>; + interrupt-controller; + interrupt-parent = <&intc>; + #redistributor-regions = <1>; + redistributor-stride = <0x0 0x20000>; + reg = <0xf200000 0x10000>, + <0xf300000 0x100000>; + interrupts = ; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupts = , + , + , + ; + clock-frequency = <19200000>; + }; +}; From patchwork Thu Sep 1 07:24:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 602489 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 ED31FC54EE9 for ; Thu, 1 Sep 2022 07:25:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233962AbiIAHZr (ORCPT ); Thu, 1 Sep 2022 03:25:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233920AbiIAHZZ (ORCPT ); Thu, 1 Sep 2022 03:25:25 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A2531257DC; Thu, 1 Sep 2022 00:24:28 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id h204-20020a1c21d5000000b003a5b467c3abso809261wmh.5; Thu, 01 Sep 2022 00:24:28 -0700 (PDT) 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; bh=L2uh9K2VjTAJTjLgoqSW0ywBONxF4H1K/tbZKUAc0eA=; b=hBWb4GP47ntfmGRvHuSrfGPYqGQRtFAwq1nikuVZZqnJkqfSkJcQp47DPSC65opylY 0EYXGX1bZF+15wlvmz/w7TRV8ovc86C/LIX2In7KdUBHS2t2pcPFye8hAo2qLp0vzJVw 4G6a3TaJN8B7GxAuBvvfvgq3Lqrz3E9dQGzQik7wC19VrDPfKSdJnsU4QorV/UraWcVR FhM8SxaUlzF2zHRK3MdXfrKrjo2juNIbZoUJh3de6IA5yWiC4vJ1ZUwtKP/iixyaOPTS 7BuCVAr+74FjcXWJadKlatxLTvyF4dABuZeVTe5knjDd1l+ad9Uvb/MyMtXAZV2bf9v6 4SUQ== 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; bh=L2uh9K2VjTAJTjLgoqSW0ywBONxF4H1K/tbZKUAc0eA=; b=gSn5QI9NKSksq+75wLw4eEo38kl5NLT7TQT129uJ51SV0csrFFU6NR3kvE9npGAOpA YBp1gPJmc3OL803iq/QKhEAdFhxaD3BcVxsiphzjhwrHIMp2EFWchJk04X5KGkzT8gsg XoqiwaxwsScQ/yBVL4Mp0NI70wkplE2e44sqzUZyPRJoHGAYh6R4Q5W3a86ydcaGdU1F k3KVBu9vrC3AYeBxAIjgLJFVod0NgN9zT0811H5vsvWqpBx9WRMyHxQLXldHiHp0O1LN 5y9v4yTXjTuaiUCwwT3pyrLrG6OiSEB+oIB9ZavDIuMIJattzISCdWtd5oErSmyCI3ho FdNA== X-Gm-Message-State: ACgBeo1K3/Mkvpxktew4aUbekC0pGDr99FHmMfzJRqRrsdan2Gg49Tt1 pEKMy9ghqXWqWYfbbL79CKw= X-Google-Smtp-Source: AA6agR7DVwjOuMe0d4rXBImHXkagxdxmES+lDo9YMMrhu8jSGJNmB47udGmtZk1oy8P1L/nYE9OC4A== X-Received: by 2002:a05:600c:2059:b0:3a5:92cc:19c5 with SMTP id p25-20020a05600c205900b003a592cc19c5mr3996426wmg.101.1662017066816; Thu, 01 Sep 2022 00:24:26 -0700 (PDT) Received: from localhost (87-126-55-15.ip.btc-net.bg. [87.126.55.15]) by smtp.gmail.com with ESMTPSA id q28-20020a056000137c00b002205cbc1c74sm13768905wrz.101.2022.09.01.00.24.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Sep 2022 00:24:26 -0700 (PDT) From: Iskren Chernev To: Bjorn Andersson , Rob Herring Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Iskren Chernev , Andy Gross , Konrad Dybcio , Krzysztof Kozlowski , linux-kernel@vger.kernel.org Subject: [PATCH 02/14] arm64: dts: qcom: sm6115: Add rpmcc and rpmpd nodes Date: Thu, 1 Sep 2022 10:24:01 +0300 Message-Id: <20220901072414.1923075-3-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220901072414.1923075-1-iskren.chernev@gmail.com> References: <20220901072414.1923075-1-iskren.chernev@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The sm6115 uses glink rpm to control some clocks and regulators. Signed-off-by: Iskren Chernev --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 67 ++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 69d9de540478..7496b3e0ff48 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -315,6 +315,66 @@ linux_cma_mem: memory@fdc00000 { }; + rpm-glink { + compatible = "qcom,glink-rpm"; + + interrupts = ; + qcom,rpm-msg-ram = <&rpm_msg_ram>; + mboxes = <&apcs_glb 0>; + + rpm_requests: rpm-requests { + compatible = "qcom,rpm-sm6115"; + qcom,glink-channels = "rpm_requests"; + + rpmcc: rpmcc { + compatible = "qcom,rpmcc-sm6115"; + #clock-cells = <1>; + }; + + rpmpd: power-controller { + compatible = "qcom,sm6115-rpmpd"; + #power-domain-cells = <1>; + operating-points-v2 = <&rpmpd_opp_table>; + + rpmpd_opp_table: opp-table { + compatible = "operating-points-v2"; + + rpmpd_opp_min_svs: opp1 { + opp-level = ; + }; + + rpmpd_opp_low_svs: opp2 { + opp-level = ; + }; + + rpmpd_opp_svs: opp3 { + opp-level = ; + }; + + rpmpd_opp_svs_plus: opp4 { + opp-level = ; + }; + + rpmpd_opp_nom: opp5 { + opp-level = ; + }; + + rpmpd_opp_nom_plus: opp6 { + opp-level = ; + }; + + rpmpd_opp_turbo: opp7 { + opp-level = ; + }; + + rpmpd_opp_turbo_plus: opp8 { + opp-level = ; + }; + }; + }; + }; + }; + smem { compatible = "qcom,smem"; memory-region = <&smem_mem>; @@ -350,6 +410,13 @@ rpm_msg_ram: memory@45f0000 { reg = <0x45f0000 0x7000>; }; + apcs_glb: mailbox@f111000 { + compatible = "qcom,sm6115-apcs-hmss-global"; + reg = <0xf111000 0x1000>; + + #mbox-cells = <1>; + }; + timer@f120000 { compatible = "arm,armv7-timer-mem"; #address-cells = <1>; From patchwork Thu Sep 1 07:24:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 602488 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 181FAECAAD3 for ; Thu, 1 Sep 2022 07:26:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233921AbiIAHZ5 (ORCPT ); Thu, 1 Sep 2022 03:25:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233652AbiIAHZa (ORCPT ); Thu, 1 Sep 2022 03:25:30 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4484F1264B3; Thu, 1 Sep 2022 00:24:31 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id k6-20020a05600c1c8600b003a54ecc62f6so867035wms.5; Thu, 01 Sep 2022 00:24:31 -0700 (PDT) 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; bh=B3Oi4ISMm7UdYV++8x2M6I2Kowk7pRqgdJUjdnaMDkU=; b=RzHusp8DKwe72M5ISQsq/uNk8lduXoXj5FqkKQPgTUgP7CPUcAocK4HvV5x0eBgHgh eMeh9RoW8tq6N+bwYVuRyCKwtBFNfmRghYfyLiXTfzP1spQSArqvIqiHF3bRtw3kJv9y IUamQsCDUnJvzFXmVIWjjOhDTIsQsBOVTl62ksc60XrIf1KPv5JkDJ71NBSFdV54Dq+u o46td1Dp8GRNEMWpOK8WdWM1ivXOcqCzQ4ttBoLoN/gZB4p8XLibS08AEWLnJBVm/TbG wL8oQeaxyTs8W1U0fJsdvF3I6nxgrDrGnlYfG+CrnnVpev9L76JXHeqOTveTF0S2irhn AHwQ== 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; bh=B3Oi4ISMm7UdYV++8x2M6I2Kowk7pRqgdJUjdnaMDkU=; b=WAvA4p3n0ievBLFBXTneyj1ei+9GKY3vDga2NMHOOCfgczWLq46Zvi3jJtHfd4HlVN 6j8uCncec5hYUn4VpBWzcmZ/X79AhQ/8cbzDHklISGe2WHqz+MVYrER2M7l+8eC0Uee9 dZo7BNj+hjW10/8ctvYjyV56U9DvWpl+YiQjTTu41shL9drZK/pFhIanLWn+9cDYExoo GeqeeNDEmnhBAYCZlUs/fCpDnCq2/3IkBbuhic9m+/s8EM93YOHJv6AEthflbsJEXuWP UPqqFiSgOUwF4mGGFUP9iJc5miFOy6ojf1tOO1OMW5pSWkyxISk9wR0yIttpjGJvu7om DgMA== X-Gm-Message-State: ACgBeo0kW1UATxaKgFZlXb3sg/8zZrO3D3khwEChVaOttNk0I62hExYf Q2KEla3MYsNDtc21kxbF5sI= X-Google-Smtp-Source: AA6agR68I90fXiUz/6KzqcPfBZbXEkWEUyzSxKNMwtFkN9YzjcpZfV80UU2cKptwaMn7fb2/Ws52yQ== X-Received: by 2002:a7b:cbd0:0:b0:3a6:9f6:a3e8 with SMTP id n16-20020a7bcbd0000000b003a609f6a3e8mr4140180wmi.13.1662017069756; Thu, 01 Sep 2022 00:24:29 -0700 (PDT) Received: from localhost (87-126-55-15.ip.btc-net.bg. [87.126.55.15]) by smtp.gmail.com with ESMTPSA id bn6-20020a056000060600b00222ed7ea203sm12551636wrb.100.2022.09.01.00.24.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Sep 2022 00:24:29 -0700 (PDT) From: Iskren Chernev To: Bjorn Andersson , Rob Herring Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Iskren Chernev , Andy Gross , Konrad Dybcio , Krzysztof Kozlowski , linux-kernel@vger.kernel.org Subject: [PATCH 03/14] arm64: dts: qcom: sm6115: Add GCC node Date: Thu, 1 Sep 2022 10:24:02 +0300 Message-Id: <20220901072414.1923075-4-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220901072414.1923075-1-iskren.chernev@gmail.com> References: <20220901072414.1923075-1-iskren.chernev@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add support for the main clock bundle on the SM6115. Signed-off-by: Iskren Chernev --- 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 7496b3e0ff48..5af915e80017 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -388,6 +388,17 @@ soc: soc { #size-cells = <1>; ranges = <0 0 0 0xffffffff>; + gcc: clock-controller@1400000 { + compatible = "qcom,gcc-sm6115", "syscon"; + reg = <0x1400000 0x1f0000>; + reg-names = "cc_base"; + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&sleep_clk>; + clock-names = "bi_tcxo", "sleep_clk"; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + qfprom@1b40000 { compatible = "qcom,qfprom"; reg = <0x1b40000 0x7000>; From patchwork Thu Sep 1 07:24:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 601861 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 855BBC54EE9 for ; Thu, 1 Sep 2022 07:26:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233994AbiIAH0G (ORCPT ); Thu, 1 Sep 2022 03:26:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233449AbiIAHZb (ORCPT ); Thu, 1 Sep 2022 03:25:31 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AE985723C; Thu, 1 Sep 2022 00:24:33 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id s23so8514368wmj.4; Thu, 01 Sep 2022 00:24:33 -0700 (PDT) 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; bh=WeCYZ1NLeC6oWD37sHmXkbknX9yHBY6gYtZqQeU9o70=; b=Wiuhc43R0qeGSTJLrT6FAI5eGzncp2+QYzsCBo4E8/fHq4W8oarISlLFHcgCnbDqtl uTOD5Y5e1JMAGKPdQeh/tDvKZA/fgm2xg/pKOxLfceur4uQX1F+5SP7WFQwDxij6wtN1 WEBWIHlbUa/KUyJZoLrAJtOLLhoDAwdWLLsVAlWpGi71G7gsGoufmAOADjUSHkqRVaAG g+Jj4Mdm8rAYaq9U25pZzroY17i/wiJBpaGHpsTiVPKLtk58gfgkmYtTF4yx3QUOy0Ql Sz+vL93cH/mGZtPZEM7III2mWvLsI8Qa4QAR9mwFa/4r35+6lRo3QPXT8nU6SYim5CXc Qg5Q== 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; bh=WeCYZ1NLeC6oWD37sHmXkbknX9yHBY6gYtZqQeU9o70=; b=QvjlXub55vbk4IUtz/wRDFXn56zgSceq5jPfW8VIdzxAKxs+XeDwku8pHddEocqNIV p575HfL6TEUk2wnRIYqJ4qGrCy3mvwJkyOXsqif/WlWlTKhE4aGqMXeOq/3UgnDtR9vH ewR5ZzaJZYQ7FQAPT2jzHRhegSM/9JHsw5p67X4K62bgRfD5qXcyNJwZpHiIDQOKnZNX BLAvaWm7HlBz/nAimlT1Kq7SVjvG5sxqT2I8YEmBlt8YNSK7A9swR4DipSz6+Vv7LhmX vKDu7u2qKsQVQEjDfBLMS0E+vat13Lu13JsDPJvX2EV3mn6m3Z0VhRXLIkMToLuXxHxr yM+w== X-Gm-Message-State: ACgBeo1xwMhiHcdCcjs0pWZchsfFta8vhjEw8VPs4fJ5iM7CJ1tV9Fok Ve/S32YiVUPxsYS7DsFjJyM= X-Google-Smtp-Source: AA6agR5p2mYrRc/Bg7Ce6Ub0BdBarQijuTPpLXxdg0CpeqiO5OfVEIcAdI+7saDG/i55p6qj0TKNSA== X-Received: by 2002:a05:600c:4f09:b0:3a8:3d5f:371f with SMTP id l9-20020a05600c4f0900b003a83d5f371fmr4159102wmq.94.1662017073210; Thu, 01 Sep 2022 00:24:33 -0700 (PDT) Received: from localhost (87-126-55-15.ip.btc-net.bg. [87.126.55.15]) by smtp.gmail.com with ESMTPSA id n5-20020a05600c3b8500b003a319b67f64sm10887379wms.0.2022.09.01.00.24.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Sep 2022 00:24:32 -0700 (PDT) From: Iskren Chernev To: Bjorn Andersson , Rob Herring Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Iskren Chernev , Andy Gross , Konrad Dybcio , Krzysztof Kozlowski , linux-kernel@vger.kernel.org Subject: [PATCH 04/14] arm64: dts: qcom: sm6115: Add pinctrl node Date: Thu, 1 Sep 2022 10:24:03 +0300 Message-Id: <20220901072414.1923075-5-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220901072414.1923075-1-iskren.chernev@gmail.com> References: <20220901072414.1923075-1-iskren.chernev@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add support for the TLMM on the SM6115. Signed-off-by: Iskren Chernev --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 5af915e80017..efbc81d2253b 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -388,6 +388,19 @@ soc: soc { #size-cells = <1>; ranges = <0 0 0 0xffffffff>; + tlmm: pinctrl@500000 { + compatible = "qcom,sm6115-tlmm"; + reg = <0x500000 0x400000>, + <0x900000 0x400000>, + <0xd00000 0x400000>; + reg-names = "west", "south", "east"; + interrupts = ; + gpio-controller; + gpio-ranges = <&tlmm 0 0 121>; + #gpio-cells = <2>; + interrupt-controller; + }; + gcc: clock-controller@1400000 { compatible = "qcom,gcc-sm6115", "syscon"; reg = <0x1400000 0x1f0000>; From patchwork Thu Sep 1 07:24:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 602487 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 7ED56C54EE9 for ; Thu, 1 Sep 2022 07:26:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233946AbiIAH0U (ORCPT ); Thu, 1 Sep 2022 03:26:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233949AbiIAHZf (ORCPT ); Thu, 1 Sep 2022 03:25:35 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D85E6E3975; Thu, 1 Sep 2022 00:24:37 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id az27so21106911wrb.6; Thu, 01 Sep 2022 00:24:37 -0700 (PDT) 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; bh=Gt10vt5CT1NQn1lPctepbuFvhWW8YbAlTctJQdZvPAo=; b=UIZXn4pvFuTzjKCfSf04Ygqa3XhrJdla1eDZ5hSqUh8vKRxt48X2V2H/der3QIPsU5 PIPGDfjxBcGWEdfNKJTELETAgLRZCGxjnVvtWvP4LvpaNGpkLzGuXFAafspnuSssTfst YhF9DBLiblnVl4YAlxqVMG9Kcr1W4YsTLbh3SgZ8m5DeSLgyK9I519OClkdP9WK3h99t UtJMWqPndafRSqvXzPQhygN59lU8tb+FW1AcnUOKqsIYFsuWLpPlrO7B8BkqlnXTKA9N EYw7SK8L5eg1lbKyPgAQnpk/Bb5UazsmOAPpL5dhurA3BwBAG2LJ4ZKRdNBNWrm67+VJ ksvQ== 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; bh=Gt10vt5CT1NQn1lPctepbuFvhWW8YbAlTctJQdZvPAo=; b=hcXrrvyYbmYHAbyNAsTlX3sDl21NcjcbK4l0GAQi8B3d0vura73gTg6GnnO97+exts PaFwvr42gMpR9NplkUhTBQYftq2axOKaR9ZcRnk20x4Ey1amRmaJnqqeeDq5iPR/zVL2 NLVr/ZabZFjM0muUAcNMvKgQUA12JgoTRyOa5FCM8MtoAIqDhIp68xcLqVCeV9Seh8mM wh/L9OnLfT14sXkolNvX2OOempiwOfKUIsq7OGgRaV0WygOJQcMgDL/NyhV40JPx0bo7 BlltiyHjiT/unrf9vfQZiEnTrTSMu70obJpkYRTPlpkuw9EpYeGMHhrSbLrkhWBDcDqa 3tHw== X-Gm-Message-State: ACgBeo3gObGmEWG+xK7Ioe/H12iIzaxvzYfbMs7X6S2zy/a3O2LbsPAp Eq4VD59gyfUH9X4KdN2WYcQ= X-Google-Smtp-Source: AA6agR5BwLsRQ9/7x+n9YAqW4S4hdLRQ4lbZDCQsJd8NQEsaAL62szHZm1Rw6StCHALHNYujAXY8TA== X-Received: by 2002:a05:6000:1549:b0:225:64d0:a5c2 with SMTP id 9-20020a056000154900b0022564d0a5c2mr13015677wry.87.1662017076504; Thu, 01 Sep 2022 00:24:36 -0700 (PDT) Received: from localhost (87-126-55-15.ip.btc-net.bg. [87.126.55.15]) by smtp.gmail.com with ESMTPSA id j38-20020a05600c1c2600b003a5c75bd36fsm4644548wms.10.2022.09.01.00.24.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Sep 2022 00:24:35 -0700 (PDT) From: Iskren Chernev To: Bjorn Andersson , Rob Herring Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Iskren Chernev , Andy Gross , Konrad Dybcio , Krzysztof Kozlowski , linux-kernel@vger.kernel.org Subject: [PATCH 05/14] arm64: dts: qcom: sm6115: Add apps smmu node Date: Thu, 1 Sep 2022 10:24:04 +0300 Message-Id: <20220901072414.1923075-6-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220901072414.1923075-1-iskren.chernev@gmail.com> References: <20220901072414.1923075-1-iskren.chernev@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add support for apps smmu (one of the two smmus) present on the SM6115. Signed-off-by: Iskren Chernev --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 73 ++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index efbc81d2253b..a6be8b93a44d 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -434,6 +434,79 @@ rpm_msg_ram: memory@45f0000 { reg = <0x45f0000 0x7000>; }; + apps_smmu: iommu@c600000 { + compatible = "qcom,sm6115-smmu-500", "arm,mmu-500"; + reg = <0xc600000 0x80000>; + #iommu-cells = <2>; + #global-interrupts = <1>; + + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + }; + apcs_glb: mailbox@f111000 { compatible = "qcom,sm6115-apcs-hmss-global"; reg = <0xf111000 0x1000>; From patchwork Thu Sep 1 07:24:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 601860 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 7548BECAAD8 for ; Thu, 1 Sep 2022 07:26:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234032AbiIAH03 (ORCPT ); Thu, 1 Sep 2022 03:26:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233764AbiIAHZf (ORCPT ); Thu, 1 Sep 2022 03:25:35 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9E52EE682; Thu, 1 Sep 2022 00:24:40 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id k9so21142447wri.0; Thu, 01 Sep 2022 00:24:40 -0700 (PDT) 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; bh=AJIl6VqM6vm5p4ptSn3Po2SC4HiT/nr8TjK5PxWJm7k=; b=cSy+zrsc4YEnxJV0s5BprZJI+o107Ym8i1qu/dP9/7A4iLQ9+UFHBTDVKr2HMgAjOK mmuBR9kMNbfuGaTwO8oknMocwEMAkAgw6V+5YgSsKmq57Pfn/AZeYi0vNyYNi6K9SaoU IWy1ThCLfswjjHqBdSwKf+53HPRGu607i9zjWDPQ6zXALpLlRfaHBwER6+KTBkCuzty+ g8va4s1L8VgjAurdsSO++6C/J9k3r/NJ5slDIY6K62oz3wJHKf5lS3nMIYFe5zlnGZHA j+u5KZydLZ+YEbdSENqcDQ1rj/Cu+caS0rm0aO/+54Vz78hfk0UGzPvn67b9mc263Rbk 8nig== 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; bh=AJIl6VqM6vm5p4ptSn3Po2SC4HiT/nr8TjK5PxWJm7k=; b=KdLz95D1dlyQZiTXLwHIcR9NUWZQny1xu6HgmcLrYIAcQhXFFOv/A+ApIHqD4PRpgE XR/VtuDBKIZUyP2XrTPr+GG2JYlv+UAuhLyG2dEVhJUFnPHkzH7ncF7dDukdCzVhJI/e LFMq5f2smLjZRCj4hoOkMO1nR9aCYgPfsT7M6SyFEmQkzzg12dEp8vjIuSHw95oJ5sfw SB65QFRjZMQw+CKrNyovfQfHpCyPzZDv9pDDRpYd3HpzzVgt7vhuePqkye7feVZD7Yuy tQA+2LJHjgHCizVRNG06l1V2ZrzmtLsTNBIOvGKsOnAoYiJ3mY4HVy5JJnMlda+fpcw0 6Sqw== X-Gm-Message-State: ACgBeo1e51A6TriWgzODGViFjcKYiY0FYkdCZHLVSRx7DnZcoFG4YK3S aAobzKI6NNNP/oVydQkNtQQGxL32K3Q= X-Google-Smtp-Source: AA6agR6oPH0gDeYcI23+iNP2rV+AY81gBxl/nar4+wjtrHkZf0RNiQOcVGgLXVfp78pxJhrIUlG12w== X-Received: by 2002:a05:6000:258:b0:226:dc6e:9ef8 with SMTP id m24-20020a056000025800b00226dc6e9ef8mr9180591wrz.215.1662017079326; Thu, 01 Sep 2022 00:24:39 -0700 (PDT) Received: from localhost (87-126-55-15.ip.btc-net.bg. [87.126.55.15]) by smtp.gmail.com with ESMTPSA id g13-20020a05600c4ecd00b003a4c6e67f01sm5317127wmq.6.2022.09.01.00.24.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Sep 2022 00:24:38 -0700 (PDT) From: Iskren Chernev To: Bjorn Andersson , Rob Herring Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Iskren Chernev , Andy Gross , Konrad Dybcio , Krzysztof Kozlowski , linux-kernel@vger.kernel.org Subject: [PATCH 06/14] arm64: dts: qcom: sm6115: Add usb and related phy nodes Date: Thu, 1 Sep 2022 10:24:05 +0300 Message-Id: <20220901072414.1923075-7-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220901072414.1923075-1-iskren.chernev@gmail.com> References: <20220901072414.1923075-1-iskren.chernev@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add support for the USB controller and its HS PHY to SM6115. Signed-off-by: Iskren Chernev --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 62 ++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index a6be8b93a44d..00fd185c87aa 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -412,6 +412,21 @@ gcc: clock-controller@1400000 { #power-domain-cells = <1>; }; + hsusb_phy: phy@1613000 { + compatible = "qcom,sm6115-qusb2-phy"; + reg = <0x1613000 0x180>; + #phy-cells = <0>; + + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, + <&gcc GCC_AHB2PHY_USB_CLK>; + clock-names = "ref", "cfg_ahb"; + + resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>; + nvmem-cells = <&qusb2_hstx_trim>; + + status = "disabled"; + }; + qfprom@1b40000 { compatible = "qcom,qfprom"; reg = <0x1b40000 0x7000>; @@ -434,6 +449,53 @@ rpm_msg_ram: memory@45f0000 { reg = <0x45f0000 0x7000>; }; + usb3: usb@4ef8800 { + compatible = "qcom,sm6115-dwc3", "qcom,dwc3"; + reg = <0x04ef8800 0x400>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>, + <&gcc GCC_USB30_PRIM_MASTER_CLK>, + <&gcc GCC_SYS_NOC_USB3_PRIM_AXI_CLK>, + <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>, + <&gcc GCC_USB30_PRIM_SLEEP_CLK>, + <&gcc GCC_USB3_PRIM_CLKREF_CLK>; + clock-names = "cfg_noc", "core", "iface", "mock_utmi", + "sleep", "xo"; + + assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>, + <&gcc GCC_USB30_PRIM_MASTER_CLK>; + assigned-clock-rates = <19200000>, <66666667>; + + interrupts = , + ; + interrupt-names = "hs_phy_irq", "ss_phy_irq"; + + resets = <&gcc GCC_USB30_PRIM_BCR>; + power-domains = <&gcc GCC_USB30_PRIM_GDSC>; + qcom,select-utmi-as-pipe-clk; + status = "disabled"; + + usb3_dwc3: dwc3@4e00000 { + compatible = "snps,dwc3"; + reg = <0x04e00000 0xcd00>; + interrupts = ; + phys = <&hsusb_phy>; + phy-names = "usb2-phy"; + iommus = <&apps_smmu 0x120 0x0>; + snps,dis_u2_susphy_quirk; + snps,dis_enblslpm_quirk; + snps,has-lpm-erratum; + snps,hird-threshold = /bits/ 8 <0x10>; + snps,usb3_lpm_capable; + imod-interval-ns = <160>; + maximum-speed = "high-speed"; + dr_mode = "peripheral"; + }; + }; + apps_smmu: iommu@c600000 { compatible = "qcom,sm6115-smmu-500", "arm,mmu-500"; reg = <0xc600000 0x80000>; From patchwork Thu Sep 1 07:24:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 602486 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 A18CEC54EE9 for ; Thu, 1 Sep 2022 07:26:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233896AbiIAH0e (ORCPT ); Thu, 1 Sep 2022 03:26:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233875AbiIAHZn (ORCPT ); Thu, 1 Sep 2022 03:25:43 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2782A126DC6; Thu, 1 Sep 2022 00:24:44 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id n17-20020a05600c501100b003a84bf9b68bso868742wmr.3; Thu, 01 Sep 2022 00:24:44 -0700 (PDT) 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; bh=UdAmWTgkJipeODMGpW+N7ZQfDmGFLYG6XzCqt23eXNc=; b=SpQObxbZoUVQ69C0H4fWm7Pr3DFyq8Ct3i/elpvxSnYpxC9rpnAhpRyZR00Q06t0/U lGs1mOX1DK+TOT1fcrNNivAfgt8lSovh4ucSMbC/LOH1tJXckcTptLsKG4S9hubNONyV 7DcHnjlF5pmvaQHhXala85gakrKS15jp3ivAxdawgiUByqTvQpp61DCXBFIHq6uxRUj5 8yT2Ctdm5WueK5WvxKn5W1WDfGOC+2/3el3641vuL8qjQCdV3URO+5HfPHbB1iUk8ep8 EUBzWRW6HAK41XnWFTslGQA6mI3/Ct2ATkcAgA9YwYkmW5Hj4EiwNLQ9+YSWHm+wWJX/ IB3A== 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; bh=UdAmWTgkJipeODMGpW+N7ZQfDmGFLYG6XzCqt23eXNc=; b=E6hQMZhYBNaDhU3cVbEVpac0gyKaa414WpbbzK/DaIwFhuqA/ZGflHGFE3FXbHYHWP qqW0pXoMtQdfp0pMgMHxgatKD6T09O/P1UW2gGokm7NfbLlGrrupdkxessMuxhu/g5/N uhyCQkN69ditqrbk8n/KMBy2K8IW/Njex7/Fj0yqljT0K/izGEEHQBv4VScNsPHmE44A X6pGe0eAeHqgxfF/yEZSIM9BjtPIQCqHeVuovxLKrorcTqs1WlEOYxmdiI8RWHi8V0Ik ZtwtBcvRKkiWCY/04zZb8TGCAs3Ec9EeF/Qvjw6FhdG4DO7xGfe7NZBWVirnkVm4GlnA 114A== X-Gm-Message-State: ACgBeo1ZyOT7PdDdVQBlE9MxuWKURXeZEgaJLaCj0hz4a2rR/DZFTNFo /6nlMDpuhdNBOO0inS+yUFI= X-Google-Smtp-Source: AA6agR6HYby52/attmvq0MBjTnGuNpyQR3Srj1VL/dtCxkOB/VOb/GPLMuKQgHPOOIMNJMnQ+OHN4Q== X-Received: by 2002:a05:600c:490:b0:3a5:a6aa:bf2f with SMTP id d16-20020a05600c049000b003a5a6aabf2fmr4155929wme.17.1662017082607; Thu, 01 Sep 2022 00:24:42 -0700 (PDT) Received: from localhost (87-126-55-15.ip.btc-net.bg. [87.126.55.15]) by smtp.gmail.com with ESMTPSA id u8-20020a5d4688000000b00226f2ab6e2asm1532165wrq.68.2022.09.01.00.24.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Sep 2022 00:24:41 -0700 (PDT) From: Iskren Chernev To: Bjorn Andersson , Rob Herring Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Iskren Chernev , Andy Gross , Konrad Dybcio , Krzysztof Kozlowski , linux-kernel@vger.kernel.org Subject: [PATCH 07/14] arm64: dts: qcom: sm6115: Add sdhci nodes and related pinctrl Date: Thu, 1 Sep 2022 10:24:06 +0300 Message-Id: <20220901072414.1923075-8-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220901072414.1923075-1-iskren.chernev@gmail.com> References: <20220901072414.1923075-1-iskren.chernev@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add support for the two sdhci's present on the SM6115 and the related pinctrl. Signed-off-by: Iskren Chernev --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 171 +++++++++++++++++++++++++++ 1 file changed, 171 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 00fd185c87aa..cde963c56ac9 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -399,6 +399,110 @@ tlmm: pinctrl@500000 { gpio-ranges = <&tlmm 0 0 121>; #gpio-cells = <2>; interrupt-controller; + + sdc1_state_on: sdc1-on { + clk { + pins = "sdc1_clk"; + bias-disable; + drive-strength = <16>; + }; + + cmd { + pins = "sdc1_cmd"; + bias-pull-up; + drive-strength = <10>; + }; + + data { + pins = "sdc1_data"; + bias-pull-up; + drive-strength = <10>; + }; + + rclk { + pins = "sdc1_rclk"; + bias-pull-down; + }; + }; + + sdc1_state_off: sdc1-off { + clk { + pins = "sdc1_clk"; + bias-disable; + drive-strength = <2>; + }; + + cmd { + pins = "sdc1_cmd"; + bias-pull-up; + drive-strength = <2>; + }; + + data { + pins = "sdc1_data"; + bias-pull-up; + drive-strength = <2>; + }; + + rclk { + pins = "sdc1_rclk"; + bias-pull-down; + }; + }; + + sdc2_state_on: sdc2-on { + clk { + pins = "sdc2_clk"; + bias-disable; + drive-strength = <16>; + }; + + cmd { + pins = "sdc2_cmd"; + bias-pull-up; + drive-strength = <10>; + }; + + data { + pins = "sdc2_data"; + bias-pull-up; + drive-strength = <10>; + }; + + sd-cd { + pins = "gpio88"; + function = "gpio"; + bias-pull-up; + drive-strength = <2>; + }; + }; + + sdc2_state_off: sdc2-off { + clk { + pins = "sdc2_clk"; + bias-disable; + drive-strength = <2>; + }; + + cmd { + pins = "sdc2_cmd"; + bias-pull-up; + drive-strength = <2>; + }; + + data { + pins = "sdc2_data"; + bias-pull-up; + drive-strength = <2>; + }; + + sd-cd { + pins = "gpio88"; + function = "gpio"; + bias-disable; + drive-strength = <2>; + }; + }; }; gcc: clock-controller@1400000 { @@ -449,6 +553,73 @@ rpm_msg_ram: memory@45f0000 { reg = <0x45f0000 0x7000>; }; + sdhc_1: sdhci@4744000 { + compatible = "qcom,sm6115-sdhci", "qcom,sdhci-msm-v5"; + reg = <0x4744000 0x1000>, <0x4745000 0x1000>, <0x4748000 0x8000>; + reg-names = "hc", "cqhci", "ice"; + + interrupts = , + ; + interrupt-names = "hc_irq", "pwr_irq"; + + clocks = <&gcc GCC_SDCC1_AHB_CLK>, + <&gcc GCC_SDCC1_APPS_CLK>, + <&xo_board>, + <&gcc GCC_SDCC1_ICE_CORE_CLK>; + clock-names = "iface", "core", "xo", "ice_core_clk"; + + pinctrl-0 = <&sdc1_state_on>; + pinctrl-1 = <&sdc1_state_off>; + pinctrl-names = "default", "sleep"; + + bus-width = <8>; + non-removable; + status = "disabled"; + }; + + sdhc_2: sdhci@4784000 { + compatible = "qcom,sm6115-sdhci", "qcom,sdhci-msm-v5"; + reg = <0x04784000 0x1000>; + reg-names = "hc"; + + interrupts = , + ; + interrupt-names = "hc_irq", "pwr_irq"; + + clocks = <&gcc GCC_SDCC2_AHB_CLK>, + <&gcc GCC_SDCC2_APPS_CLK>, + <&xo_board>; + clock-names = "iface", "core", "xo"; + + pinctrl-0 = <&sdc2_state_on>; + pinctrl-1 = <&sdc2_state_off>; + pinctrl-names = "default", "sleep"; + + power-domains = <&rpmpd SM6115_VDDCX>; + operating-points-v2 = <&sdhc2_opp_table>; + iommus = <&apps_smmu 0x00a0 0x0>; + resets = <&gcc GCC_SDCC2_BCR>; + + bus-width = <4>; + qcom,dll-config = <0x0007642c>; + qcom,ddr-config = <0x80040868>; + status = "disabled"; + + sdhc2_opp_table: sdhc2-opp-table { + compatible = "operating-points-v2"; + + opp-100000000 { + opp-hz = /bits/ 64 <100000000>; + required-opps = <&rpmpd_opp_low_svs>; + }; + + opp-202000000 { + opp-hz = /bits/ 64 <202000000>; + required-opps = <&rpmpd_opp_nom>; + }; + }; + }; + usb3: usb@4ef8800 { compatible = "qcom,sm6115-dwc3", "qcom,dwc3"; reg = <0x04ef8800 0x400>; From patchwork Thu Sep 1 07:24:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 601859 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 EFDE2C54EE9 for ; Thu, 1 Sep 2022 07:26:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234053AbiIAH0l (ORCPT ); Thu, 1 Sep 2022 03:26:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233958AbiIAHZp (ORCPT ); Thu, 1 Sep 2022 03:25:45 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AFA7CD7; Thu, 1 Sep 2022 00:24:47 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id k6-20020a05600c1c8600b003a54ecc62f6so867380wms.5; Thu, 01 Sep 2022 00:24:46 -0700 (PDT) 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; bh=cY+l91tY+B7VM/dwzAL+zzuJF29Y5udGdyhz4umwy4c=; b=JMBTTuo92KjqPR1nvLS7pzREKSahOWSc59GZOXo6jLd42B8esThrfa6K0hDo3alo2s Od/aXaTam70uLvGtpyqd/qF0Diaz+xx0vyookpI9wDKyd45zoFpnTNjJZqmCk7TBY0Fz uUyzMqTGcAGpLoarv2Y9l5iqaS5lIw6LEWJJDem5mz9++3NABZNJObnAjq7uy8U0gS5b kfLsSOPyuHZ1jz5EaKOEH+/m/+sFdsytwlIVZiQDarH9mM5ndjyqIkdgAdqSPKHAzykw 9J9Z62jF5oAU3YyJtFLBP4AuewKXwQ3rp9PYRzN8hbiLxBWpGx3HTxU55pDhntfGLPTh DnUg== 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; bh=cY+l91tY+B7VM/dwzAL+zzuJF29Y5udGdyhz4umwy4c=; b=Z6kL2P3tRIUHJyI/jIR1Ec879/cGUl2wcLg5UifZ8M0S4BpFO+ywdSukHqpaIYyilb vM5bPhApNrkLaLDTtFyeWKXyd/d37InASh7yz5sOOQVN1hMjVZJ6JThINOMfVdBxCzPA mw3LMCqGwCINTMDV5UqMw6JpLeePVqdbP3mIjUmQFIvkMH7o12Mj4no+ZLfCjmHZDpcH 3Y9WUe/EFTPvMrU+Of+jt3MCAG99gzfAWuPH2mmiiYAm1GTdZjAtfhcSSYSv7PMMa0BH t7ZKp1kWgb7vRYfCTbEeN+KWePJkuFGSVJepIXbVnQOl2fYtS/nQ2Zh/KLdhqQJTJUSm B2Tg== X-Gm-Message-State: ACgBeo2VhGjYNIK/H+5LXWqggT5jvEf8g6V0MsCHCu+CFZ3wiO+kp/R2 l4MrHTaKzvMt4ducsmoH8eY= X-Google-Smtp-Source: AA6agR5IOp0jyrkB6srkGByyAJaQ8JbsPW7iUCbNEpviTFAoIvUnxByzaCjG+dWybZU8uW4Dvgk7mg== X-Received: by 2002:a05:600c:4ec6:b0:3a5:ff4e:54d4 with SMTP id g6-20020a05600c4ec600b003a5ff4e54d4mr4153923wmq.25.1662017085601; Thu, 01 Sep 2022 00:24:45 -0700 (PDT) Received: from localhost (87-126-55-15.ip.btc-net.bg. [87.126.55.15]) by smtp.gmail.com with ESMTPSA id n18-20020a05600c501200b003a32251c3f9sm5173723wmr.5.2022.09.01.00.24.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Sep 2022 00:24:45 -0700 (PDT) From: Iskren Chernev To: Bjorn Andersson , Rob Herring Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Iskren Chernev , Andy Gross , Konrad Dybcio , Alim Akhtar , Avri Altman , Bart Van Assche , Krzysztof Kozlowski , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 08/14] dt-bindings: ufs: qcom: Add sm6115 binding Date: Thu, 1 Sep 2022 10:24:07 +0300 Message-Id: <20220901072414.1923075-9-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220901072414.1923075-1-iskren.chernev@gmail.com> References: <20220901072414.1923075-1-iskren.chernev@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add SM6115 UFS to DT schema. Signed-off-by: Iskren Chernev --- .../devicetree/bindings/ufs/qcom,ufs.yaml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml index f2d6298d926c..7c5f6e2e6d4c 100644 --- a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml @@ -28,6 +28,7 @@ properties: - qcom,msm8998-ufshc - qcom,sc8280xp-ufshc - qcom,sdm845-ufshc + - qcom,sm6115-ufshc - qcom,sm6350-ufshc - qcom,sm8150-ufshc - qcom,sm8250-ufshc @@ -178,6 +179,31 @@ allOf: minItems: 1 maxItems: 1 + - if: + properties: + compatible: + contains: + enum: + - qcom,sm6115-ufshc + then: + properties: + clocks: + minItems: 8 + maxItems: 8 + clock-names: + items: + - const: core_clk + - const: bus_aggr_clk + - const: iface_clk + - const: core_clk_unipro + - const: core_clk_ice + - const: ref_clk + - const: tx_lane0_sync_clk + - const: rx_lane0_sync_clk + reg: + minItems: 1 + maxItems: 1 + # TODO: define clock bindings for qcom,msm8994-ufshc unevaluatedProperties: false From patchwork Thu Sep 1 07:24:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 602485 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 74023C64991 for ; Thu, 1 Sep 2022 07:26:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234067AbiIAH0r (ORCPT ); Thu, 1 Sep 2022 03:26:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232470AbiIAHZq (ORCPT ); Thu, 1 Sep 2022 03:25:46 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E60F5E51; Thu, 1 Sep 2022 00:24:48 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id az27so21107512wrb.6; Thu, 01 Sep 2022 00:24:48 -0700 (PDT) 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; bh=W4sHhBFT7l0RZw3UjJyqKYPr5puCq7omf6aKnnWND30=; b=JQZZvUi6O0ekBj3q+z2Stpq3f90RJSDx3xoOvdXfAF8N0rSyGrLOA7leU6sDOpvgoO 50fduhhKDz94Yq/r9Z47JHLiyKu7sYX9pxM6CAk16dTsxL7oGIcsn1nGjO53Sv7l1X/+ wWDz3gEFby1KyOlMgu9+Urc3i5XFOA64jDY4Yqo3TTqyIVYvHTyyQ+355sjPNsLOY7Mb nlEiEjI3FfWhofbgEqCCw7AdaGgb4GKr7+/D5exkDgxhZbbJ1TVyyYW0/2g/8HdMGEhv 0plb1kZ4T+rlBgOfx7Qo5hGJeylsBNcBFsQZlAhLjMr3XG3KmNY/KpQgJnox/qe+yXpj EpNQ== 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; bh=W4sHhBFT7l0RZw3UjJyqKYPr5puCq7omf6aKnnWND30=; b=cslRbQgLzAHjfGwLBsKqG8reeIxfCtrM1Zp4Kj0Z3tNfkLJgyB6h4yMyEMhIAW9khd U0DBYCULDZVtmYeHP9/MnbXZQIe5rrdbS05z/A+UAs57epaoLnfdsYOETkU7oLzP4EHc ZWm090IFG1jVFTVmhoYy4VKXDoArGXIANKuPUuPazWWQxy/Bkzz+EX2P06vIp+me1Oa/ +bUIl2AUquXFbcVenPu8kD7FFbaFRLiwgO/a9WixUBOAZL0zMWhYq7dt+fKUSFW3KIT5 PNly91QXCtr/2YGqUsiXxLrxzKapHrpBMp7UF/316AUzmLKYbrioTiuzMHXbcfJbev9w FUPg== X-Gm-Message-State: ACgBeo1qtIpwubKYWqQdz3iZjUgDDgRqQYC8z6vcb98BzExldsa4mkWh kzStRIk3m8BDuvTR6Hbb+nc= X-Google-Smtp-Source: AA6agR5UAfAyP88xhdAn5WyYEnMT6lPL1ngs0NcfIIBlVKw6XqsJlHInPx6Gie40IB9NPz5vECUixA== X-Received: by 2002:a05:6000:904:b0:21a:3dca:4297 with SMTP id bz4-20020a056000090400b0021a3dca4297mr13599962wrb.487.1662017088630; Thu, 01 Sep 2022 00:24:48 -0700 (PDT) Received: from localhost (87-126-55-15.ip.btc-net.bg. [87.126.55.15]) by smtp.gmail.com with ESMTPSA id x14-20020a5d60ce000000b002252e5a6841sm13952561wrt.57.2022.09.01.00.24.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Sep 2022 00:24:48 -0700 (PDT) From: Iskren Chernev To: Bjorn Andersson , Rob Herring Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Iskren Chernev , Andy Gross , Konrad Dybcio , Krzysztof Kozlowski , linux-kernel@vger.kernel.org Subject: [PATCH 09/14] arm64: dts: qcom: sm6115: Add UFS nodes Date: Thu, 1 Sep 2022 10:24:08 +0300 Message-Id: <20220901072414.1923075-10-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220901072414.1923075-1-iskren.chernev@gmail.com> References: <20220901072414.1923075-1-iskren.chernev@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The SM6115 comes with UFS support, so add the related UFS and UFS PHY nodes. Signed-off-by: Iskren Chernev --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 70 ++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index cde963c56ac9..491fffff8aa1 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -620,6 +620,76 @@ opp-202000000 { }; }; + ufs_mem_hc: ufshc@4804000 { + compatible = "qcom,sm6115-ufshc", "qcom,ufshc", + "jedec,ufs-2.0"; + reg = <0x4804000 0x3000>, <0x4810000 0x8000>; + reg-names = "std", "ice"; + interrupts = ; + phys = <&ufs_mem_phy_lanes>; + phy-names = "ufsphy"; + lanes-per-direction = <1>; + #reset-cells = <1>; + resets = <&gcc GCC_UFS_PHY_BCR>; + reset-names = "rst"; + + power-domains = <&gcc GCC_UFS_PHY_GDSC>; + iommus = <&apps_smmu 0x100 0>; + + clocks = <&gcc GCC_UFS_PHY_AXI_CLK>, + <&gcc GCC_SYS_NOC_UFS_PHY_AXI_CLK>, + <&gcc GCC_UFS_PHY_AHB_CLK>, + <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>, + <&gcc GCC_UFS_PHY_ICE_CORE_CLK>, + <&rpmcc RPM_SMD_XO_CLK_SRC>, + <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>, + <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>; + clock-names = "core_clk", + "bus_aggr_clk", + "iface_clk", + "core_clk_unipro", + "core_clk_ice", + "ref_clk", + "tx_lane0_sync_clk", + "rx_lane0_sync_clk"; + + freq-table-hz = <50000000 200000000>, + <0 0>, + <0 0>, + <37500000 150000000>, + <75000000 300000000>, + <0 0>, + <0 0>, + <0 0>; + + non-removable; + status = "disabled"; + }; + + ufs_mem_phy: phy@4807000 { + compatible = "qcom,sm6115-qmp-ufs-phy"; + reg = <0x4807000 0x1c4>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + clocks = <&gcc GCC_UFS_CLKREF_CLK>, + <&gcc GCC_UFS_PHY_PHY_AUX_CLK>; + clock-names = "ref", "ref_aux"; + + resets = <&ufs_mem_hc 0>; + reset-names = "ufsphy"; + status = "disabled"; + + ufs_mem_phy_lanes: lanes@4807400 { + reg = <0x4807400 0x098>, + <0x4807600 0x130>, + <0x4807c00 0x16c>; + #phy-cells = <0>; + }; + }; + + usb3: usb@4ef8800 { compatible = "qcom,sm6115-dwc3", "qcom,dwc3"; reg = <0x04ef8800 0x400>; From patchwork Thu Sep 1 07:24:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 601858 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 21369C54EE9 for ; Thu, 1 Sep 2022 07:27:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234081AbiIAH1F (ORCPT ); Thu, 1 Sep 2022 03:27:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233599AbiIAHZ5 (ORCPT ); Thu, 1 Sep 2022 03:25:57 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57C12BCB8; Thu, 1 Sep 2022 00:24:53 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id bd26-20020a05600c1f1a00b003a5e82a6474so866823wmb.4; Thu, 01 Sep 2022 00:24:53 -0700 (PDT) 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; bh=Po8E7/OIBjbSJpNPSFcYw7gzbRFnsYc7RcCzMnBQZCE=; b=d+ZAEadifEtEK0I36qrNTGwR7qCxMEj/G5oudE0uUNdcMRZV1nVWyBCNE42U/e55ct JKDq5ldbWlHu2wi98fEKGTr+x3ciyq8FW2PNel3/7hbcUtYdVWeRVjSSUaTHQn/vwgyc RvQlgCUOe6WYi1K6Z7FGFQJWQ8sx4/177P9Q5c5MCRMdWRhPSUPjRjOCk+xVIhLM3eIu EdBM2b70gynfcr0lDaDOA2v7ASVG5jwbB7M+RBlYfKcjcvZmifEMfT+okI1e3Np6f9CU 9zeAZXyvvLfh8cb4hxHqPdHl0YQGfsoQNSkEJvUBRe+GuCRywu+yvR/sXPwKriYMzEW8 /VjA== 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; bh=Po8E7/OIBjbSJpNPSFcYw7gzbRFnsYc7RcCzMnBQZCE=; b=ppN7dyPG/OnD4ivAWkHClR5pA4bb2M1D8v9TwYZSZF+RxP6zQQpmERitIsrlSmO7p6 YTSX/omyimqamT+7ZfbV8y4zM6FkXoQW/2m46E/ayQKdkXqEHSCLyxCVHyk05zKYuGPQ dvG6MMBYJOzgAtTcZCMXPqNc5US0/yTg6Hkj0BBReiuWrBVeGMmaFV0PCR6U0U+EuyYl bdxG1LKf3DAChSK5ZmP5wd3ElxTHHvIpdo8UgybZbl+wmI8zHCq5/h4Tx5UQ+aCCpMpB yOdSsIwLMvMn8uQ6Hw/kNcBXUS3+rK0kw265oxjDJH0U1rnQUO1IEX8FysMfKeVW4vTu LXHQ== X-Gm-Message-State: ACgBeo2AvP9Hd6x73Ek2Ec4rSdft1CTMaC+9JpKZDsnQljoM7p+p3Q1M 4F2UYNjEtGj4964CIDx75Ps= X-Google-Smtp-Source: AA6agR4X3Xg49JGgo5+uiWIgYlxOk2IfYPYs3HN+jSnL2bjj3B9lNMNRvLsokdg2o7KqvVvcJ8PMAA== X-Received: by 2002:a05:600c:22ca:b0:3a5:c30d:ca9f with SMTP id 10-20020a05600c22ca00b003a5c30dca9fmr4172325wmg.25.1662017091310; Thu, 01 Sep 2022 00:24:51 -0700 (PDT) Received: from localhost (87-126-55-15.ip.btc-net.bg. [87.126.55.15]) by smtp.gmail.com with ESMTPSA id f14-20020a05600c4e8e00b003a5dbdea6a8sm5515967wmq.27.2022.09.01.00.24.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Sep 2022 00:24:50 -0700 (PDT) From: Iskren Chernev To: Bjorn Andersson , Rob Herring Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Iskren Chernev , Andy Gross , Konrad Dybcio , Krzysztof Kozlowski , linux-kernel@vger.kernel.org Subject: [PATCH 10/14] arm64: dts: qcom: sm6115: Add SPMI bus node Date: Thu, 1 Sep 2022 10:24:09 +0300 Message-Id: <20220901072414.1923075-11-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220901072414.1923075-1-iskren.chernev@gmail.com> References: <20220901072414.1923075-1-iskren.chernev@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add support for the SPMI bus on the SM6115. Signed-off-by: Iskren Chernev --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 491fffff8aa1..d578f8425e36 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -543,6 +543,25 @@ qusb2_hstx_trim: hstx_trim@25b { }; }; + spmi_bus: qcom,spmi@1c40000 { + compatible = "qcom,spmi-pmic-arb"; + reg = <0x1c40000 0x1100>, + <0x1e00000 0x2000000>, + <0x3e00000 0x100000>, + <0x3f00000 0xa0000>, + <0x1c0a000 0x26000>; + reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; + interrupt-names = "periph_irq"; + interrupts = ; + qcom,ee = <0>; + qcom,channel = <0>; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <4>; + cell-index = <0>; + }; + tcsr_mutex_regs: syscon@1f40000 { compatible = "syscon"; reg = <0x340000 0x20000>; From patchwork Thu Sep 1 07:24:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 602484 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 B885AECAAD8 for ; Thu, 1 Sep 2022 07:27:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234091AbiIAH1I (ORCPT ); Thu, 1 Sep 2022 03:27:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233990AbiIAH0F (ORCPT ); Thu, 1 Sep 2022 03:26:05 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0216824973; Thu, 1 Sep 2022 00:24:57 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id b5so21091300wrr.5; Thu, 01 Sep 2022 00:24:57 -0700 (PDT) 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; bh=w5hQ9lsg4aStVnWEe58NuxmSMBp6bNEY3Ax3y4vZW/0=; b=RFeGeqi16qSzVROI6DPTpkL3kAVLZ/kqbl1ZL/bTRjLlLtPTpjjUYRvZGjKqimHKlp QSVuNafhJ3QIWOGwM5BV7zS03nOJGIqyRdpAH6m/xYPbFtX097/WrFEPmNB6HC5iwT70 6lbrShSyKlKQhpquG/CUyUyunwEBNka4Xu8tA9fKGpWOZmUmGkckLdeTr62R/oap8DFu yDw3fTpOGC6kr6q1jPDsitXrygQXY4MNaGUUBXG2SFDO3Ck9qpUyQjF53z5/YtPcX8/E QEaOH596WRWEEYgFVmcXtY6JzmK2FpHny9BMwPCCJkQeO+qRGz6LRjKTizN+NkptE8Ws J0rg== 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; bh=w5hQ9lsg4aStVnWEe58NuxmSMBp6bNEY3Ax3y4vZW/0=; b=4ovrVrJNehNyJZqQYONID16AHzWNKpNqXr+DJC67SfVLZ+qjWgoCM25CEJr0I2R8q2 NEAoj8vVjU7s3DhTfvHXOe25MqrTS709rYSmvMvYaYzQ0yYupEIeL5Pj85Twwj+K1Tpy cAoYas//w+Q7hciEakvD0VZZLUgs0wK3ABFdpQMlEq3E+KO0Kc7QffTIZjU91Rnk7k5v IizUu0ovJijhtbl8xNHzYGi3MCCqShRLo4G5jp437+IFLJ/Zpv52wuOSLakJ7pSboRXA buAPVApnk/14KYlMRVPDtFCyE0a/9xUrN5LAgNkUTKgGdNHep3gEkLNxupnQpG1WCWLA bOYQ== X-Gm-Message-State: ACgBeo3QPDcWhmVWWDwyic5xxd9Lcaxwk5NVrqGtOJvHTYjCC7JpjXtI p8WSOrAm/FJzPAttDQD8y7s= X-Google-Smtp-Source: AA6agR5odP5Ugn3TkDqE478NxD4yIrxOlCn+qhJwW8/lHqdPEH1iwqertOhGy2R+w1bnYn4DIoIc8g== X-Received: by 2002:a5d:6d50:0:b0:225:89b2:a03a with SMTP id k16-20020a5d6d50000000b0022589b2a03amr14509418wri.51.1662017096204; Thu, 01 Sep 2022 00:24:56 -0700 (PDT) Received: from localhost (87-126-55-15.ip.btc-net.bg. [87.126.55.15]) by smtp.gmail.com with ESMTPSA id t12-20020a05600c198c00b003a2e92edeccsm4602717wmq.46.2022.09.01.00.24.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Sep 2022 00:24:55 -0700 (PDT) From: Iskren Chernev To: Bjorn Andersson , Rob Herring Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Iskren Chernev , Krzysztof Kozlowski , Vinod Koul , Robin Murphy , Stephan Gerhold , Luca Weiss , Maxime Ripard , Bartosz Dudziak , Lorenzo Pieralisi , linux-kernel@vger.kernel.org Subject: [PATCH 11/14] dt-bindings: arm: cpus: Add kryo240 compatible Date: Thu, 1 Sep 2022 10:24:10 +0300 Message-Id: <20220901072414.1923075-12-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220901072414.1923075-1-iskren.chernev@gmail.com> References: <20220901072414.1923075-1-iskren.chernev@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Kryo240 is found in SM4250, the slower sibling of the SM6115. Signed-off-by: Iskren Chernev --- Documentation/devicetree/bindings/arm/cpus.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml index a07c5bac7c46..5c13b73e4d57 100644 --- a/Documentation/devicetree/bindings/arm/cpus.yaml +++ b/Documentation/devicetree/bindings/arm/cpus.yaml @@ -174,6 +174,7 @@ properties: - nvidia,tegra194-carmel - qcom,krait - qcom,kryo + - qcom,kryo240 - qcom,kryo250 - qcom,kryo260 - qcom,kryo280 From patchwork Thu Sep 1 07:24:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 601857 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 C39BFC54EE9 for ; Thu, 1 Sep 2022 07:27:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234102AbiIAH1J (ORCPT ); Thu, 1 Sep 2022 03:27:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234005AbiIAH0G (ORCPT ); Thu, 1 Sep 2022 03:26:06 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23EAC24BC4; Thu, 1 Sep 2022 00:25:02 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id v16so18371173wrm.8; Thu, 01 Sep 2022 00:25:02 -0700 (PDT) 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; bh=JDrZS7nIxZE+ezQqB81Z1cPB0fQz6+CPtIEDV16ecMw=; b=dHIwZD32pIg5D+CUKK3U3imuivoxOxMDM6Mb+KpNlmDT4Q+JSMP/LNKSFeI24dfnsD dBq6ai8ZRck89HhE0oyrRtE7ytm8moFPYHHIXItBohVfldcQy3Bx4WWoRL3D3EB2VsTL 6EpUcF7IKwRzV46nCjqodS7Q6+qA44/tBEfLWMqcA6j2xJk/Gzm/OSoaaIzhYCQOjwQ4 afyPn51pnH0R9OqfDf/WNT4nkFaboFRDZr4EymEXe8yjLMTsmBD7Gn7GlK+kWeMeFYtt WuwuFFChOIqfPZqa6qmT+ozhhc3pixVzFKma1epmqYadDoe8tzT+l/8YeoUbVBuw6Q9n U00g== 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; bh=JDrZS7nIxZE+ezQqB81Z1cPB0fQz6+CPtIEDV16ecMw=; b=2KE7EV1aSPY5x9zILCS5HUkZlfzOUoXqI/aKitmHZFTV16srY+HS5AsTP3kvyn5QEI IWgj+1w8/dtXU9i/Wv2O8LCfzcb2XCqQAyi2STd9/7InJCECQ7U/fE2DBWsl3ZEml/e3 Hlg+vALcEUEIVdVX3bLgn7BwqaVeaAjYlVXhrGM6gtJQKdjtJIQK2EM482/+fUNxbdeP VJv7HaedI7IoT1UQ/5rQfeI/bYcy+cGcsmW4jSxfnzr7qeYtHaPKVwLyreS+XyknpO18 rphsej0s0CE9+29IZQDvvQyIMzgw/AJYrbkKE+rJHsJXRvWnxffbDjq+CTMyHEG852vU 8p9w== X-Gm-Message-State: ACgBeo1SJubpAvFou+Pz8zbZHmfP0sEySgw8o0ZRLfp+jHimYqMbEH9i LMjmTwA4sdKtaKOYDBcLnBQ= X-Google-Smtp-Source: AA6agR6vIT9+AX/UrAcVid9Ig2ak79xER/mRWsDktdeUD8IFxf/eCZZIlNk6vuzAmwCK3sCKPErFIg== X-Received: by 2002:a5d:4443:0:b0:225:8759:c160 with SMTP id x3-20020a5d4443000000b002258759c160mr13631878wrr.199.1662017100735; Thu, 01 Sep 2022 00:25:00 -0700 (PDT) Received: from localhost (87-126-55-15.ip.btc-net.bg. [87.126.55.15]) by smtp.gmail.com with ESMTPSA id y2-20020a056000108200b002238ea5750csm16765351wrw.72.2022.09.01.00.24.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Sep 2022 00:25:00 -0700 (PDT) From: Iskren Chernev To: Bjorn Andersson , Rob Herring Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Iskren Chernev , Andy Gross , Konrad Dybcio , Krzysztof Kozlowski , linux-kernel@vger.kernel.org Subject: [PATCH 12/14] arm64: dts: qcom: sm4250: Add soc dtsi Date: Thu, 1 Sep 2022 10:24:11 +0300 Message-Id: <20220901072414.1923075-13-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220901072414.1923075-1-iskren.chernev@gmail.com> References: <20220901072414.1923075-1-iskren.chernev@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The SM4250 is a downclocked version of the SM6115. Signed-off-by: Iskren Chernev --- arch/arm64/boot/dts/qcom/sm4250.dtsi | 38 ++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sm4250.dtsi diff --git a/arch/arm64/boot/dts/qcom/sm4250.dtsi b/arch/arm64/boot/dts/qcom/sm4250.dtsi new file mode 100644 index 000000000000..8cadf813e55b --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sm4250.dtsi @@ -0,0 +1,38 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (c) 2021, Iskren Chernev + */ + +#include "sm6115.dtsi" + +&CPU0 { + compatible = "qcom,kryo240"; +}; + +&CPU1 { + compatible = "qcom,kryo240"; +}; + +&CPU2 { + compatible = "qcom,kryo240"; +}; + +&CPU3 { + compatible = "qcom,kryo240"; +}; + +&CPU4 { + compatible = "qcom,kryo240"; +}; + +&CPU5 { + compatible = "qcom,kryo240"; +}; + +&CPU6 { + compatible = "qcom,kryo240"; +}; + +&CPU7 { + compatible = "qcom,kryo240"; +}; From patchwork Thu Sep 1 07:24:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 601856 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 CF678ECAAD8 for ; Thu, 1 Sep 2022 07:27:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234112AbiIAH1L (ORCPT ); Thu, 1 Sep 2022 03:27:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234009AbiIAH0G (ORCPT ); Thu, 1 Sep 2022 03:26:06 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 804833F1D5; Thu, 1 Sep 2022 00:25:05 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id u17so1836803wrp.3; Thu, 01 Sep 2022 00:25:05 -0700 (PDT) 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; bh=6VaWfIMqQwWIuH48wiOxaFvCdMYIP4kQOJiPuxxadM0=; b=OvNo35JDbauqpe3x9P30vcfSSWjPy+fWJ89Jp87PYKrFjQ8boMGXr8SAcZAzIRAebG gs8GhdSk1whQyVnb3Mo5YP4xuYDu3xibPXrSR14ovgnS+u5/8mjM2MUdGr8MBs/8iNt8 JVQXECy/YYWbG4J+Mz9bhmLaYrCCc91xSWYOT4Q17BSsVOIweqbKcTFmpbO9sKONBXCv qdu/gKWknhVLv3J2+2BalvyiXi6KXLjoxbx9IlsUJi8n7a4O4PibF2vCSLM+HNsnx06P VLnnmW4Z6b3KPWWYIOEO+WirJAWS4WKVPwEMmVb1X/eiCroMEqDWxj19qZ8Na7lCEYYx PGoQ== 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; bh=6VaWfIMqQwWIuH48wiOxaFvCdMYIP4kQOJiPuxxadM0=; b=xp8SFr7Q6r++eDOA0we4ZxVdi8ErRvXXi5rHDaiByPE4CbQkzUDMxSkuUOi/nSCErw ynELNbCCr+DSqKGnryA7bBfQSgBoO70A7gabT81KUvVZ85+Vi7sS8Mmh95VKmnRzmot7 m6AUziTZESiCgGeweclo48N8L6VgHNUtXeMwOeGFtl96wtKoCcTUz/jII2DT9Zzp8PYO sXlxcZS6jIN2Gdd9Oj3GrLzFhcsoIIquGgQ/wAgSnmFyG0A/6APNp1FQO5XnQosb+LUc cUbzf4fPq5Hr94sFbac/LoDnIjIGP/1OKk1RhvzK2ddxtvYTNGaeuJSbZmVL7SR3WQFm PLxQ== X-Gm-Message-State: ACgBeo0csv3rLMxEEH2KVa+G5gkisebqsuVe1ab8Ft5vwrz5IDnKb0sg RIbynEExgsyf6GI4IxBt1nw= X-Google-Smtp-Source: AA6agR52gXzUQSFvEIvbGObr1bidRkmMGaq7HFEyiC3HcjgEoPt7GTbsou6ii3QSCLAMOhrlpssdKQ== X-Received: by 2002:a5d:6c6b:0:b0:225:dde:ab40 with SMTP id r11-20020a5d6c6b000000b002250ddeab40mr13860932wrz.690.1662017104138; Thu, 01 Sep 2022 00:25:04 -0700 (PDT) Received: from localhost (87-126-55-15.ip.btc-net.bg. [87.126.55.15]) by smtp.gmail.com with ESMTPSA id o21-20020a05600c4fd500b003a32297598csm4740010wmq.43.2022.09.01.00.25.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Sep 2022 00:25:03 -0700 (PDT) From: Iskren Chernev To: Bjorn Andersson , Rob Herring Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Iskren Chernev , Andy Gross , Konrad Dybcio , Krzysztof Kozlowski , linux-kernel@vger.kernel.org Subject: [PATCH 13/14] dt-bindings: arm: qcom: Add compatible for oneplus,billie2 phone Date: Thu, 1 Sep 2022 10:24:12 +0300 Message-Id: <20220901072414.1923075-14-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220901072414.1923075-1-iskren.chernev@gmail.com> References: <20220901072414.1923075-1-iskren.chernev@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org oneplus,billie2 (OnePlus Nord N100) is based on QualComm Snapdragon SM4250 SoC. Add support for the same in dt-bindings. Signed-off-by: Iskren Chernev Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/arm/qcom.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index 19c2f4314741..63cc41cd0119 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -54,6 +54,8 @@ description: | sdm845 sdx55 sdx65 + sm4250 + sm6115 sm6125 sm6350 sm7225 @@ -670,6 +672,11 @@ properties: - xiaomi,polaris - const: qcom,sdm845 + - items: + - enum: + - oneplus,billie2 + - const: qcom,sm4250 + - items: - enum: - sony,pdx201 From patchwork Thu Sep 1 07:24:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 602483 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 A90B2ECAAD3 for ; Thu, 1 Sep 2022 07:27:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234106AbiIAH1K (ORCPT ); Thu, 1 Sep 2022 03:27:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234007AbiIAH0G (ORCPT ); Thu, 1 Sep 2022 03:26:06 -0400 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5D733A48A; Thu, 1 Sep 2022 00:25:10 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id s7so6196020wro.2; Thu, 01 Sep 2022 00:25:10 -0700 (PDT) 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; bh=pdN11kKr9DTuNrqt+uSFhl8YF8zaR8pTHZ/yU4266Jk=; b=cSYph95jYIpU6saUzJZimP3GqJpctQqbEEWcuKk3CadJ4nu5NO9tRafg91fA7HUhWR ozXUOz9SINk9ywQWYV8pOqJQR9tGfKJv/SV+TxTujMjD9dcGfbsU8vikmQI8qBN9hVbx vhfyEDwoDZs0h+BMlWFaDbCwpTofSyf1aJuxg6u1yb8zDMzoAFuznKsNr7fLkS1jDpoa CZxS9dfhW5xvrarS6u+9Zf4XwspCa+vMfgCMZO0ToZZdgeuMBLK6Ygg+TRMfWiQ46gvB IJU4VCybFCkCX2aAggM7+73phTb2On4uX94wW0OTcea86VeJsonopsqNLyH6mCO0g474 csTQ== 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; bh=pdN11kKr9DTuNrqt+uSFhl8YF8zaR8pTHZ/yU4266Jk=; b=eP6zAcABmZ4Hz9HPz38z8o7rzsOb7aTv5bsYw6kPIJ4XcgjMyT3KxTooH0k9HvvIVW N5xPg9VBojbC3Go5+aeGQpt8StrPxEX6Ya4ZYBlvIWbsqOVom8rNF6sKojFVpS1y3MMe PYS4NNhSQENbWI+bBvbM0LRPtLkIPzVz27Gy0hbw4biFoTnSUkx8iti0J7R+g2zHZn4j y2f0F/sqGwB9ChK9PJQk4RcMU2V2gmj4UWofiUzdnK6ZEg1pg9h16k6zhx8ikJ4DpGQd 66yBGSvKcTHpnNV5e/L50S02NS4DCcYX8aAAara2bRsyTvNmw6wHGVBbVuPV84lLg4uO J8aQ== X-Gm-Message-State: ACgBeo1tawd35Qb+gzdHrOISRUBmqBSd5ZaCneWCKHReZE0WLzYk7zv2 B+g8iAIpyaqw5sENlEFoQlA= X-Google-Smtp-Source: AA6agR6jlX1xBDGQeFhUWZ6UsVCxgM+7DmJ0awkNafVT5DIyUFh0vpz9e8LMJM9ScDBMwGb+uVXUag== X-Received: by 2002:a5d:6488:0:b0:225:f99:338b with SMTP id o8-20020a5d6488000000b002250f99338bmr14118047wri.638.1662017109100; Thu, 01 Sep 2022 00:25:09 -0700 (PDT) Received: from localhost (87-126-55-15.ip.btc-net.bg. [87.126.55.15]) by smtp.gmail.com with ESMTPSA id o14-20020adfcf0e000000b0022063e5228bsm13854762wrj.93.2022.09.01.00.25.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Sep 2022 00:25:08 -0700 (PDT) From: Iskren Chernev To: Bjorn Andersson , Rob Herring Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Iskren Chernev , Andy Gross , Konrad Dybcio , Krzysztof Kozlowski , Kees Cook , Anton Vorontsov , Colin Cross , Tony Luck , linux-kernel@vger.kernel.org Subject: [PATCH 14/14] arm64: dts: qcom: sm4250: Add support for oneplus-billie2 Date: Thu, 1 Sep 2022 10:24:13 +0300 Message-Id: <20220901072414.1923075-15-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220901072414.1923075-1-iskren.chernev@gmail.com> References: <20220901072414.1923075-1-iskren.chernev@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add initial support for OnePlus Nord N100, based on SM4250. Currently working: - boots - usb - buildin flash storage (UFS) - SD card reader Signed-off-by: Iskren Chernev --- .../boot/dts/qcom/sm4250-oneplus-billie2.dts | 240 ++++++++++++++++++ 1 file changed, 240 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts diff --git a/arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts b/arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts new file mode 100644 index 000000000000..c1cf0288aa5f --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts @@ -0,0 +1,240 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (c) 2021, Iskren Chernev + */ + +/dts-v1/; + +#include "sm4250.dtsi" + +/ { + model = "OnePlus Nord N100"; + compatible = "oneplus,billie2", "qcom,sm4250"; + + /* required for bootloader to select correct board */ + qcom,msm-id = <0x1a1 0x10000 0x1bc 0x10000>; + qcom,board-id = <0x1000b 0x00>; + + aliases { + }; + + chosen { + bootargs = "earlycon=tty0 console=tty0 clk_ignore_unused pd_ignore_unused"; + + #address-cells = <2>; + #size-cells = <2>; + ranges; + + stdout-path = "framebuffer0"; + + framebuffer0: framebuffer@9d400000 { + compatible = "simple-framebuffer"; + reg = <0 0x5c000000 0 (1600 * 720 * 4)>; + width = <720>; + height = <1600>; + stride = <(720 * 4)>; + format = "a8r8g8b8"; + status= "okay"; + }; + }; + + reserved-memory { + mtp_mem: memory@cc300000 { + reg = <0x00 0xcc300000 0x00 0xb00000>; + no-map; + }; + + param_mem: memory@cc200000 { + reg = <0x00 0xcc200000 0x00 0x100000>; + no-map; + }; + + bootloader_log_mem: memory@5fff7000 { + reg = <0x00 0x5fff7000 0x00 0x8000>; + no-map; + }; + + ramoops@cbe00000 { + compatible = "ramoops"; + reg = <0x0 0xcbe00000 0x0 0x400000>; + record-size = <0x40000>; + pmsg-size = <0x200000>; + console-size = <0x40000>; + ftrace-size = <0x40000>; + }; + }; +}; + +&usb3 { + status = "okay"; +}; + +&hsusb_phy { + status = "okay"; + vdd-supply = <&vreg_l4a>; + vdda-pll-supply = <&vreg_l12a>; + vdda-phy-dpdm-supply = <&vreg_l15a>; + +}; + +&tlmm { + gpio-reserved-ranges = <14 4>; +}; + +&sdhc_2 { + status = "okay"; + vmmc-supply = <&vreg_l22a>; + vqmmc-supply = <&vreg_l5a>; + + cd-gpios = <&tlmm 88 GPIO_ACTIVE_HIGH>; + + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&sdc2_state_on>; + pinctrl-1 = <&sdc2_state_off>; +}; + +&ufs_mem_hc { + status = "okay"; + vcc-supply = <&vreg_l24a>; + vcc-max-microamp = <600000>; + vccq2-supply = <&vreg_l11a>; + vccq2-max-microamp = <600000>; +}; + +&ufs_mem_phy { + status = "okay"; + vdda-phy-supply = <&vreg_l4a>; + vdda-pll-supply = <&vreg_l12a>; + vddp-ref-clk-supply = <&vreg_l18a>; +}; + +&rpm_requests { + pm6125-regulators { + compatible = "qcom,rpm-pm6125-regulators"; + + vreg_s6a: s6 { + regulator-min-microvolt = <320000>; + regulator-max-microvolt = <1456000>; + }; + + vreg_s7a: s7 { + regulator-min-microvolt = <1280000>; + regulator-max-microvolt = <2040000>; + }; + + vreg_s8a: s8 { + regulator-min-microvolt = <1064000>; + regulator-max-microvolt = <1304000>; + }; + + vreg_l1a: l1 { + regulator-min-microvolt = <952000>; + regulator-max-microvolt = <1152000>; + }; + + vreg_l4a: l4 { + regulator-min-microvolt = <488000>; + regulator-max-microvolt = <1000000>; + }; + + vreg_l5a: l5 { + regulator-min-microvolt = <1648000>; + regulator-max-microvolt = <3056000>; + }; + + vreg_l6a: l6 { + regulator-min-microvolt = <576000>; + regulator-max-microvolt = <656000>; + }; + + vreg_l7a: l7 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1304000>; + }; + + vreg_l8a: l8 { + regulator-min-microvolt = <400000>; + regulator-max-microvolt = <728000>; + }; + + vreg_l9a: l9 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2000000>; + }; + + vreg_l10a: l10 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <1904000>; + }; + + vreg_l11a: l11 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <1952000>; + }; + + vreg_l12a: l12 { + regulator-min-microvolt = <1624000>; + regulator-max-microvolt = <1984000>; + }; + + vreg_l13a: l13 { + regulator-min-microvolt = <1504000>; + regulator-max-microvolt = <1952000>; + }; + + vreg_l14a: l14 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <1904000>; + }; + + vreg_l15a: l15 { + regulator-min-microvolt = <2920000>; + regulator-max-microvolt = <3232000>; + }; + + vreg_l16a: l16 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <1904000>; + }; + + vreg_l17a: l17 { + regulator-min-microvolt = <1152000>; + regulator-max-microvolt = <1304000>; + }; + + vreg_l18a: l18 { + regulator-min-microvolt = <1104000>; + regulator-max-microvolt = <1304000>; + }; + + vreg_l19a: l19 { + regulator-min-microvolt = <1624000>; + regulator-max-microvolt = <3304000>; + }; + + vreg_l20a: l20 { + regulator-min-microvolt = <1624000>; + regulator-max-microvolt = <3304000>; + }; + + vreg_l21a: l21 { + regulator-min-microvolt = <2400000>; + regulator-max-microvolt = <3544000>; + }; + + vreg_l22a: l22 { + regulator-min-microvolt = <2952000>; + regulator-max-microvolt = <3304000>; + }; + + vreg_l23a: l23 { + regulator-min-microvolt = <3296000>; + regulator-max-microvolt = <3304000>; + }; + + vreg_l24a: l24 { + regulator-min-microvolt = <2704000>; + regulator-max-microvolt = <3544000>; + }; + }; +};