Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp2482868rwb; Sun, 4 Sep 2022 17:26:51 -0700 (PDT) X-Google-Smtp-Source: AA6agR53cPBdR1DntU7ls/gSGAmHPpVHgKXDLMnYKgbtXq3WinanMuFLzzN8XphConYjvyRgO98T X-Received: by 2002:a17:907:724f:b0:731:9ec:10fc with SMTP id ds15-20020a170907724f00b0073109ec10fcmr34707648ejc.427.1662337610737; Sun, 04 Sep 2022 17:26:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662337610; cv=none; d=google.com; s=arc-20160816; b=CWh2GUxbUBWDJcHgxrUYCflmgU/YBkRh4eoXf4As2iQ8wgWtUOZ0AeoEtuU/ubygoQ uAMgnKOOG8ILn1vv1ZuAX+HRmRArTsMF44Jn5kdzNJuigSu8O518gZ8aaNP5KMbulI6x mTrl1mvBzYW4jVmcs2TUmF21u4wF0mBlCKF6EVynnGK3TFA2+HKZAdpMA/+b7SGeIlCw JtOXOUr/AmLEV++OJPznSo1dUZNiz6NWf8XAPFJZugJjkhZ74hT0PZkeFlY3qD3GEQmY qlGJVtf/Kx0ZagIY+cVwzjraC+ncW7ZMGvSnkrGy+0aaeEzkC69YVgRX4GQ0nUz9uBoh zbFA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=ysv2/z6MjV2rSew7JuL34CRliqOTk9NDSsXK5CQgndI=; b=NIvWaBbw3GLWepdy+VFvZ2PSZTTm5korX/uug7pGMkssjavddKJPU5hW1JQvkoqWWR hshgH8FvnsVqT0YkiHW+0YozjkTv+MXU6uzxUserJ9M/1PlSUZv6fre7FNXUMA5WxmvJ oN3ct86nii4yCvkO21jUSe5cAZSkwOimGMOfJxmDgujUaNp5iv7v+Tl7dRodnMDs8uwv 36N80MFlZsgYRRjKBnWtdEj9+DZLdA+l8D05GdkCj7f6NQFgeC1zjkmwKlBntJZYfGJ+ HhmEDBP/xy3Ikv0d3U9hDLuNETFozPk99VvDiVCx6kkrPNPYyh/mSJQbG+yExcBhoK6K RlTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xff.cz header.s=mail header.b=S0ySmocw; 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=xff.cz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hd30-20020a170907969e00b007416e100f3dsi7468740ejc.986.2022.09.04.17.26.26; Sun, 04 Sep 2022 17:26:50 -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=@xff.cz header.s=mail header.b=S0ySmocw; 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=xff.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234334AbiIDXha (ORCPT + 99 others); Sun, 4 Sep 2022 19:37:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229596AbiIDXh1 (ORCPT ); Sun, 4 Sep 2022 19:37:27 -0400 Received: from vps.xff.cz (vps.xff.cz [195.181.215.36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E844B2409F; Sun, 4 Sep 2022 16:37:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xff.cz; s=mail; t=1662334641; bh=jLRdilnMCYu/2LORSkSSfxq/7hawIRimyy0TcaBVSdg=; h=From:To:Cc:Subject:Date:From; b=S0ySmocwO3hM9JxO7DVtM3BcsMOuVQiuSuyiUqAblDsNs3nMBXZz0MtnYh/iRZZlw 7GBbCtHMg2YpaYHkUaAxJxRa2FNET3QbSWn8CuzwBBgHVbqtoCEwKakqKj1/4ZY1Nh GibpZNZcbt55iHvGPsOnwgTEhQC6T/UsbLlQO8f8= From: Ondrej Jirman To: linux-rockchip@lists.infradead.org Cc: Ondrej Jirman , Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , Martijn Braam , Tom Fitzhenry , Caleb Connolly , Arnaud Ferraris , =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:ARM/Rockchip SoC support), linux-kernel@vger.kernel.org (open list) Subject: [PATCH] arm64: dts: rockchip: Fix SD card controller probe on Pinephone Pro Date: Mon, 5 Sep 2022 01:36:47 +0200 Message-Id: <20220904233652.3197885-1-megi@xff.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Voltage constraints on vccio_sd are invalid. They don't match the voltages that LDO9 can generate, and this causes rk808-regulator driver to fail to probe with -EINVAL when it tries to apply the constraints during boot. Fix the constraints to something that LDO9 can be actually configured for. Fixes: 78a21c7d5952 ("arm64: dts: rockchip: Add initial support for Pine64 PinePhone Pro") Signed-off-by: Ondrej Jirman --- arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts b/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts index f00c80361377a..2e058c3150256 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts @@ -253,8 +253,8 @@ regulator-state-mem { vccio_sd: LDO_REG9 { regulator-name = "vccio_sd"; - regulator-min-microvolt = <1710000>; - regulator-max-microvolt = <3150000>; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; }; vcc3v3_s0: SWITCH_REG { -- 2.37.3