From patchwork Fri Apr 12 07:55:14 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: 13627087 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 46F28C4345F for ; Fri, 12 Apr 2024 07:55:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=np/SVR2IerlrdzmHQdM83OBPQf2hLD1pCfEzoRCRnaM=; b=jh+MysiUoAv7bG YnhPHuUIm/gLHJ9d2L6ONa2D1yBqWgYMCBAxm4otphUy3oE5eVfZy7YV8owGZCnTjiH7WAyD4/EDM 9+Y8eR1p/n2ao8w/NUD4QUAJgBWv7k3Y1SO1oy+BlN5zHxkxkCBIAwo4rTl2s/yzWtM/IFpj49tt7 PqeFgIN2zI/Xo+mEmcnNNYEbtNt2zKqHHkAtr3PJVcyI/I4OyxsoewFwfssEuWFOKUGrfbkuz0km5 S5gL19XmFq9f532aedznKUxspIbo2+tEqm6JevOOVTqa0i4dCpyzNgHKBcb+XidlVtIy6G2b9xalT 9SA/eTGUmw4Zxwpr0GHw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rvBks-0000000FwRm-2H6p; Fri, 12 Apr 2024 07:55:26 +0000 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rvBko-0000000FwQ3-1ev2 for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2024 07:55:23 +0000 Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1e419d203bdso4690955ad.1 for ; Fri, 12 Apr 2024 00:55:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1712908521; x=1713513321; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=AoKTfqB+9Kxj81GfGGjmk4oDRtO/OYcUX57xxWs37P0=; b=fxMjWztd52yenn9DKf681YafvVZvE33SGIGmgW8ZiIRNqTWnIRJ50vG8bx1M0UO9U5 udeum2v5+Sad7GfqtGxM1hbgswZgxF629tY75uN6J2mTnpanhAp8DrtSwn3n0vPCiJqw qrDpG+Ey9djEG2uJQeUqJDnUgtFB4UcrFlPjI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712908521; x=1713513321; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AoKTfqB+9Kxj81GfGGjmk4oDRtO/OYcUX57xxWs37P0=; b=qAyKgbP+eK6qwnGoihbPs99pmb6dp3VxSAlKrNbGVDZQFSFc5u+wIau7WdhO54MiqE noN8rc7DyBL3bnG58wWHQxpYOjqGgMKL8sLaWTjHORba+CvFxS17wHlcmsbrLpk1swSS KokNcZH+TRQVYmRmMJYLDuK29qhPb7Tgm5F1GSb6CKeGu4uIN73GKjUc0CXqtAOSDm7c hXt9pKslBXeRGSvINrUQ9/qobdEOyykhXQTQeDlxDKtX1xef6EyiYszMLqicSCKOaHbB 9P0k2iJy2oRrIzt5IIcCSY2Mtaq+8ev2a2cv+g6/XtaDQ0eeXCSLtGxtGjbELvSAaXnG go1Q== X-Forwarded-Encrypted: i=1; AJvYcCUZGqIQ6t1QpfeWL9LbVWuBUCjsLdamRrOJ3QNDa3dnMUGNIMZWYvJgvAi7MgtM5O1rZ6FqhgCt9b212Pu8zvgQhJPj3NvihG8MxCVCUU0PMzDiV+o= X-Gm-Message-State: AOJu0YwiSOwsCuKN/BCjvj3xPu7iaCrksaee2aiWwK/WXG372mnLcbTf 8A+KEm9e8jejsEl027HL5StfSZlP9T8mdwrN7CmExY7L5dPMTqqpabbs4r5Vog== X-Google-Smtp-Source: AGHT+IHE2tYRZruKtCquqvFgIZalHtBB+3XJOjw2G+9dr8fCHuWkp9Xv3DSW1Uvn5QjEcWGx8LbRnQ== X-Received: by 2002:a17:902:e950:b0:1e4:b1a2:b47a with SMTP id b16-20020a170902e95000b001e4b1a2b47amr2262198pll.0.1712908521272; Fri, 12 Apr 2024 00:55:21 -0700 (PDT) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:e3c8:6e1:dcfa:3e8c]) by smtp.gmail.com with ESMTPSA id g3-20020a170902868300b001e2c1e56f3bsm2377710plo.104.2024.04.12.00.55.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 00:55:20 -0700 (PDT) From: Chen-Yu Tsai To: Matthias Brugger , AngeloGioacchino Del Regno Cc: Chen-Yu Tsai , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH] arm64: dts: mediatek: Drop mediatek,drive-strength-adv usage Date: Fri, 12 Apr 2024 15:55:14 +0800 Message-ID: <20240412075516.1199846-1-wenst@chromium.org> X-Mailer: git-send-email 2.44.0.683.g7961c838ac-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240412_005522_541764_E6F73D22 X-CRM114-Status: GOOD ( 11.07 ) 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 The "mediatek,drive-strength-adv" pin config property has been deprecated in favor of the generic "drive-strength-microamp" property. Drop or convert all instances. A value of 0 disables the advanced mode, which is the hardware default. Signed-off-by: Chen-Yu Tsai Reviewed-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt8183-evb.dts | 6 ------ arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 6 ------ arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts | 6 ------ arch/arm64/boot/dts/mediatek/mt8195-evb.dts | 4 +--- 4 files changed, 1 insertion(+), 21 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts index 681deddffc2a..f04baea5d6cb 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts @@ -160,7 +160,6 @@ pins_i2c { pinmux = , ; mediatek,pull-up-adv = <3>; - mediatek,drive-strength-adv = <00>; }; }; @@ -169,7 +168,6 @@ pins_i2c { pinmux = , ; mediatek,pull-up-adv = <3>; - mediatek,drive-strength-adv = <00>; }; }; @@ -178,7 +176,6 @@ pins_i2c { pinmux = , ; mediatek,pull-up-adv = <3>; - mediatek,drive-strength-adv = <00>; }; }; @@ -187,7 +184,6 @@ pins_i2c { pinmux = , ; mediatek,pull-up-adv = <3>; - mediatek,drive-strength-adv = <00>; }; }; @@ -196,7 +192,6 @@ pins_i2c { pinmux = , ; mediatek,pull-up-adv = <3>; - mediatek,drive-strength-adv = <00>; }; }; @@ -205,7 +200,6 @@ pins_i2c { pinmux = , ; mediatek,pull-up-adv = <3>; - mediatek,drive-strength-adv = <00>; }; }; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi index 75c799a6adb4..989c979c99c1 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi @@ -527,7 +527,6 @@ pins-bus { pinmux = , ; mediatek,pull-up-adv = <3>; - mediatek,drive-strength-adv = <00>; }; }; @@ -536,7 +535,6 @@ pins-bus { pinmux = , ; mediatek,pull-up-adv = <3>; - mediatek,drive-strength-adv = <00>; }; }; @@ -545,7 +543,6 @@ pins-bus { pinmux = , ; bias-disable; - mediatek,drive-strength-adv = <00>; }; }; @@ -554,7 +551,6 @@ pins-bus { pinmux = , ; mediatek,pull-up-adv = <3>; - mediatek,drive-strength-adv = <00>; }; }; @@ -563,7 +559,6 @@ pins-bus { pinmux = , ; bias-disable; - mediatek,drive-strength-adv = <00>; }; }; @@ -572,7 +567,6 @@ pins-bus { pinmux = , ; mediatek,pull-up-adv = <3>; - mediatek,drive-strength-adv = <00>; }; }; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts b/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts index 333c516af490..81f6c205fa98 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts @@ -197,7 +197,6 @@ pins_i2c { pinmux = , ; mediatek,pull-up-adv = <3>; - mediatek,drive-strength-adv = <00>; }; }; @@ -206,7 +205,6 @@ pins_i2c { pinmux = , ; mediatek,pull-up-adv = <3>; - mediatek,drive-strength-adv = <00>; }; }; @@ -215,7 +213,6 @@ pins_i2c { pinmux = , ; mediatek,pull-up-adv = <3>; - mediatek,drive-strength-adv = <00>; }; }; @@ -224,7 +221,6 @@ pins_i2c { pinmux = , ; mediatek,pull-up-adv = <3>; - mediatek,drive-strength-adv = <00>; }; }; @@ -233,7 +229,6 @@ pins_i2c { pinmux = , ; mediatek,pull-up-adv = <3>; - mediatek,drive-strength-adv = <00>; }; }; @@ -242,7 +237,6 @@ pins_i2c { pinmux = , ; mediatek,pull-up-adv = <3>; - mediatek,drive-strength-adv = <00>; }; }; diff --git a/arch/arm64/boot/dts/mediatek/mt8195-evb.dts b/arch/arm64/boot/dts/mediatek/mt8195-evb.dts index 341b6e074139..83456d649ff7 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195-evb.dts +++ b/arch/arm64/boot/dts/mediatek/mt8195-evb.dts @@ -74,7 +74,6 @@ pins { pinmux = , ; bias-pull-up = ; - mediatek,drive-strength-adv = <0>; drive-strength = <6>; }; }; @@ -84,7 +83,6 @@ pins { pinmux = , ; bias-pull-up = ; - mediatek,drive-strength-adv = <0>; drive-strength = <6>; }; }; @@ -94,7 +92,7 @@ pins { pinmux = , ; bias-pull-up = ; - mediatek,drive-strength-adv = <7>; + drive-strength-microamp = <1000>; }; };