From patchwork Wed Oct 30 07:02:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 13855991 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 41B9CD74951 for ; Wed, 30 Oct 2024 07:04:16 +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-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=KknQSR+eKemNJFp2M8/mGkuIkN4Spn04GdvZ2A49qtE=; b=YTJk9U031HFsxYozGapAbk4OeO 0iduyoDPchzf0qYknkhu/SL8f2LnURodH49Cm0S4frOWspY1okG9RQyTdu29S3mGQqjNGzNHUszYG SR5Vr4a5uaceEJMglLIdVFAFzt+K0Kn29H9FpYwgmJe+Sbw6p8pRFO6hK5JLxyI5ZfYVvEQXTp2Da +fhCBxNm+DR7QUVbHinEojAnT/tfaRGsSY8geSXozAebjlVLSBLXopFaIflGEb1/N1Os4khJoAFHF AFoEoMySzZHUoyvB/ooG7ZKGXB1yjLhkXsyzTQAog2CaqsNPcF7zUrb3mWPzB2/t7+UdfrG3uv4UY 9rybkjuw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t62kZ-0000000H4Vt-14Te; Wed, 30 Oct 2024 07:04:15 +0000 Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t62it-0000000H46z-2KQY for linux-mediatek@lists.infradead.org; Wed, 30 Oct 2024 07:02:32 +0000 Received: by mail-pg1-x532.google.com with SMTP id 41be03b00d2f7-7ea7e250c54so4728080a12.0 for ; Wed, 30 Oct 2024 00:02:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1730271751; x=1730876551; darn=lists.infradead.org; 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=KknQSR+eKemNJFp2M8/mGkuIkN4Spn04GdvZ2A49qtE=; b=Cj3eL85dZjEIQxIAY+ieVpna6wZCoUVPtFoZHnRlO2bL6IvZucIHJAtY/D+d3vSuWI 0u2Wea2FnhgKY4FqmJQj5z65IYEW8KDovL1X0fG5F9NRG2NbVD/X4kzhb4yYSkplTjgK ebtWCpeLU00oZeIGlkrCxrKux736CxI13+nWE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730271751; x=1730876551; 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=KknQSR+eKemNJFp2M8/mGkuIkN4Spn04GdvZ2A49qtE=; b=EffdJFzb+VJxcKeoQNMNI0+1BO6qJ9DgT5fReK3moN3mgGhBstBsBvE86J3R94++ra Pw5ZpUfxaRa955BuoRrms8Ip8IOdeuCg3rH6SW/Z7mGqXJ2ewwAjcu4F118OKAFXcwbZ npirchEXlKMP+uhSdZUeXvw7AtfnvIeSJ10Ol6Bu48jUfKq1AG05dPnSlHHkgGEsOWun Km+B34ws1NpG77UH4vic9LaOUV1KDnseTeX3Vrw7DWakH/QYUdpwgGk4VGu8eBBwqR4o fPBVCdKSlXE7+sEqpcymEusNDiZdEf7JgR5550vyLzW1kMALjhGQ9gkKaec/tRrXHI+g 5OdA== X-Forwarded-Encrypted: i=1; AJvYcCUrdXTu9MTYoB2qrAMO6vdeVE+bY+9cFoOfjHY0dDrzjE8/+f9Y9Hc+PYaIC4/KpMyQBhzI3Mwz5wHX626+bA==@lists.infradead.org X-Gm-Message-State: AOJu0Yzm5vNxf7YLZ9QfNxvlakCiRuHpEllhKxb/pzGLoQvxn/s8/Ehb 7qEebC7m96yCyouXpnT7GuVqvaEyluIeCeVm31QZel60jHYRcZ3oyfidlQ/lLg== X-Google-Smtp-Source: AGHT+IE542rBFyNruVAgVa8rHIBdj9gp4Qb/CIOnHECLZLKhZmSrZ/HsHZquCKjl9UnkfF9hM4mmVA== X-Received: by 2002:a05:6a21:1706:b0:1d2:eb91:c0c1 with SMTP id adf61e73a8af0-1d9a851d42cmr19985216637.42.1730271750941; Wed, 30 Oct 2024 00:02:30 -0700 (PDT) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:d1f3:aa64:657f:d8a8]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72057931a94sm8635848b3a.68.2024.10.30.00.02.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2024 00:02:30 -0700 (PDT) From: Chen-Yu Tsai To: Matthias Brugger , AngeloGioacchino Del Regno Cc: Chen-Yu Tsai , devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/4] arm64: dts: mediatek: mt8183-kukui-jacuzzi: Drop pp3300_panel voltage settings Date: Wed, 30 Oct 2024 15:02:20 +0800 Message-ID: <20241030070224.1006331-2-wenst@chromium.org> X-Mailer: git-send-email 2.47.0.163.g1226f6d8fa-goog In-Reply-To: <20241030070224.1006331-1-wenst@chromium.org> References: <20241030070224.1006331-1-wenst@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241030_000231_628180_FF7F28E6 X-CRM114-Status: UNSURE ( 9.86 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org The pp3300_panel fixed regulator is just a load switch. It does not have any regulating capabilities. Thus having voltage constraints on it is wrong. Remove the voltage constraints. Fixes: cabc71b08eb5 ("arm64: dts: mt8183: Add kukui-jacuzzi-damu board") Signed-off-by: Chen-Yu Tsai --- arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi index 783c333107bc..7bbafe926558 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi @@ -35,8 +35,6 @@ pp1800_mipibrdg: pp1800-mipibrdg { pp3300_panel: pp3300-panel { compatible = "regulator-fixed"; regulator-name = "pp3300_panel"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; pinctrl-names = "default"; pinctrl-0 = <&pp3300_panel_pins>; From patchwork Wed Oct 30 07:02:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 13856018 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 2762AD7497B for ; Wed, 30 Oct 2024 07:07:35 +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-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=lF1qEJly3xEvubxa1plhNMCfVxpYmwCDO14UJEUO81M=; b=4vxRxQ5XkGR6PZuInY5y41m5xo /rXi+zG3O3A6nACcv2mn3fOZLdW9xCl/YB7LWHtCzP2whoecBHf+Tkq/qdus13Ko9EhZ1+gZmSeEu 5LgfYcZiej/eSEa39E7BGQzGYqaByF/togd1pyqTJEQVbSu0/VpE0BJ2weX4AyUcEhfyan2AMK+rI ZVGA6Xn4O7HxmQYr8sAvc7NrP9sBagfURflDOrEMeij6DG/0PZgnpPWZRv2t4jApx3t7Wa7AgAHDC DZcCqYFVh9TiHr6GJ8Hl4FNvlQsxpGImja3YGr9HwKnlvDGLwDt/fX9A26c3Y6S6RR2T5YQWIwrGs u+zUrpxg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t62nm-0000000H4sG-0X2H; Wed, 30 Oct 2024 07:07:34 +0000 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t62iw-0000000H47x-0P73 for linux-mediatek@lists.infradead.org; Wed, 30 Oct 2024 07:02:35 +0000 Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-71e70c32cd7so4989244b3a.1 for ; Wed, 30 Oct 2024 00:02:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1730271753; x=1730876553; darn=lists.infradead.org; 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=lF1qEJly3xEvubxa1plhNMCfVxpYmwCDO14UJEUO81M=; b=JCF9QTSgE8lZn+Pwa4Z2VpnE6qCxaRIQnL3fLpiIeMrdJ7yuTeG9W6mhVyojIlr9JL hjrAtzwvZXeirUyMqkWBJEI1yj3I/wNQGEE6usgOdAcX2K3U4W87B8FrIf+sijEVedqE zPswSMvvAa37buvGPIFmB0IbSuuCt/1Gw1M6M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730271753; x=1730876553; 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=lF1qEJly3xEvubxa1plhNMCfVxpYmwCDO14UJEUO81M=; b=Ekxi7Ll6RsiVi3tHljecUB9QL6DR7JfMMGSXzPXBDr3gd9R45f1Fy5OBn0dSbaXowz 2eIXWQaMVqFUzMGx+d/ghtBzlFwZJ072au0hR759rARuKXFTBvF6AoCplMZKHP6m64Hm A3W5UuVmxVNExCZddEuj0Zitnl6GNLRoGuaB48Co89uVsNGsuzvQPw3MGAdc/1LMErMc tw2VMjsBj9OfoBxh8rPCuTvTTjy+pCAXTiTUAjNX/kRSDKEbdZkeosw91z5cK/D99mbz 6evOR8TzE9UVo99KHO5D3JMVaY6z7AOFCQU0cs4EfomZG7qqeU2rgxctPDqGLwXhCtjA i69w== X-Forwarded-Encrypted: i=1; AJvYcCXmcVNXkJDWvhsauV7LfkiJpZs23joCve7lPDG75EfTtejpMgAY9H0gPa2DDFgBBP5ySe3jayP4hNG3ejHNTQ==@lists.infradead.org X-Gm-Message-State: AOJu0YwX8pl/Zu82KfkM5Py2iuQ35y+wsqAPDYsQxWvhd7EXVZ2vlZpC P6iQgj1gojhB09JmWpM7uvjyY2nKKKoYyKT2I3fYIln5t6N4rP4vzCgkuKqybg== X-Google-Smtp-Source: AGHT+IFLPfQ/A5eko0pgXITap2wpEZJrJtsvHymtQmufWyNzTU2B5jU7ujsLfLpOT0HBExHRm0TYeA== X-Received: by 2002:a05:6a00:8cf:b0:71e:587d:f276 with SMTP id d2e1a72fcca58-72063093364mr18860624b3a.25.1730271752832; Wed, 30 Oct 2024 00:02:32 -0700 (PDT) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:d1f3:aa64:657f:d8a8]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72057931a94sm8635848b3a.68.2024.10.30.00.02.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2024 00:02:32 -0700 (PDT) From: Chen-Yu Tsai To: Matthias Brugger , AngeloGioacchino Del Regno Cc: Chen-Yu Tsai , devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/4] arm64: dts: mediatek: mt8183-kukui-jacuzzi: Fix DP bridge supply names Date: Wed, 30 Oct 2024 15:02:21 +0800 Message-ID: <20241030070224.1006331-3-wenst@chromium.org> X-Mailer: git-send-email 2.47.0.163.g1226f6d8fa-goog In-Reply-To: <20241030070224.1006331-1-wenst@chromium.org> References: <20241030070224.1006331-1-wenst@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241030_000234_166973_38E756C7 X-CRM114-Status: GOOD ( 10.56 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Some of the regulator supplies for the MIPI-DPI-to-DP bridge and their associated nodes are incorrectly named. In particular, the 1.0V supply was modeled as a 1.2V supply. Fix all the incorrect names, and also fix the voltage of the 1.0V regulator. Fixes: cabc71b08eb5 ("arm64: dts: mt8183: Add kukui-jacuzzi-damu board") Signed-off-by: Chen-Yu Tsai --- .../dts/mediatek/mt8183-kukui-jacuzzi.dtsi | 26 ++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi index 7bbafe926558..f540dcac74ea 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi @@ -8,11 +8,13 @@ #include / { - pp1200_mipibrdg: pp1200-mipibrdg { + pp1000_mipibrdg: pp1000-mipibrdg { compatible = "regulator-fixed"; - regulator-name = "pp1200_mipibrdg"; + regulator-name = "pp1000_mipibrdg"; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; pinctrl-names = "default"; - pinctrl-0 = <&pp1200_mipibrdg_en>; + pinctrl-0 = <&pp1000_mipibrdg_en>; enable-active-high; regulator-boot-on; @@ -24,7 +26,7 @@ pp1800_mipibrdg: pp1800-mipibrdg { compatible = "regulator-fixed"; regulator-name = "pp1800_mipibrdg"; pinctrl-names = "default"; - pinctrl-0 = <&pp1800_lcd_en>; + pinctrl-0 = <&pp1800_mipibrdg_en>; enable-active-high; regulator-boot-on; @@ -44,11 +46,11 @@ pp3300_panel: pp3300-panel { gpio = <&pio 35 GPIO_ACTIVE_HIGH>; }; - vddio_mipibrdg: vddio-mipibrdg { + pp3300_mipibrdg: pp3300-mipibrdg { compatible = "regulator-fixed"; - regulator-name = "vddio_mipibrdg"; + regulator-name = "pp3300_mipibrdg"; pinctrl-names = "default"; - pinctrl-0 = <&vddio_mipibrdg_en>; + pinctrl-0 = <&pp3300_mipibrdg_en>; enable-active-high; regulator-boot-on; @@ -144,9 +146,9 @@ anx_bridge: anx7625@58 { pinctrl-0 = <&anx7625_pins>; enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>; reset-gpios = <&pio 73 GPIO_ACTIVE_HIGH>; - vdd10-supply = <&pp1200_mipibrdg>; + vdd10-supply = <&pp1000_mipibrdg>; vdd18-supply = <&pp1800_mipibrdg>; - vdd33-supply = <&vddio_mipibrdg>; + vdd33-supply = <&pp3300_mipibrdg>; ports { #address-cells = <1>; @@ -389,14 +391,14 @@ &pio { "", ""; - pp1200_mipibrdg_en: pp1200-mipibrdg-en { + pp1000_mipibrdg_en: pp1000-mipibrdg-en { pins1 { pinmux = ; output-low; }; }; - pp1800_lcd_en: pp1800-lcd-en { + pp1800_mipibrdg_en: pp1800-mipibrdg-en { pins1 { pinmux = ; output-low; @@ -458,7 +460,7 @@ trackpad-int { }; }; - vddio_mipibrdg_en: vddio-mipibrdg-en { + pp3300_mipibrdg_en: pp3300-mipibrdg-en { pins1 { pinmux = ; output-low; From patchwork Wed Oct 30 07:02:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 13856019 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 3A126D74951 for ; Wed, 30 Oct 2024 07:09:13 +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-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=p5E41YcKQMsnvd5Y3pXv00rVYjTkf8zP3kA/zd8g2Nw=; b=axj8kQXf+IEjxEmBE18We26vdl OS+m9CqKuLWSCWBSZIgNDRY4RiRttpGzWDoY3cLnezcT7e6Yn3eSktmyiU0OHtltrTVCQQ3fv68U/ vEnQNW3gfo+Fv7p7fL8+jC0QQXiwUdXuAx4/ch8Jv9twFxLzWtZC2lqxm11tq0RC1hqV2ygL+LMYv m9DtusCn3z4AxEWBDSdjnffGr0/fozU9p0D0uIdeF7GFYTDQSwftN92zCuMRjO8earhhfBsJwMXpF sqrVwPdnx8H9yac6jfDY8leSAQbMWWBfjvhCmJVAtmLLkQaBdqG3BiegiZFEBJ1r4+8Y1TfQVIyyX aZwaCmqA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t62pM-0000000H50L-12aH; Wed, 30 Oct 2024 07:09:12 +0000 Received: from mail-pg1-x52a.google.com ([2607:f8b0:4864:20::52a]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t62ix-0000000H48s-3PyF for linux-mediatek@lists.infradead.org; Wed, 30 Oct 2024 07:02:37 +0000 Received: by mail-pg1-x52a.google.com with SMTP id 41be03b00d2f7-7ea7e250c54so4728138a12.0 for ; Wed, 30 Oct 2024 00:02:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1730271755; x=1730876555; darn=lists.infradead.org; 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=p5E41YcKQMsnvd5Y3pXv00rVYjTkf8zP3kA/zd8g2Nw=; b=iXVTVtzd3yfrfL7+O3OeUjwTAn6xYUhlAXJzMy6EnRjM1gojqp0j5xfmlI4Gl4THy4 HZIBvons3ox2A5eBT9arapw05LyybDGXOexc72cenwrCmqlz7enbhs5575qbKVZpVwqY 8onxZ0zQXQ6Av1i3SBHRwazf54dUJJOmk8p1c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730271755; x=1730876555; 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=p5E41YcKQMsnvd5Y3pXv00rVYjTkf8zP3kA/zd8g2Nw=; b=mjeGQ6XxwEPhoC6a/dmNQQmTSjb56Qez8BIoECeA/v5Xr7NrjMVxYP8yM00t0SL2JQ M6xhYBxjIZoZAGB62NWkNQZrFIQSiPbJYS3RXrr9l5h6zud6mEqxZIiG7gZchtsF4MFB cnypbmiJbAIQgq3iW72pZKCW3vlFCSyF3rTpBoVnLiFn4CSrBqJMnaI+0N+l0X9o1AZY HiZn6CJAKdpBb8END3WezEzJhBlmOASbZs7rrFPocPf4memjPNwQFbkpPNCwOcjOHtby Sie2jeOxvzliZXGEdqVXU1h0hHag3eOJnh+zJWaZyKf+gnWQvmnxtImGNEj1V4lTftwE nyuA== X-Forwarded-Encrypted: i=1; AJvYcCUCG8zNetmDm4W+pjXh/BvqxJ5y/sY8EyR6wQ2hPltUz/+v0CbKFT8bk6SmzMSkGcw+ygZUAhiw/o2/zC++Bw==@lists.infradead.org X-Gm-Message-State: AOJu0YyOek24/LpBWV/Hs29IgIVN9RrJrd0CSVHSQNObFwDsgaDTpwzL 77XQRMb8wco64hJ0p15MOEb8SS884Yaut8eQ9UQS0GNxUhN/D7Lmcx+8a2jNHw== X-Google-Smtp-Source: AGHT+IFrSYRhWTI2J+yd+pm72XTyFxdk2kxo61HvPYmkLDKpokBYjWWPyujJdt4yASL5lBgrzTxGwA== X-Received: by 2002:a05:6a21:7890:b0:1d9:c5e6:51af with SMTP id adf61e73a8af0-1d9c5e654aemr11950511637.3.1730271754788; Wed, 30 Oct 2024 00:02:34 -0700 (PDT) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:d1f3:aa64:657f:d8a8]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72057931a94sm8635848b3a.68.2024.10.30.00.02.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2024 00:02:34 -0700 (PDT) From: Chen-Yu Tsai To: Matthias Brugger , AngeloGioacchino Del Regno Cc: Chen-Yu Tsai , devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/4] arm64: dts: mediatek: mt8183-kukui-jacuzzi: Add supplies for fixed regulators Date: Wed, 30 Oct 2024 15:02:22 +0800 Message-ID: <20241030070224.1006331-4-wenst@chromium.org> X-Mailer: git-send-email 2.47.0.163.g1226f6d8fa-goog In-Reply-To: <20241030070224.1006331-1-wenst@chromium.org> References: <20241030070224.1006331-1-wenst@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241030_000235_867614_036B5973 X-CRM114-Status: GOOD ( 10.56 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org When the fixed regulators for the LCD panel and DP bridge were added, their supplies were not modeled in. These, except for the 1.0V supply, are just load switches, and need and have a supply. Add the supplies for each of the fixed regulators. Fixes: cabc71b08eb5 ("arm64: dts: mt8183: Add kukui-jacuzzi-damu board") Signed-off-by: Chen-Yu Tsai --- arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi index f540dcac74ea..80888bd4ad82 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi @@ -20,6 +20,7 @@ pp1000_mipibrdg: pp1000-mipibrdg { regulator-boot-on; gpio = <&pio 54 GPIO_ACTIVE_HIGH>; + vin-supply = <&pp1800_alw>; }; pp1800_mipibrdg: pp1800-mipibrdg { @@ -32,6 +33,7 @@ pp1800_mipibrdg: pp1800-mipibrdg { regulator-boot-on; gpio = <&pio 36 GPIO_ACTIVE_HIGH>; + vin-supply = <&pp1800_alw>; }; pp3300_panel: pp3300-panel { @@ -44,6 +46,7 @@ pp3300_panel: pp3300-panel { regulator-boot-on; gpio = <&pio 35 GPIO_ACTIVE_HIGH>; + vin-supply = <&pp3300_alw>; }; pp3300_mipibrdg: pp3300-mipibrdg { @@ -56,6 +59,7 @@ pp3300_mipibrdg: pp3300-mipibrdg { regulator-boot-on; gpio = <&pio 37 GPIO_ACTIVE_HIGH>; + vin-supply = <&pp3300_alw>; }; volume_buttons: volume-buttons { From patchwork Wed Oct 30 07:02:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 13856020 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 B8561D7497B for ; Wed, 30 Oct 2024 07:09:13 +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-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=lij+PC1fLvJixrLcoV9Z1Urjyzf4HaJGb+O+EycfkvQ=; b=h1YigzPmmBWD87lNyqerKBk82S UAV4DotGUOWR7u8f58DHi5AcOj9mGelVVDU2OeYgIev2w+aovyV2WHdYTccPJbTkxJ10SBXiGrv87 /yyrDzpq2XnYDfphy5h9bndyqxxU8d7toR8et7zykbwE6H8CFh6pefMujiZQJmv8D/x5cFiQpVKWH D5HdSwVzFP8XH3bsIL88jwkIWo1zdjydYU3wBgHm+FFoxPTydqOCouDKWW0UEUtVsYABxv/79u1yp GaVDOEIsn6nCYr2t6BhHNp6/vfWCHh3ZcWxNgzlv61baFop2RnccyzcazRm8dKEWnQiURkPnr9rWs 6LtqpKyg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t62pM-0000000H50Y-2p5L; Wed, 30 Oct 2024 07:09:12 +0000 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t62iz-0000000H49s-1VWE for linux-mediatek@lists.infradead.org; Wed, 30 Oct 2024 07:02:38 +0000 Received: by mail-pg1-x52f.google.com with SMTP id 41be03b00d2f7-7ea0ff74b15so4198947a12.3 for ; Wed, 30 Oct 2024 00:02:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1730271757; x=1730876557; darn=lists.infradead.org; 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=lij+PC1fLvJixrLcoV9Z1Urjyzf4HaJGb+O+EycfkvQ=; b=M/9PM5JYwIqfi1R5tTIyomr1xnqXw/A0xQFQzv4+iydHbvC8nqniWEwDc/GtV4RAkO skM3p8pCbLtaJcl1TEzy3yBvGrtS7WDbBh9566ouYiXHjEPqsJSaug5lDaYS3QxtVFMg JNRASELGjhpopqq1RJYjOUHfCFURVr3Vm3FkI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730271757; x=1730876557; 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=lij+PC1fLvJixrLcoV9Z1Urjyzf4HaJGb+O+EycfkvQ=; b=hYxni69MGoSaW3+0xwB43SrN+uUISbR/qGg8qOrUz+tujuzEh5Jom4mdjPotoZvlXh w6OskT0WroqsJ62UX0LkPWlNsKYABVaHENZHP5zE7UkTdaBjfc72Bec9VckwkFpidZzM +esYzx5Nr6mjxvHwRq/8b5hmQOvT65Lb/ZwwrV/hXG9ro69rmkxisVJPZX9ZhHT5OA11 yxwOIv0+Lai6Eqy8yQ2clhxf/EHcKPhM6Js+ebTrUrrJ536FvTReMjvXhaJNj5Ggcx04 QFdCWCaHiL9e6qyz+B7phRz058RBKTAScPXnmQlPPjXmdlQvCQqW5C+cWMh2SnvHFqLC Q0IQ== X-Forwarded-Encrypted: i=1; AJvYcCVm/kfDOgiAjXj+oFHdtxrQCILxGPaO2hQjYbTQy9aEPeQ0Du+GiVZTGMw6QMlF4Pf1zslyKf9yVtclmIvXlg==@lists.infradead.org X-Gm-Message-State: AOJu0YzkuBCa6ARHxR/8c4BOU86ICm5g+gr6Hg3VOspOEkkFm2ektiMW ptiRXJ2V1WjLf877BXuhkDq7evVIVR9Pm11Srj0P22JeOixqwfQCt+KZ0feELg== X-Google-Smtp-Source: AGHT+IEMIHQ8npyjfU/99fAX2NsP9PaKHpba5mfPSOR0IqSW7YKOpbx3Zp8jaGt7KFeqZbuG5u4Y4w== X-Received: by 2002:a05:6a20:e605:b0:1d9:69cb:9f90 with SMTP id adf61e73a8af0-1d9a83d10bdmr20483336637.19.1730271756808; Wed, 30 Oct 2024 00:02:36 -0700 (PDT) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:d1f3:aa64:657f:d8a8]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72057931a94sm8635848b3a.68.2024.10.30.00.02.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2024 00:02:36 -0700 (PDT) From: Chen-Yu Tsai To: Matthias Brugger , AngeloGioacchino Del Regno Cc: Chen-Yu Tsai , devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] arm64: dts: mediatek: mt8183-kukui: Drop bogus fixed regulators Date: Wed, 30 Oct 2024 15:02:23 +0800 Message-ID: <20241030070224.1006331-5-wenst@chromium.org> X-Mailer: git-send-email 2.47.0.163.g1226f6d8fa-goog In-Reply-To: <20241030070224.1006331-1-wenst@chromium.org> References: <20241030070224.1006331-1-wenst@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241030_000237_428143_F0B509AB X-CRM114-Status: GOOD ( 12.11 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org A couple of the fixed regulators in the Kukui dtsi do not actually exist in the hardware design; they are simply power rails connected together with 0 ohm bridges. Drop them and assign their upstream supplies to their consumers instead. Signed-off-by: Chen-Yu Tsai --- .../dts/mediatek/mt8183-kukui-katsu-sku32.dts | 2 +- .../dts/mediatek/mt8183-kukui-katsu-sku38.dts | 2 +- .../arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 25 ++----------------- 3 files changed, 4 insertions(+), 25 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku32.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku32.dts index 05361008e8ac..2b5a8d1f900e 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku32.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku32.dts @@ -23,7 +23,7 @@ touchscreen1: touchscreen@5d { interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; reset-gpios = <&pio 156 GPIO_ACTIVE_LOW>; - vdd-supply = <&lcd_pp3300>; + vdd-supply = <&pp3300_alw>; }; }; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku38.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku38.dts index cf008ed82878..75fadf2c7059 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku38.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku38.dts @@ -23,7 +23,7 @@ touchscreen1: touchscreen@5d { interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; reset-gpios = <&pio 156 GPIO_ACTIVE_LOW>; - vdd-supply = <&lcd_pp3300>; + vdd-supply = <&pp3300_alw>; }; }; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi index e9e6253141c6..0cf50b1f59c8 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi @@ -52,27 +52,6 @@ it6505_pp18_reg: regulator0 { vin-supply = <&pp1800_alw>; }; - lcd_pp3300: regulator1 { - compatible = "regulator-fixed"; - regulator-name = "lcd_pp3300"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - regulator-boot-on; - }; - - mmc1_fixed_power: regulator3 { - compatible = "regulator-fixed"; - regulator-name = "mmc1_power"; - vin-supply = <&pp3300_alw>; - }; - - mmc1_fixed_io: regulator4 { - compatible = "regulator-fixed"; - regulator-name = "mmc1_io"; - vin-supply = <&pp1800_alw>; - }; - pp1800_alw: regulator5 { compatible = "regulator-fixed"; regulator-name = "pp1800_alw"; @@ -373,8 +352,8 @@ &mmc1 { pinctrl-names = "default", "state_uhs"; pinctrl-0 = <&mmc1_pins_default>; pinctrl-1 = <&mmc1_pins_uhs>; - vmmc-supply = <&mmc1_fixed_power>; - vqmmc-supply = <&mmc1_fixed_io>; + vmmc-supply = <&pp3300_alw>; + vqmmc-supply = <&pp1800_alw>; mmc-pwrseq = <&wifi_pwrseq>; bus-width = <4>; max-frequency = <200000000>;