Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp725209lqh; Fri, 31 May 2024 14:52:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVdnr8btR6rcW3SG7XMOPQPBz0ybn7k4e0slXMCcqYr4jaW6S6EDeyu6YHh/j0ZfVxaFV/6Lgd6YuKpP+lAFZkA+HHAHVlhYBMUrjip2Q== X-Google-Smtp-Source: AGHT+IHpEM+Z0DUacjkHf3thOx62ZelW/O5iG9DgNZk4Lp1/a09F4BNEYf+AlP7jk39mAYXeBetn X-Received: by 2002:a05:622a:20b:b0:43f:f0b0:ab90 with SMTP id d75a77b69052e-43ff52592b7mr33100141cf.39.1717192323373; Fri, 31 May 2024 14:52:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717192323; cv=pass; d=google.com; s=arc-20160816; b=S8164WyYx8Xlxtxfh20JhrFQK6QoaiaMwusr1KrctgWQ7JKLSJdXQTSYhGJkFVYNGO BOPA9izPSLzfNX9qM+WiRq6+C5/ITprHegs5w09NDdn+FMzp7PbOytixJFOlRjbETEf3 ig6M9uIRHmniVOXL8dOHkZcWVr2A0R9IUmweUUoHXyD8OZ83wio3P4sWatdTRI41rOlA fRN7+cps5ZMOe3lQMWdU9UCQ4xefxkLXQuW+4/FxLs9SCMnq5gZOxXS4HK8K8Q6IR14M N2GLc8CcgNAzoRFxY6G1/kq9dn4Lx9lRIuUAL3j9SEBYg2lQ2H3z2av70h9OW/xj9o9b P9Dw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=seSUTRRGhsxF1oRs+boO/6Tfbiu/AtXgg4hjQH7fMig=; fh=mdripbRSJNNs2vKs7ugLlsc7m2NpNnr5keeQ7hiUoB4=; b=N/rPqstGtKl/TWNuYBhaWLtdFSXkYFPPCEX6GIkZ16q4XFMGu11di+z6Mpm90eWvsl Um9qp5GTeU1O/zwj5llCs5eqdiAiSIXAWPrhrBbFrWHCG9OK/pGDmIDJPWiH28Zxk6XK U09FwU2jO9/k1iVzb4H/Hy1+rtZd66tZEI7JZNiVPCS6Rc9Gbn749jDePU3rrNQSS5Eo 7N8Pyjd6ZbugwTjrxbNYPEOAI2YP8qtScIxHAeAmk00pvvPMwXmsnRPDBfoCZp1GutWa AzxrU3WIY9azI4zuCljBF1lJEmbe5fDXqLPNFsdBHKYe0yF2lVdlqlccQbw4UJY+9UqM w33w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=KTACTn4Q; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-197539-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197539-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43ff259e5c2si29954721cf.672.2024.05.31.14.52.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 14:52:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197539-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=KTACTn4Q; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-197539-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197539-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id EDED11C25EF4 for ; Fri, 31 May 2024 21:52:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0AC348121F; Fri, 31 May 2024 21:51:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="KTACTn4Q" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8730EAD59; Fri, 31 May 2024 21:51:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717192291; cv=none; b=lBbMhtOgpNk5Ca+zZLPuwnw3aMcMpsa5eLpr99I2dtDAjZw2fDsOgOW154WLzWx/xH/6jRwMQ+XNs3FUo9XQWxd1ofME/7wsz7VFVnaXo9DYx62YVuFZ3ux5zylcKl830pCMUH+qi+tiFUg0XAWtN0iSRxrtelrX4FfCVJd1IPc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717192291; c=relaxed/simple; bh=04+WeNiKlZeRvQNUcqF3z/qfK0uGdQPsEySldyyd/QE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=nlIMgZT0/kBTFjlm4Q3KKOo1k9uZkEOdswZDFLrauUE4wJdkyhWE2aRGfbNcVSpU8NV/QlV7m/U6cVXJl3xE29l0WpCCgU5YTEWTLoiz1JrywmSSEJX0UPAiTANdnOoClpiSq8t55GGUfCazCdKlcgTp630uC2mG8skMI8BLo1U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=KTACTn4Q; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1717192287; bh=04+WeNiKlZeRvQNUcqF3z/qfK0uGdQPsEySldyyd/QE=; h=From:Date:Subject:To:Cc:From; b=KTACTn4QyLzhjtURNz0GjuGW8Y0d56XUFT9jEe1aFuXv59WRB+MkgToQwUTV7Gcoc ucHZWhCfGhNTmPcId6sBnT5AJLYdErTgSy55+/LpZsje9MWONalK80s7uo22HP9x6K UPcLZT+PYnw9i1c3UDa32oG6HBWctx6340MIC5JX/g5MCymPOe4asWqDdODXlNoLUm UoNGHrJcUaumiLBM2wsFlxm12AJKpcsFmOiAjV+HPTNn1G0QmzY1Be8ENRpB1YcZK+ YuX8dVOcZQ3aMVyhu1cpL0IUxQhpOKc92lX3Jr5FN+rT6B3pLENIltxJJaZqalgYFT 7PcmATw6Dn98g== Received: from [192.168.1.231] (zone.collabora.co.uk [167.235.23.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 754AA3780EC6; Fri, 31 May 2024 21:51:25 +0000 (UTC) From: =?utf-8?q?N=C3=ADcolas_F=2E_R=2E_A=2E_Prado?= Date: Fri, 31 May 2024 17:51:09 -0400 Subject: [PATCH] arm64: dts: mediatek: cherry: Specify pull resistance for RSEL GPIOs Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240531-tomato-rsel-gpio34-35-fix-v1-1-64ab2545f182@collabora.com> X-B4-Tracking: v=1; b=H4sIAExGWmYC/x2MQQqAIBAAvyJ7bkFTKfpKdBDbaqFSNCKQ/p50n IGZApkSU4ZBFEh0c+ZwVlCNAL+5cyXkuTK0sjXSaoVXONwVMGXacY0ctEFtceEHVW+dn520XnV Q+5io6v89Tu/7AUpzSuprAAAA To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno Cc: kernel@collabora.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, =?utf-8?q?N=C3=ADcolas_F=2E_R=2E_A=2E_Prado?= X-Mailer: b4 0.13.0 GPIOs 34 and 35 on MT8195 are of type MTK_PULL_PU_PD_RSEL_TYPE, meaning not only can they be configured as pull-up or pull-down, but the pull resistance can also be configured. The current bias setting however doesn't specify a resistance value, resulting on the following errors: mt8195-pinctrl 10005000.pinctrl: Not support rsel value 1 Ohm for pin = 34 (GPIO34) mt8195-pinctrl 10005000.pinctrl: Not support rsel value 1 Ohm for pin = 35 (GPIO35) Specify the pull resistance for those GPIOs to fix the errors. Fixes: 5bf7dabe40f2 ("arm64: dts: mediatek: cherry: Document gpios and add default pin config") Signed-off-by: NĂ­colas F. R. A. Prado --- arch/arm64/boot/dts/mediatek/mt8195-cherry-dojo-r1.dts | 11 ++++++++--- arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r2.dts | 11 ++++++++--- arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r3.dts | 11 ++++++++--- 3 files changed, 24 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8195-cherry-dojo-r1.dts b/arch/arm64/boot/dts/mediatek/mt8195-cherry-dojo-r1.dts index 88123842c818..49664de99b88 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195-cherry-dojo-r1.dts +++ b/arch/arm64/boot/dts/mediatek/mt8195-cherry-dojo-r1.dts @@ -82,12 +82,17 @@ &pio_default { pins-low-power-hdmi-disable { pinmux = , , - , - , - ; + ; input-enable; bias-pull-down; }; + + pins-low-power-hdmi-rsel-disable { + pinmux = , + ; + input-enable; + bias-pull-down = <75000>; + }; }; &sound { diff --git a/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r2.dts b/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r2.dts index 2fe20e0dad83..2d6522c144b7 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r2.dts +++ b/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r2.dts @@ -19,13 +19,18 @@ &pio_default { pins-low-power-hdmi-disable { pinmux = , , - , - , - ; + ; input-enable; bias-pull-down; }; + pins-low-power-hdmi-rsel-disable { + pinmux = , + ; + input-enable; + bias-pull-down = <75000>; + }; + pins-low-power-pcie0-disable { pinmux = , , diff --git a/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r3.dts b/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r3.dts index dd294ca98194..9049d362a5e0 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r3.dts +++ b/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r3.dts @@ -20,13 +20,18 @@ &pio_default { pins-low-power-hdmi-disable { pinmux = , , - , - , - ; + ; input-enable; bias-pull-down; }; + pins-low-power-hdmi-rsel-disable { + pinmux = , + ; + input-enable; + bias-pull-down = <75000>; + }; + pins-low-power-pcie0-disable { pinmux = , , --- base-commit: 0e1980c40b6edfa68b6acf926bab22448a6e40c9 change-id: 20240531-tomato-rsel-gpio34-35-fix-185acda05c17 Best regards, -- NĂ­colas F. R. A. Prado