From patchwork Fri Dec 13 19:54:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hermann.Lauer@uni-heidelberg.de X-Patchwork-Id: 13907820 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 752A2E7717F for ; Fri, 13 Dec 2024 19:56:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:MIME-Version: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Jy02I8L9+UUCTrVx4uPx9NaL+wtkq5/AQwepBZ4NI9A=; b=kE55GLyAAsokgT9OI00MHtNIyv 1oEjMJ82ryZJbzmK/z2OqFEffXtoO52aXZ5vii1xLJHvNBmFl5Vq8F4EH+haMS6GOVRiFA9k7nw6T EZZt6J5RHPxVmHie6hErCvxRQ9JKih6zRIK+DVsPDPZut81Cb1qVC2ZCLp1RlynqdQK9xCHPDITxR vfY/i4iYTexGoVzpu4169o4VIvD+Kqapwi9Ad/STCODHwTVFJMOGthFbDYNbGrpqGvfc3Bj4/35cr pGSLFpLJL5SX27+QkuKGOkjxdIcXBgCbSVSU8Z2sESs03L5XLW+ZMnWqiUvY2B0s/6xu5m2C3qRRO zucP/ElQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tMBlP-00000004tIp-09Di; Fri, 13 Dec 2024 19:55:51 +0000 Received: from relay3.uni-heidelberg.de ([129.206.100.213]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tMBkJ-00000004t53-0yV6 for linux-arm-kernel@lists.infradead.org; Fri, 13 Dec 2024 19:54:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=uni-heidelberg.de; i=@uni-heidelberg.de; q=dns/txt; s=s1; t=1734119683; x=1765655683; h=date:from:to:cc:subject:message-id:mime-version; bh=zFml9V48tq1Bs/Zu8HpapxYWnav6z7nwM0EEjEzGWV0=; b=MB9YonuPaDCbHPEOKDqiKKRb3zbfAvdam/3G79WWciuEwehF5whekcvh QKjaCeIounzdAMMJnSMPEjuz2U+RAH1q2MzfGd0zTOucTXcenvcqQMZKg k1yBt6rs9v2UVgolv0Ds3TvsyxD4giS7sNqHZfqjaLUrZPSeBOHwc63bR AkoCYySDvKrBymvGKQrbChPy67FC9i4kk8YD0giX8OjtN8T5m9brAkToS QUfqlzmzX+brI/UE8jgRgVDa05/IvnGSl5AEuwE2eB/2SQ2OtHnR37z68 2Ev1KpXRAql7RmrrrVXBvZBKy98NFPSHicvZf1gD7YxO2g79aSSoY6sER w==; X-CSE-ConnectionGUID: +ub3uNglS8mJbHVh7XVuPA== X-CSE-MsgGUID: OFt8zcDWTwaDCed5i4LwPQ== X-IPAS-Result: A2AWAwDYj1xn/1BqzoFagQmBU4IcgwmEVbAJFIF5AQEBAQEBAQEBCUQEAQGFB4puKDQJDgECBAEBAQEDAgMBAQEBAQEBAQ4BAQYBAQEBAQcFgSGGCIcEVjIDAiYCFjoOARKFZrFigTKBAd5KgVaBGi6ITgGFazuCDYR+gRQBg2iEJQU2gz46gi8EiRydO4FNeDIBVRMXCwcFgTo6AyIMNjECgR6BAhQGFQSBC0Y9gklpSToCDQI2aYE7JFiCTYUZhGWEVYJLVYJ9ghl8gSEdQAMLbT03Bg4bnSVGhxij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b+7vEHxBFIJoyAHmQsUX8YErmRAA2Fv6EMWTIwuc7ZKSY3ucSLEgOVSIb/wk4K7snOkz2 4sOXydt40gEONASchXqHZgvwUciAVVTOHwbg8hac+mFZAt5Aic8Df6Uwb4gd4FhlalPmaHE8 xlRu3O0KnKl3RUryi3TNBiPjY8Dur4l9RoG0dQEZwrA5pTaSd/HAWd2X8JfkUMb3OJi1+Voa PIOZt+NBP9CIhyepG9BNcOt9t05JU/w7e5rA8ZDSGVuF3KHb1GSkuIIgiOynMXzJnPs7JBk8 9VMKCuHG8VfL+idMComQKj2lALs5iZ1dBNaQk3JPNRJY0Tw+YV2Yyz8j/M6J8sBMxqr+9dp/ 1j+PPrZzMGTy7IIHC7h3PDV9NvzQrciRiK33QDztN6LCMUTxUL7qacobQpCVWm1uL/ckEl6W dho8g== IronPort-HdrOrdr: A9a23:rY+Rk61FrAls5XRAVLpPOQqjBJAkLtp133Aq2lEZdPUzSL38qy nOpoV56faQsl0ssR4b6LK90cW7L080sKQFhbX5Xo3PYOCFggSVxehZhOOO/9SjIVyYygc378 ddmsZFaeHYMXg/q9rm6w+lFNsazMCA673Av5an8593JzsaDZ2IAj0JczpymSBNLjV7OQ== X-Talos-CUID: 9a23:arNhm2Fey9i/vTZ2qmIk6URPB+YqdkaNyVXaA3G4VlZXVYW8HAo= X-Talos-MUID: 9a23:jMg1/Q+zjebslZCPOxUPhzOQf+BG//S8A2wyrYoPl+KJOXFxZxOCtA3iFw== X-IronPort-Anti-Spam-Filtered: true Received: from lemon.iwr.uni-heidelberg.de ([129.206.106.80]) by relay3.uni-heidelberg.de with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 13 Dec 2024 20:54:34 +0100 Received: from hlauer by lemon.iwr.uni-heidelberg.de with local (Exim 4.92) (envelope-from ) id 1tMBk9-0000QN-SP; Fri, 13 Dec 2024 20:54:33 +0100 Date: Fri, 13 Dec 2024 20:54:33 +0100 From: Hermann.Lauer@uni-heidelberg.de To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2] ARM: dts: sun8i-r40: remove unused GPIO regulator Message-ID: <20241213195433.GA1568@lemon.iwr.uni-heidelberg.de> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241213_115443_845491_59C366CF X-CRM114-Status: UNSURE ( 7.73 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Subject: [PATCH v2] ARM: dts: sun8i-r40: remove unused GPIO regulator Banana Pi M2 Ultra V1.1 board resets immediately when the usb core tries to setup PH23 GPIO. It turned out that the V1.0 board USB-A ports are always power supplied and according to the board scheme PH23 is simply not connected. So remove the PH23 setup: Doesn't harm V1.0 (with R40) and let V1.1 (with A40i) start. Signed-off-by: Hermann Lauer Reviewed-by: Andre Przywara --- V2: shorten subject, rm dangerous PH23 regulator completely diff --git a/arch/arm/boot/dts/allwinner/sun8i-r40-bananapi-m2-ultra.dts b/arch/arm/boot/dts/allwinner/sun8i-r40-bananapi-m2-ultra.dts --- a/arch/arm/boot/dts/allwinner/sun8i-r40-bananapi-m2-ultra.dts +++ b/arch/arm/boot/dts/allwinner/sun8i-r40-bananapi-m2-ultra.dts @@ -91,15 +91,6 @@ }; }; - reg_vcc5v0: vcc5v0 { - compatible = "regulator-fixed"; - regulator-name = "vcc5v0"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - gpio = <&pio 7 23 GPIO_ACTIVE_HIGH>; /* PH23 */ - enable-active-high; - }; - wifi_pwrseq: pwrseq { compatible = "mmc-pwrseq-simple"; reset-gpios = <&pio 6 10 GPIO_ACTIVE_LOW>; /* PG10 WIFI_EN */ @@ -347,7 +338,5 @@ }; &usbphy { - usb1_vbus-supply = <®_vcc5v0>; - usb2_vbus-supply = <®_vcc5v0>; status = "okay"; };