From nobody Mon Nov 25 05:28:54 2024 Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BBF761D0BA5 for ; Wed, 30 Oct 2024 07:02:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730271753; cv=none; b=RYzRsTXf2+pqiD9MVwULV7/2kmPy/FAMJ43wwVxtnmF8uJQ2INpmNlEy4j+Cfr7AxKYPXh68zmj0fxmN4l9GykXgDKgNKQ28yoc/MXZJJexL3W6uPwu9LLTIB9mcNthPZks2ILwthODBHmwMf/ls9Xn3k7WuBnS94Ysu1irKhF0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730271753; c=relaxed/simple; bh=jwXJO78GesC1vXpD3JCaVF3h4cMBY4hU/BwWhvMga7A=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=PsTCT1xSP/DhMpPrn3XtkJUGbL+iajnp++JH8zzF8ruu6nziwe41mIg3rgF44D4rhXALpeqvIg6QfzoOU6JsklORgPuJ7a2MMVD5PoXwi/Gjv2rgzO6myGunYP7ol7jHJUSMC35PyldMaZa5IX74U/c68TH2+KcYRWt1JZPQVng= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=UUOhdgZ2; arc=none smtp.client-ip=209.85.210.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="UUOhdgZ2" Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-71e5a62031aso4624465b3a.1 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=vger.kernel.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=UUOhdgZ2zV6ClA8SIRw076AnlZ/dopzZQPOET91C6bvj4wyclE0Hndq5ZUc97f+y8H Ih0bNzYgwzQg3UmCoop0yiz+h8AJxphqDeOLRHZ6ExWVSxVr1PBc5QQr/eeDNtHnYDta cKWIQCkvAN7JdjGm74pDyHCBJyKacdH+tQo4w= 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=MplsbPq1pYlMiQ+Q2d8LOQvdy/tBoo8e/mS2BL8TJ+Ak5ZwxYgo89LA8JG59iZ1SHt 1G/248Vhm6maL/UIvIB8s6TK4LLxoY2dtxyWBVXpzF1+3P6HU+T6Q8L0rGHQqzhWGEwk Z+WWKVZMAiQI4v5xfWUTsZZjUmS4RbMPBHIUPMxOQkUe8xJXE03fsqQr3V/0oiBHqKxy UPxdExU0db3LB1g17q9L41Uc1PH1GKnMgGihHcKuP1NkVaCoRFH9l62W25TZOgBwrE5z CesU94N0f8yCJb6nUxSOZ3J/VKHFod2N4lUKzJFZAan/Df0hLtL1rPT14bR6brJatEd6 8R+Q== X-Forwarded-Encrypted: i=1; AJvYcCXvjuqlmbzZmNedXbk2Swq6biL0Wp7wVeJzoV41GIGRkE2aFwwngHWY8L0RVIbyMNF154hG0P4CLkRlhvw=@vger.kernel.org X-Gm-Message-State: AOJu0YxM1TEzkroucWvwatzLyn2JdsA8M1nyHuXEcSMAdQKmMvADEMEc G9M844vGes6Oa4UWSWl4b1h1z7a+t2A+tFm6YPcbXgWSXvHr01Mnt8Q7XpZoQ3B1Edu61POdVi4 = 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 =3D "regulator-fixed"; regulator-name =3D "pp3300_panel"; - regulator-min-microvolt =3D <3300000>; - regulator-max-microvolt =3D <3300000>; pinctrl-names =3D "default"; pinctrl-0 =3D <&pp3300_panel_pins>; =20 --=20 2.47.0.163.g1226f6d8fa-goog From nobody Mon Nov 25 05:28:54 2024 Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 93FC41DDC38 for ; Wed, 30 Oct 2024 07:02:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730271755; cv=none; b=rexIAmXaRdGPuxps0rB+clRkAUpXIsrL3bhOinseVEaiH+fU89KRp9wE5k4rWazlvG6alUTOEmLddmhWkyQAxxq7byYsxjFXm4ioEuAYF20OTUlfvdmjKlO/CZwtMTR1SP2TWbjklWBQh3QrFRy8d5dIUj9U0TYiazM27SBFf5s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730271755; c=relaxed/simple; bh=3X6IiId4qHxC14H05Tmc7YGDu5r5RtlkVil2KHK3+tw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=uewxinPIjMfM4t3wRNTiBgFhNo+zEOaY0+JBIdGZDd+CRlAVFlsHSv9Qt396pWlPUiT8djNCkLYXV5ZOOnGM+XaQVXas+AmwXTm3yYcdIzQb9s/f+JOxSs3u4vWs2QXCJEmKehw53GOQ9Ajb/gvGeGTbuzcuuy68//MsUvn8U30= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=R6nLEz8L; arc=none smtp.client-ip=209.85.210.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="R6nLEz8L" Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-71e6cec7227so5167859b3a.0 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=vger.kernel.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=R6nLEz8L3amelRWZAZz7TJGDcf4Tui4QMlZn7NgHl8tHSqX3WrPzRAUg1O0RMV8s+D FenWK1iTuqOgA87NqciycgVsfOpvb2FnfD73gXd9+qM6Zyxb5xnpMq/ZGS+/K6pReE1E 9RRAr1fK950mUPTd8QaqZeIoenlEb9zvumheA= 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=tT90vyR4GGmArEEUxOal1rF3FmGJjx8u/YIq2pEutv6196ZnSIr2XFERuBGA1eXazi LFrsP6z9+mLQ2o7Q+Cto7kcWdd2ECmHEM0MewiOkHVfP9Fk7Cijdvyd2UssHdIlGY1ez +rOqEEop9K1I+/fs548jMbL/55Ngpv1mZGjaTtGHs9ATHTU78QP4dMzX53DOFmq/MOjv b2pajmTDBFSkTSAmwlkSycH9wUVNDjk5pSoZW/v/bKwi7BLsLjfAU7e7lwDOkfDuBufB zrK83URbagdNztD9DISGl4/gckHYz1pTY8rOBXCvnEXFq2H4W1DZekE5EC202Y5MFKtF 8G5A== X-Forwarded-Encrypted: i=1; AJvYcCXQ8KFHEQgdOuHfarRGqSMmLgU8c0elQ/OraEmJPjvuohjheONFHZJvB29FprypUY3CAOJEM90+Iens0lI=@vger.kernel.org X-Gm-Message-State: AOJu0Yxjh4TWnds/sOCBFfiVj42kL/PZwKn/E6i92YiGYIaMN1GgpU2m h/3CYVtkShEqJ0nGlt2z7defluTH2oPxVhs4qjUQh1fyqtHBJHluiwUwz0Nf/A== 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 =20 / { - pp1200_mipibrdg: pp1200-mipibrdg { + pp1000_mipibrdg: pp1000-mipibrdg { compatible =3D "regulator-fixed"; - regulator-name =3D "pp1200_mipibrdg"; + regulator-name =3D "pp1000_mipibrdg"; + regulator-min-microvolt =3D <1000000>; + regulator-max-microvolt =3D <1000000>; pinctrl-names =3D "default"; - pinctrl-0 =3D <&pp1200_mipibrdg_en>; + pinctrl-0 =3D <&pp1000_mipibrdg_en>; =20 enable-active-high; regulator-boot-on; @@ -24,7 +26,7 @@ pp1800_mipibrdg: pp1800-mipibrdg { compatible =3D "regulator-fixed"; regulator-name =3D "pp1800_mipibrdg"; pinctrl-names =3D "default"; - pinctrl-0 =3D <&pp1800_lcd_en>; + pinctrl-0 =3D <&pp1800_mipibrdg_en>; =20 enable-active-high; regulator-boot-on; @@ -44,11 +46,11 @@ pp3300_panel: pp3300-panel { gpio =3D <&pio 35 GPIO_ACTIVE_HIGH>; }; =20 - vddio_mipibrdg: vddio-mipibrdg { + pp3300_mipibrdg: pp3300-mipibrdg { compatible =3D "regulator-fixed"; - regulator-name =3D "vddio_mipibrdg"; + regulator-name =3D "pp3300_mipibrdg"; pinctrl-names =3D "default"; - pinctrl-0 =3D <&vddio_mipibrdg_en>; + pinctrl-0 =3D <&pp3300_mipibrdg_en>; =20 enable-active-high; regulator-boot-on; @@ -144,9 +146,9 @@ anx_bridge: anx7625@58 { pinctrl-0 =3D <&anx7625_pins>; enable-gpios =3D <&pio 45 GPIO_ACTIVE_HIGH>; reset-gpios =3D <&pio 73 GPIO_ACTIVE_HIGH>; - vdd10-supply =3D <&pp1200_mipibrdg>; + vdd10-supply =3D <&pp1000_mipibrdg>; vdd18-supply =3D <&pp1800_mipibrdg>; - vdd33-supply =3D <&vddio_mipibrdg>; + vdd33-supply =3D <&pp3300_mipibrdg>; =20 ports { #address-cells =3D <1>; @@ -389,14 +391,14 @@ &pio { "", ""; =20 - pp1200_mipibrdg_en: pp1200-mipibrdg-en { + pp1000_mipibrdg_en: pp1000-mipibrdg-en { pins1 { pinmux =3D ; output-low; }; }; =20 - pp1800_lcd_en: pp1800-lcd-en { + pp1800_mipibrdg_en: pp1800-mipibrdg-en { pins1 { pinmux =3D ; output-low; @@ -458,7 +460,7 @@ trackpad-int { }; }; =20 - vddio_mipibrdg_en: vddio-mipibrdg-en { + pp3300_mipibrdg_en: pp3300-mipibrdg-en { pins1 { pinmux =3D ; output-low; --=20 2.47.0.163.g1226f6d8fa-goog From nobody Mon Nov 25 05:28:54 2024 Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6BFE61DF751 for ; Wed, 30 Oct 2024 07:02:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730271757; cv=none; b=FTPZcdqvo4OmF7j17aQj9ju3yLTrPll6NbYey3H7z8bzQy3iBj2StTzSC9X6HLejLuJCrJgsnrnTAC9P3oDbD96DVZeqkIjnFAVyzYNFUMA3sG7Y2zg6yU3DJ4KEfEw5G6SdEbPUk1VNEXVB9HrMgvD1yP5KiyIl7OIKLfquCuw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730271757; c=relaxed/simple; bh=3f3iVJn9Qi05XrwmoQhkeKsmPZmKWCTCT/CWgEGoOT4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=myPtpJF/qfHR+TYWlgyUgDDb7oV0zOZrhA3l/z7zgzDCakyyqB9TfItabRNV8PIUC0dzX+sHSOtpArfuIrDPnH7Nekiarqa2ONdOYyr+sTos6FQocfby0FqK/mwUbESwUVTp8SHrKQXYUzUZ9XIUcJkqiSmowkMFp8M1tSx7XdA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=Sk/olv3U; arc=none smtp.client-ip=209.85.215.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Sk/olv3U" Received: by mail-pg1-f175.google.com with SMTP id 41be03b00d2f7-7ede82dbb63so2147809a12.2 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=vger.kernel.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=Sk/olv3UfMhGrSl8uZAiSWMF5kaA367yMtEJPbQSi75AtNmGLpnss3X4kTSqKVH6O9 3dQl6jctMybkYPRdzWhtXxNAjvw0GHa32dxFgAVnzy0NtsMCJoSUx05hstetpMXeOCpg DOYjt00VfTBps8YXaZTGARU6f8IKWMS5MSOd4= 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=NH8Nmq47yrsAyOM+vCRltUo/V6mGs1JCR8EO+bzEAq48JTWMwx47ZWEt8Gib6z1e4g QE8jH0dlsGRYW/PKsfY/iji3+wZi5BFI4IqwdyE68xTxJShPvw47hEtuvc9W7l0MQ41k bgoND/dy4uo1SLMVSsP9Nk7YAQSxuN0PWPX2ALQoQOSkus9HRSIzdv0bM+1CojFq1PWP jXwfYm1+Kj5cWuyrrvvGq6IbwvRQhjWTcIc7jq5UUceYUroTLgLv19vsDtCBCMwJkz+2 +IyhE8+zJETELvh1EI76PAqsllh93gJzXft9p40Qs/xpJV1tlkrS3lCfH4J81jXg1CM+ Z2pA== X-Forwarded-Encrypted: i=1; AJvYcCUJmJQLT6ilU6IVzErqmnTfiqfCHugDtklJAa/6OLiN6oEwmiJD48EXXzKfOrwlfl260wG+glnWshaR2z4=@vger.kernel.org X-Gm-Message-State: AOJu0Yw5bIAd3qeBd4sVvSMpqemS/JsfoBzilHu/R0vOADMhJ5VuPkSc 2c53iCHRZ968QBdMDEEF9NcPAqT3Ith8uD5M6waS2q7nYCwk3hbKuESjgWzsBQ== 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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; =20 gpio =3D <&pio 54 GPIO_ACTIVE_HIGH>; + vin-supply =3D <&pp1800_alw>; }; =20 pp1800_mipibrdg: pp1800-mipibrdg { @@ -32,6 +33,7 @@ pp1800_mipibrdg: pp1800-mipibrdg { regulator-boot-on; =20 gpio =3D <&pio 36 GPIO_ACTIVE_HIGH>; + vin-supply =3D <&pp1800_alw>; }; =20 pp3300_panel: pp3300-panel { @@ -44,6 +46,7 @@ pp3300_panel: pp3300-panel { regulator-boot-on; =20 gpio =3D <&pio 35 GPIO_ACTIVE_HIGH>; + vin-supply =3D <&pp3300_alw>; }; =20 pp3300_mipibrdg: pp3300-mipibrdg { @@ -56,6 +59,7 @@ pp3300_mipibrdg: pp3300-mipibrdg { regulator-boot-on; =20 gpio =3D <&pio 37 GPIO_ACTIVE_HIGH>; + vin-supply =3D <&pp3300_alw>; }; =20 volume_buttons: volume-buttons { --=20 2.47.0.163.g1226f6d8fa-goog From nobody Mon Nov 25 05:28:54 2024 Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6EBEB1E009D for ; Wed, 30 Oct 2024 07:02:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730271760; cv=none; b=oUgfqYd4XUzr2AESJu2wcshD908QGY6j5n9YJ4Jo5zfIeJ7zlgPMtTEaCRSPT1sQ1hM8dYiWrxiOg8vuxDgD7xqEWV7kjFLflhsNdWlRCSBC/7FuD7ezePSdNRct2QEqW8zEUCMEZXYbwtI1Z4R5DJqnj+O9ctlWyQVv9vZZTqg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730271760; c=relaxed/simple; bh=rTCt2wTAlVnLiAKVA+zZLqsLFleae4+yewzhmiLwef8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=etwrCUm9BLrgcunFR8jNrazPwWuzI3+ZXygGlVtIHJBhjT+isCInnEXN61nzELb8GUwf/WH7LIpWnSEp12pqPNwaxxFTSq6MJcsqM04tx/6HA4xwz7uLqDDFpdzxlOjWfRA6ep7m1SCRsEt1GP9vx116sWFV2dJXivMg9PQnvVg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=jSDHncvM; arc=none smtp.client-ip=209.85.215.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="jSDHncvM" Received: by mail-pg1-f182.google.com with SMTP id 41be03b00d2f7-7ed9f1bcb6bso4294621a12.1 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=vger.kernel.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=jSDHncvMUYkzvTDO1VfqEP2w3cHI86Ca7SUwWZF3+ylQqpizrgq9UksgzufQfiSg4p RBTMn3VKpMXWzZ03zcSheklrZkpNKBYBZxrnvunGkE0u54tZak4g+RSS+LKctOu7yocR 3gLajpno3i/a+VC6gUxnSCZVv7nq+eRD/z9IY= 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=Jdlga/fh2PKAiKnOeI34jnuUKQNZynN+AtRUubn8I6BmPLRaMbyd3RoWQC7PkjPzdF fBnGtUxFvnSmX2QE/08SejfmzIwNhWuD0dlD5WdJw34LrxKwgh5VFMeZUm/S/NAWBjMu wzDklDzPe3OH5EaI2Dv5z5LEWlsvrrHIHcRfd6xdGWvZC+jLTvnx0yr/m0Blng/qvK3I 2Lapa0r92Rbmy81MXZgB4E+hFYMvRC9/YRzMY7TqRiSboptSGFR8RDoPUFCxPtMoiXqC hPM27Owjd6M827C0V6rfA9aMucFeVxYn2l85qoZz8JcjRNWaWQ+b46oNVqd9t44CLEZc sDew== X-Forwarded-Encrypted: i=1; AJvYcCU4uu7MVAkkRobx7tmGkSQ4/oRDZXvP5izIGOKJ6501Uv+a8+QD5XaiBDtkJBh2U5mUNP2MyO9Plp6NWeY=@vger.kernel.org X-Gm-Message-State: AOJu0YyQr63nbsvLcrqTP7JqXaLT60UQdzF+EuEXvMP7cZOV1F8TGauw jC3ej++AZMNPygRVluevhDfKEOP0CmbSNyvBf1K0M2fzTHi0rKuCx26X6rjh00/6uxXsCxEp0lU = 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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/ar= ch/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 =3D <&pio 155 IRQ_TYPE_LEVEL_LOW>; =20 reset-gpios =3D <&pio 156 GPIO_ACTIVE_LOW>; - vdd-supply =3D <&lcd_pp3300>; + vdd-supply =3D <&pp3300_alw>; }; }; =20 diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku38.dts b/ar= ch/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 =3D <&pio 155 IRQ_TYPE_LEVEL_LOW>; =20 reset-gpios =3D <&pio 156 GPIO_ACTIVE_LOW>; - vdd-supply =3D <&lcd_pp3300>; + vdd-supply =3D <&pp3300_alw>; }; }; =20 diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/bo= ot/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 =3D <&pp1800_alw>; }; =20 - lcd_pp3300: regulator1 { - compatible =3D "regulator-fixed"; - regulator-name =3D "lcd_pp3300"; - regulator-min-microvolt =3D <3300000>; - regulator-max-microvolt =3D <3300000>; - regulator-always-on; - regulator-boot-on; - }; - - mmc1_fixed_power: regulator3 { - compatible =3D "regulator-fixed"; - regulator-name =3D "mmc1_power"; - vin-supply =3D <&pp3300_alw>; - }; - - mmc1_fixed_io: regulator4 { - compatible =3D "regulator-fixed"; - regulator-name =3D "mmc1_io"; - vin-supply =3D <&pp1800_alw>; - }; - pp1800_alw: regulator5 { compatible =3D "regulator-fixed"; regulator-name =3D "pp1800_alw"; @@ -373,8 +352,8 @@ &mmc1 { pinctrl-names =3D "default", "state_uhs"; pinctrl-0 =3D <&mmc1_pins_default>; pinctrl-1 =3D <&mmc1_pins_uhs>; - vmmc-supply =3D <&mmc1_fixed_power>; - vqmmc-supply =3D <&mmc1_fixed_io>; + vmmc-supply =3D <&pp3300_alw>; + vqmmc-supply =3D <&pp1800_alw>; mmc-pwrseq =3D <&wifi_pwrseq>; bus-width =3D <4>; max-frequency =3D <200000000>; --=20 2.47.0.163.g1226f6d8fa-goog