From patchwork Tue Apr 11 07:28:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 81791 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2387729vqo; Tue, 11 Apr 2023 00:30:26 -0700 (PDT) X-Google-Smtp-Source: AKy350afzACfS/iqxvTdAUQWyE4+07JkWQF1c7994xkEZq+lAlqnlOkn4q6Bx+U7f+xxo0r/64K8 X-Received: by 2002:a17:902:e192:b0:19f:36b1:c35 with SMTP id y18-20020a170902e19200b0019f36b10c35mr13276458pla.64.1681198226362; Tue, 11 Apr 2023 00:30:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681198226; cv=none; d=google.com; s=arc-20160816; b=STBBakS/ITGkoWkShDkWpsGIdRchxHJwaCnAhDsdUOPp9DDlhg8Ku/aJnG17u6hcs8 /GYlTl+pmb4YdnXCFvsJ71i2CUlggw81ctP2qUZY5bryyxz1oBDSRTN4RytKg5LiW2xZ 1C5NcNaWaA9KzVcuuupa8ffMVZ8YJ4baZ34MTRqDz6YU8N7z/wtbulpETu9ywRnGh96n c9fwuxSXHkrR13w4bF9FqkAQhFtT6ijzCCzTNiiGyRH+9Db8wQQtL/WmWghUochmYedH V6uoXxooAK1TlTYPZAPO918osFs2R05HBoThNu296cgW/XGy5z+NOYiPQ56+Mxe15Tiy IZkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/ZcDkyocBFtXfB3hNoFbJbADRnMzJyduSdgyIw9Wyfg=; b=kV/MorR1VPnfxBChEWclwliAV66wL5WZYB9omCo1HwimuI/KkEoOEVGzGf5pz5Q1De Z8RJVW8IC+qI2+5YZsbTYt4yvJMWI3K+dmUR/GRfVsKlOTNYLipJ2qS0sh7MqndV6xjC kywW8ZqvQtJV5gu+T6SIA9KrWqNbG+VFxJ2E4tHAXeYOiLV/V4MjcEkYYSGz3C5e4sev T1HK5Or1phYa5JhCF77ivmmqj5KTIrhSespWcBA/fcs5v58Mo8fUyOjftkhjfrApCsVH yOk+Uf7zs5q+w1V2FhmrMClGzZ3rKpJTfHvd65c+XOpjxjzKjcG4PS7V9XOJhmFf5sdl b1iA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=U38hShlJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q17-20020a170902789100b001a5145cf5d5si10128077pll.167.2023.04.11.00.30.13; Tue, 11 Apr 2023 00:30:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=U38hShlJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229983AbjDKH3D (ORCPT + 99 others); Tue, 11 Apr 2023 03:29:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229962AbjDKH27 (ORCPT ); Tue, 11 Apr 2023 03:28:59 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 569A3213D for ; Tue, 11 Apr 2023 00:28:58 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id q15-20020a17090a2dcf00b0023efab0e3bfso10018598pjm.3 for ; Tue, 11 Apr 2023 00:28:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681198138; 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=/ZcDkyocBFtXfB3hNoFbJbADRnMzJyduSdgyIw9Wyfg=; b=U38hShlJtmEqZxiFFLx6mROt0BhFkdfr3TxyoaNbYqqORx4X34LCT11Z9izAUU/bVr N99QJrALPExphP9uYs4pBV3V6XzxlZkbU/nF8V2u2AuetKw8W+edkpXePjErahoJI892 iIuQxR75XJJbM7pFrLgt668ARrb9+empa5ve3G21Xue8gqzuAUHnwq2pZB0JvSYfWczO tBntaixPlu9t710fMEi8OKO5Y4YWDBbXweqFo8L0Ol+9dKRBNiPlGDxXiyEnj+IKsRTo FuFpex4CpygJTHEnUkbaFldVPSZcooZSJgPbUU1UxYEiOij1svyHy96ad+as3bOI//3z LZWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681198138; 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=/ZcDkyocBFtXfB3hNoFbJbADRnMzJyduSdgyIw9Wyfg=; b=Qv4n34RQLZOwUBEaKXjgB/NRPyvU83o1tH3lEUNHQqcLUhnLtbq3fQianfdLC/kAEQ U0ccer4bnZs2BJB1UaDRw4zcV1wIwauzrlUg99Nu0ti7Z1B+cRFcz60poD0h0h+f6gcH Ke4yPc137tbj26R5u4jym+A4yytM+nBV/cQgVGv/ymu1l3UmQqZaHF+teEi9gBoLTpSt JlyFuQmUKubkz6Zl/kJrcPQVpnqocVpEfCzxCmT6oswvrPnacDVkO8/95Cd/7oMvgosz 2bNp4LvRjNSOgetZOfksEsDX1RTMf9E91v8HSNIUxzDRbVowmtu2ibNQ56rpaVFSdH0z lxCw== X-Gm-Message-State: AAQBX9eF5/6dW3cg7chW/rIyE+ufJ7fABFsskU0DwbzYvOdq814eLaL0 wgwgH2JDN4uowioBfiqk5X1pOw== X-Received: by 2002:a17:903:249:b0:19d:1bc1:ce22 with SMTP id j9-20020a170903024900b0019d1bc1ce22mr18486535plh.5.1681198137731; Tue, 11 Apr 2023 00:28:57 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:6a11:8ba1:beba:def7:a4ae]) by smtp.gmail.com with ESMTPSA id s7-20020a170902988700b001a043e84bf0sm8946612plp.209.2023.04.11.00.28.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Apr 2023 00:28:57 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, linux-kernel@vger.kernel.org, bhupesh.linux@gmail.com, bhupesh.sharma@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski@linaro.org Subject: [PATCH v3 1/3] dt-bindings: arm: qcom: Document the Qualcomm qrb4210-rb2 board Date: Tue, 11 Apr 2023 12:58:38 +0530 Message-Id: <20230411072840.2751813-2-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230411072840.2751813-1-bhupesh.sharma@linaro.org> References: <20230411072840.2751813-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762864111361669533?= X-GMAIL-MSGID: =?utf-8?q?1762864111361669533?= Document the Qualcomm qrb4210-rb2 board based on Robotics version of the Snapdragon SM4250 Soc, i.e. QRB4210. Acked-by: Krzysztof Kozlowski Signed-off-by: Bhupesh Sharma --- Documentation/devicetree/bindings/arm/qcom.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index 785b969294a8..d9dd25695c3d 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -50,6 +50,7 @@ description: | qcm2290 qdu1000 qrb2210 + qrb4210 qru1000 sa8155p sa8540p @@ -97,6 +98,7 @@ description: | liquid mtp qrd + rb2 ride sbc x100 @@ -874,6 +876,12 @@ properties: - oneplus,billie2 - const: qcom,sm4250 + - items: + - enum: + - qcom,qrb4210-rb2 + - const: qcom,qrb4210 + - const: qcom,sm4250 + - items: - enum: - lenovo,j606f From patchwork Tue Apr 11 07:28:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 81793 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2391250vqo; Tue, 11 Apr 2023 00:38:52 -0700 (PDT) X-Google-Smtp-Source: AKy350YucxwqSK1ABdn9nfqufdAvl+qV81iIKc5O6JrwJgN0ouLoSEx0dC0vGS5IMahLNTZv6rJi X-Received: by 2002:a05:6a20:3b28:b0:de:6e42:e0e5 with SMTP id c40-20020a056a203b2800b000de6e42e0e5mr13207798pzh.13.1681198732297; Tue, 11 Apr 2023 00:38:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681198732; cv=none; d=google.com; s=arc-20160816; b=ZKlzI20UbHCHTFfqN7+4i+7YdiPSa/auLK2q6MUEY02vRBhdL8/ypc85mn2SU2JiCU ZqEQHE5rkF5reYrabqNSJ7nTuWiFuGqoiy+11TmYahaJ0grEA45Q3V3DBfNfWRDjG7Yu 9p7nnZebZZYOVM7WFvDLxoBUvW7DGvbdKTY8olBaU4J8x6DVHpYuhL2io3ZW8xPb7Hl1 LLE/ae9RdLm0V8nxHUz+E7U4lwU3ACzfutwrIZZCP1gScIGd+Eh1vwPHRpKAP9xi3vC0 gU7j5BbdnTtSGEJ1grLbFZq/wxA6hLHwqHNEyS2aVIIzIthaUOsz+ju3OhzhXJcqu8uW iezA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=vaWjB1OFkYfTEHZyX0Qp1PEjyb5l7Vgp/2G5VFo8kWA=; b=hyvjoX68JQAC6md8/4Zz/7gbbJLy/5ql+8VjJXg1yowx4wLoShWRav0HKfggjC4z8t tiXO3WBN0wfY/1LWe2XmS+JiupvsoT/oles9SxTuJw7Ot0PKB129EiRunU19ysGvvRqD r3HZ0TwicRmXBcciP3jcgfAftmSyMuTdJPpSdOZlM93ly4CiCf7YIjlyKq8hyNMRAe7U fDv3cVYdAFoYTZKf13e96vBAwju1L6TV8AcqXfUQ3mPMSHoZxsLaecMjrakGt5PVBeY6 YRf4/opaN03RRrfy3jGsoj+Y/BK5bWklFeEMXJKocj5XSwTrOb45dq1XvBI7KO0Rtx/Q t6gQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H9ldWAgQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f3-20020a655503000000b00502d6decabesi12608356pgr.218.2023.04.11.00.38.38; Tue, 11 Apr 2023 00:38:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H9ldWAgQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229969AbjDKH3J (ORCPT + 99 others); Tue, 11 Apr 2023 03:29:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229624AbjDKH3E (ORCPT ); Tue, 11 Apr 2023 03:29:04 -0400 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66DA710DE for ; Tue, 11 Apr 2023 00:29:02 -0700 (PDT) Received: by mail-pl1-x630.google.com with SMTP id kh6so5443442plb.0 for ; Tue, 11 Apr 2023 00:29:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681198141; 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=vaWjB1OFkYfTEHZyX0Qp1PEjyb5l7Vgp/2G5VFo8kWA=; b=H9ldWAgQCNm1jw5Y8V9tLSdcXNP+C1QYSKRpk3QT5gH9k8bgdJuygoPsW+7jlySckX b+1Q7HzNT7OcDILvVzCSjVBYzxWwajgfQ25PcIYFhEjFE1Bp3010Fl086r2MurBHyiTj mfcIWx9p4V/pvN7ui5gVaVo/wODmxxoULU5ABhpsXD+gnW+B9Q2h99f71lJJGnDfAQJn 4vYVfNOVIO18w7WX9Ia0BdcivgBbdP8hf2nd5HixIuiQqzXIONGBD78qlWpPUW4G/hv9 Zw1yJeaNC0C2Xn9s73FUxUjuBvjP6RWHeRdyzSnEoOVP5r/ijT76RAHZ6sCLwbjpc0zL XCSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681198141; 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=vaWjB1OFkYfTEHZyX0Qp1PEjyb5l7Vgp/2G5VFo8kWA=; b=pLKITZ1fXY4cFpP29j/STQMBP79CSUmAmpSzPkWXIZDDG8SHmpZRQZi0WX2c1N0xqU jFfWgjmR6lOIzuSO6LCPsaGZ+J53genuflRNgdZ3j+7phOew7Jdp3BXbDqlBSfv/IPhR +Mn7/JuzAwW7NAk+pTHcTQZtJmGkI7fQXCTHPjjYt5veuiMO0p/JhPuLStLlDlTMMAMP 2Vhmvu7XgZ1CYUJ6hxyNqZfQ2QtFwW538IrIZAIu12fd5BbkehHsrDsqqQcN2l00FZO9 7Kl2cYKjtxQSarPjU2/klcKaouzlTSpx/LEtzeMu3Q9QedZ5/Zfyceax8eW9pc3OEQkW yLTQ== X-Gm-Message-State: AAQBX9fICgZ39OMxRFGLxAslJNkvmmFjQMVESVu2PBDOijBxO+ZLJyvV 8OgYhgWXQVdKpttYnglAjbGE5w== X-Received: by 2002:a17:902:cecb:b0:1a2:a904:c438 with SMTP id d11-20020a170902cecb00b001a2a904c438mr20045713plg.58.1681198141493; Tue, 11 Apr 2023 00:29:01 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:6a11:8ba1:beba:def7:a4ae]) by smtp.gmail.com with ESMTPSA id s7-20020a170902988700b001a043e84bf0sm8946612plp.209.2023.04.11.00.28.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Apr 2023 00:29:01 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, linux-kernel@vger.kernel.org, bhupesh.linux@gmail.com, bhupesh.sharma@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski@linaro.org Subject: [PATCH v3 2/3] arm64: dts: qcom: Add base qrb4210-rb2 board dts Date: Tue, 11 Apr 2023 12:58:39 +0530 Message-Id: <20230411072840.2751813-3-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230411072840.2751813-1-bhupesh.sharma@linaro.org> References: <20230411072840.2751813-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762864641779281567?= X-GMAIL-MSGID: =?utf-8?q?1762864641779281567?= Add DTS for Qualcomm qrb4210-rb2 board which uses SM4250 SoC. This adds debug uart, emmc, uSD and tlmm support along with regulators found on this board. Also defines the 'xo_board' and 'sleep_clk' frequencies for this board. Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 223 +++++++++++++++++++++++ 2 files changed, 224 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/qrb4210-rb2.dts diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index e0e2def48470..d42c59572ace 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -74,6 +74,7 @@ dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-1000.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-4000.dtb dtb-$(CONFIG_ARCH_QCOM) += qdu1000-idp.dtb dtb-$(CONFIG_ARCH_QCOM) += qrb2210-rb1.dtb +dtb-$(CONFIG_ARCH_QCOM) += qrb4210-rb2.dtb dtb-$(CONFIG_ARCH_QCOM) += qrb5165-rb5.dtb dtb-$(CONFIG_ARCH_QCOM) += qrb5165-rb5-vision-mezzanine.dtb dtb-$(CONFIG_ARCH_QCOM) += qru1000-idp.dtb diff --git a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts new file mode 100644 index 000000000000..c9c6e3787462 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts @@ -0,0 +1,223 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023, Linaro Limited + */ + +/dts-v1/; + +#include "sm4250.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. QRB4210 RB2"; + compatible = "qcom,qrb4210-rb2", "qcom,qrb4210", "qcom,sm4250"; + + aliases { + serial0 = &uart4; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + vph_pwr: vph-pwr-regulator { + compatible = "regulator-fixed"; + regulator-name = "vph_pwr"; + regulator-min-microvolt = <3700000>; + regulator-max-microvolt = <3700000>; + + regulator-always-on; + regulator-boot-on; + }; +}; + +&qupv3_id_0 { + status = "okay"; +}; + +&rpm_requests { + regulators { + compatible = "qcom,rpm-pm6125-regulators"; + + vdd-s1-supply = <&vph_pwr>; + vdd-s2-supply = <&vph_pwr>; + vdd-s3-supply = <&vph_pwr>; + vdd-s4-supply = <&vph_pwr>; + vdd-s5-supply = <&vph_pwr>; + vdd-s6-supply = <&vph_pwr>; + vdd-s7-supply = <&vph_pwr>; + vdd-s8-supply = <&vph_pwr>; + vdd-s9-supply = <&vph_pwr>; + vdd-s10-supply = <&vph_pwr>; + + vdd-l1-l7-l17-l18-supply = <&vreg_s6a_1p352>; + vdd-l2-l3-l4-supply = <&vreg_s6a_1p352>; + vdd-l5-l15-l19-l20-l21-l22-supply = <&vph_pwr>; + vdd-l6-l8-supply = <&vreg_s5a_0p848>; + vdd-l9-l11-supply = <&vreg_s7a_2p04>; + vdd-l10-l13-l14-supply = <&vreg_s7a_2p04>; + vdd-l12-l16-supply = <&vreg_s7a_2p04>; + vdd-l23-l24-supply = <&vph_pwr>; + + vreg_s5a_0p848: s5 { + regulator-min-microvolt = <920000>; + regulator-max-microvolt = <1128000>; + }; + + vreg_s6a_1p352: s6 { + regulator-min-microvolt = <304000>; + regulator-max-microvolt = <1456000>; + }; + + vreg_s7a_2p04: s7 { + regulator-min-microvolt = <1280000>; + regulator-max-microvolt = <2080000>; + }; + + vreg_l1a_1p0: l1 { + regulator-min-microvolt = <952000>; + regulator-max-microvolt = <1152000>; + }; + + vreg_l4a_0p9: l4 { + regulator-min-microvolt = <488000>; + regulator-max-microvolt = <1000000>; + }; + + vreg_l5a_2p96: l5 { + regulator-min-microvolt = <1648000>; + regulator-max-microvolt = <3056000>; + }; + + vreg_l6a_0p6: l6 { + regulator-min-microvolt = <576000>; + regulator-max-microvolt = <656000>; + }; + + vreg_l7a_1p256: l7 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1304000>; + }; + + vreg_l8a_0p664: l8 { + regulator-min-microvolt = <400000>; + regulator-max-microvolt = <728000>; + }; + + vreg_l9a_1p8: l9 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2000000>; + }; + + vreg_l10a_1p8: l10 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <1904000>; + }; + + vreg_l11a_1p8: l11 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <1952000>; + }; + + vreg_l12a_1p8: l12 { + regulator-min-microvolt = <1624000>; + regulator-max-microvolt = <1984000>; + }; + + vreg_l13a_1p8: l13 { + regulator-min-microvolt = <1504000>; + regulator-max-microvolt = <1952000>; + }; + + vreg_l14a_1p8: l14 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <1904000>; + }; + + vreg_l15a_3p128: l15 { + regulator-min-microvolt = <2920000>; + regulator-max-microvolt = <3232000>; + }; + + vreg_l16a_1p3: l16 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <1904000>; + }; + + vreg_l17a_1p3: l17 { + regulator-min-microvolt = <1152000>; + regulator-max-microvolt = <1384000>; + }; + + vreg_l18a_1p232: l18 { + regulator-min-microvolt = <1104000>; + regulator-max-microvolt = <1312000>; + }; + + vreg_l19a_1p8: l19 { + regulator-min-microvolt = <1624000>; + regulator-max-microvolt = <3304000>; + }; + + vreg_l20a_1p8: l20 { + regulator-min-microvolt = <1624000>; + regulator-max-microvolt = <3304000>; + }; + + vreg_l21a_2p704: l21 { + regulator-min-microvolt = <2400000>; + regulator-max-microvolt = <3600000>; + }; + + vreg_l22a_2p96: l22 { + regulator-min-microvolt = <2952000>; + regulator-max-microvolt = <3304000>; + }; + + vreg_l23a_3p3: l23 { + regulator-min-microvolt = <3200000>; + regulator-max-microvolt = <3400000>; + }; + + vreg_l24a_2p96: l24 { + regulator-min-microvolt = <2704000>; + regulator-max-microvolt = <3600000>; + }; + }; +}; + +&sdhc_1 { + vmmc-supply = <&vreg_l24a_2p96>; + vqmmc-supply = <&vreg_l11a_1p8>; + no-sdio; + non-removable; + + status = "okay"; +}; + +&sdhc_2 { + cd-gpios = <&tlmm 88 GPIO_ACTIVE_HIGH>; /* card detect gpio */ + vmmc-supply = <&vreg_l22a_2p96>; + vqmmc-supply = <&vreg_l5a_2p96>; + no-sdio; + + status = "okay"; +}; + +&sleep_clk { + clock-frequency = <32000>; +}; + +&tlmm { + gpio-reserved-ranges = <37 5>, <43 2>, <47 1>, + <49 1>, <52 1>, <54 1>, + <56 3>, <61 2>, <64 1>, + <68 1>, <72 8>, <96 1>; +}; + +&uart4 { + status = "okay"; +}; + +&xo_board { + clock-frequency = <19200000>; +}; From patchwork Tue Apr 11 07:28:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 81792 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2387903vqo; Tue, 11 Apr 2023 00:30:48 -0700 (PDT) X-Google-Smtp-Source: AKy350YKpas1HQy159fOD9yf2U1IHFzpOMpPLT6+WESI/sC0NfC2g93EWnKWdqcNd8ZqzbrfzsfB X-Received: by 2002:a17:903:78f:b0:1a1:b3c0:4228 with SMTP id kn15-20020a170903078f00b001a1b3c04228mr12648952plb.19.1681198247967; Tue, 11 Apr 2023 00:30:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681198247; cv=none; d=google.com; s=arc-20160816; b=zc56Z106i4ASgJ12bk4VmVnfOwwuXmA14yfEvDJrITyv6ObL6cLj4PLKFbBtiB1C0U bLmbfKOQivZfokbZwabV2JVdwPHXUT9HgMg4LNnOMBko/DeA35A/YAIst3Kby+cJRzKd VXBn+mysNLPCMlteVmVASL4SShOEkabS/jgP1lRzLH1iU0iaw0f3BuNeYKRXdweRf0lW +GqUcZWAaw+pNMJZY6AhV8flNuBcJ1jh4wuOwmFMCAfnvOxvnZirBxyLEn/oLnldMKUC o5ka5iX7scjisUm/hS2woKfYA3Dfe1yB7ANLpeT53Ks5q8eoRgfrI7bQ6KNh16OJYJDu 0wsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ttg1M/y6XRWds7TOi5LMKQJ7a3u0jw8Op4Jljrrs1LY=; b=KSOmqN6HKYPcZcFhMbaJKv6Lj1pIS4QCYpQDUZJDLJ4A5wZk31U65JBIExVA+B60oV KJnLZoFrYPef1bh46Jj6RYHL64/6eJGyiVRmUER1qaiJaA421SKZYP9VmoqJH5wHVPN9 iVoFvHuP4tNGQ3oyzJJC4qlFvuXDHXzCR5nMN46FFRAswr6XA0dFn7CN7CDuNwzv1BXW teS/mczPQK53bc+60DTJSBukgKf9Sf8wd0tqiq/48Gq/6Ohyvofu8bH+HJAGA7gTVAgu +woepqwmXnBitr8YLBX/YBNc7kzoK6jYxJbPoI/ffxcRDjeb2zLT+zTlQrjNDFgvMHzl 7sXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lOdOF5Gg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t3-20020a637803000000b005180ddeec2esi7655562pgc.669.2023.04.11.00.30.35; Tue, 11 Apr 2023 00:30:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lOdOF5Gg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230120AbjDKH3U (ORCPT + 99 others); Tue, 11 Apr 2023 03:29:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230079AbjDKH3K (ORCPT ); Tue, 11 Apr 2023 03:29:10 -0400 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6A993C18 for ; Tue, 11 Apr 2023 00:29:06 -0700 (PDT) Received: by mail-pl1-x62b.google.com with SMTP id ke16so6956966plb.6 for ; Tue, 11 Apr 2023 00:29:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681198146; 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=ttg1M/y6XRWds7TOi5LMKQJ7a3u0jw8Op4Jljrrs1LY=; b=lOdOF5GgGZiRgPcjxd57Qc4KWyITnjrrk5izHeqcMbkAAuRb9Vmk2trJ+oKUoeM6AV 1nAnEW+9e0PVqCLYLPPl6UsJ9DORPetiZvH+oaEUgBnNpvimNEZD+eh68YGf43M3LkVY PAB7/M/rCVuv9GbT1v+Zv/brlLAiFGFgdNKPKXpTBQjV1FugZnViJ9dSuhZEXuhopc0p 6QpQk9ShDvcvM4FOvHrAM50qJJyVKY/iYkxTDUUi5friOJ+F5lYniwvFeURalXbxT0Jk NKXfFaNTTtfFr395due6i/LLZjghiMAj6Uz3c+oCruCUaXl/Si6TiEv/NcaKss3MzGGS pc3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681198146; 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=ttg1M/y6XRWds7TOi5LMKQJ7a3u0jw8Op4Jljrrs1LY=; b=NyQ6HjLAZAK3Q+s4RuYdwrF24vnggONcC0oBq6dHlaLIryZ5qp5H2PWanZO3Ql7kpd Qr1j+G+9S8b6q441i1TPz4M9XbyZ/rcSjdkg4f5MiTAIvMOomnHyNRdmmr0JLr9L1CvW cnr+Wn5Y31A5m+tkJ9mgsQIorHFtXDNAlIv8sLodfMkjYZ4cyXsh3W24bo16jh/N4Kp+ I6yLp9B503aK6z3sx9x/b3v+qNa9s7jVujd+JwswQv6lMhVFmw5q1lJLG5Vglf9icfY7 JCqPciYNCZ+VWpcz2RdHI3mxni6eGrNKbjbftbOTGmXJkrFo5B0/S2EqAnph0gqxNqsx ldvg== X-Gm-Message-State: AAQBX9folFXAu2anzxTB2qlDg+pbyK964tDhQyyTSpoR7zNS7cXbde7i vof4bYIgAHFqO3I/Ve+ZtbE7oQ== X-Received: by 2002:a17:902:ce85:b0:1a2:2091:ee8b with SMTP id f5-20020a170902ce8500b001a22091ee8bmr18057238plg.10.1681198145903; Tue, 11 Apr 2023 00:29:05 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:6a11:8ba1:beba:def7:a4ae]) by smtp.gmail.com with ESMTPSA id s7-20020a170902988700b001a043e84bf0sm8946612plp.209.2023.04.11.00.29.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Apr 2023 00:29:05 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, linux-kernel@vger.kernel.org, bhupesh.linux@gmail.com, bhupesh.sharma@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski@linaro.org Subject: [PATCH v3 3/3] arm64: dts: qcom: qrb4210-rb2: Increase load on l22 and l24 for uSD and eMMC Date: Tue, 11 Apr 2023 12:58:40 +0530 Message-Id: <20230411072840.2751813-4-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230411072840.2751813-1-bhupesh.sharma@linaro.org> References: <20230411072840.2751813-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762864134507646358?= X-GMAIL-MSGID: =?utf-8?q?1762864134507646358?= Increase the l22 and l24 load used for uSD and eMMC VMMC. These need to be increased in order to prevent any voltage drop issues due to limited current happening during specific operations (e.g. write). Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts index c9c6e3787462..dc80f0bca767 100644 --- a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts +++ b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts @@ -171,6 +171,8 @@ vreg_l21a_2p704: l21 { vreg_l22a_2p96: l22 { regulator-min-microvolt = <2952000>; regulator-max-microvolt = <3304000>; + regulator-system-load = <100000>; + regulator-allow-set-load; }; vreg_l23a_3p3: l23 { @@ -181,6 +183,8 @@ vreg_l23a_3p3: l23 { vreg_l24a_2p96: l24 { regulator-min-microvolt = <2704000>; regulator-max-microvolt = <3600000>; + regulator-system-load = <100000>; + regulator-allow-set-load; }; }; };