From nobody Sat Oct 4 00:26:58 2025 Received: from mail-qk1-f172.google.com (mail-qk1-f172.google.com [209.85.222.172]) (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 6A5F82E1EFF for ; Thu, 21 Aug 2025 23:33:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755819226; cv=none; b=etpxVTYCZAi6MzW62C8L4vOeQB3IIpXoeBhECH3zbQae0T1WB2KOp42z6i94WQGRrbwvZYV4WkVQ8iWVgWxPffDbzfQqhROmgX6/Y07EAoDIv2yGhbTUqY0Kq6SVGPeg4gXZ1PnylBIyxGeWfe+fQSLZwM1kC41gxQ7m8zgz2lM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755819226; c=relaxed/simple; bh=DJeXCGYX6D/OlH0QEqQjuSy5fuYgqi7zZqhKILfluK0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GU78TUuZpGMlZ6YEND9CI7V5sITZJuM4sstg4Hj81GzQSGBeC0K1ML7EfpZ9dN5NFEE6zqKwbgll/pDWqAzKxtJXiApBwJbQ6mL/jdVefy88kUB7WTAXKwRCAsTmi2AoVBxqDEPwaNfiRLtARzW3K0J9GGzAm87ilqsdG75wL3Y= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=libre.computer; spf=none smtp.mailfrom=libretech.co; dkim=pass (2048-bit key) header.d=libre.computer header.i=@libre.computer header.b=f4LIXA2K; arc=none smtp.client-ip=209.85.222.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=libre.computer Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=libretech.co Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=libre.computer header.i=@libre.computer header.b="f4LIXA2K" Received: by mail-qk1-f172.google.com with SMTP id af79cd13be357-7e87055e1b6so231694985a.1 for ; Thu, 21 Aug 2025 16:33:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libre.computer; s=google; t=1755819223; x=1756424023; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Hvbh5Obgs9w+xkwaE6p3IluxarxC/+wS6HEpg73DttY=; b=f4LIXA2KqvYP3jSE2Tw5FeqTUubloMJxusbAyjpLek0wSXXnFI4AEzNkrOAKjrkcG7 +1+oz0dUvA3XdGINt1eZdwv9Vg/w25GYjQo2J+nFHwd2ooLQdoljqNI0OZhyc5fimqbY l2JS6EYXYqeuVA5Gv60IfqkEJwtwepS7Lv34czKMszZGv5cpDX4795YWhirv63GCLWGk 7Ccp3wnIN+DseDA6A5RLEMY8ZB/PvfpeGKdzuJHDkdkzMwQd3OaXeIvgeDJwgvo9UWS1 LGgkPYFy7vQUyYe3u4GuBUtJOWtlTRBdiJR7Aj88mnu3lh11nGVMT/sJuas0yF1MLFhX LiLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755819223; x=1756424023; 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=Hvbh5Obgs9w+xkwaE6p3IluxarxC/+wS6HEpg73DttY=; b=spxemASWOyR+DBH5wEngvwHS5mXBPFdvRLi9LpN1VypIxXJi31LxYf/AibQZbhGpQI bhABLKlAEKBf9lrf0JP3sRrE81KZG8By2SkSoB1WkLLGa+t3ZBmnCQGGE7sPFyvza7d6 oy0UGXjPb5qdeYCeulLkNvl7u0RhOLJ6wypPKt28/QGqTXg41qYF+58ehXKbo9c6Fbzj davRRFVT6kQWl01G0T/ekMcPyy9xVVui/586r6H9+XVTo28tcRS2fhO3/f2kA/Wriya+ vseWjzdTUfnPw4wyAu5fNiuyiOHmFja2GLGfyHhiBVQCKsqRH0AyKHj8vbhmKgAEyOrT nbcg== X-Forwarded-Encrypted: i=1; AJvYcCViKxKJ86fF+/L8owf4QUdZLjujHZxBTwzpnBwOizCemtIauicTUrA8IpDuu5d/Td2uzq5mz91HjsNmVPk=@vger.kernel.org X-Gm-Message-State: AOJu0YyiUewBv1vGNcG45hOjwMcs9rqJ7j7NK2OUf8tWTkHDTBc0595d j2JwXTTT7nEv6PAL3F04unMCdP6aLFXOeDpMlsEqAn3b+2EPzsupIWgOwWfPuluVsA== X-Gm-Gg: ASbGnctajIQWE3sE+mk2kXkU129h8zW+z3aNkHg8VzYy75ZGIACXofi8+eOwbAzJlbc LAPOZBguvBMX+10P2+r8RiZyxVmo6QIkOOF1xQzpwxkFtdK6RpQozo10mPZdZf5ysSICvtJvtb0 HqdQWiH6TTIa6BenkI3P/fK3ZE+vzuIAmq0uv9Gf1JKrmGG7fj3y5sd+C1fnhMp7p48O5jEH1Ag t/8VWn3yNwDiNwlg+KvoROB8X39vde8zlm+44WjM7tEq18Eu0TP9pyR5pABiix8mrowyYEedSqm Izj2NerDfXm1rfA/hMsj2o2Cww2oFIq36DYUhEvPN8IEzUzeXl6uJhU1v5nFNeINb1Z3oAozY+B R6OOG+fqGJlAnMXDoC7+uBfXBst0vkQ== X-Google-Smtp-Source: AGHT+IEE8fYgK55NmdoQhhgPInOhivLoo6o9lQD203iWvd3p+5PTTXRIeOG74yZ2ZatbGTKv9Gbgbw== X-Received: by 2002:a05:620a:4590:b0:7e2:23c2:e55a with SMTP id af79cd13be357-7ea10f73cf5mr175527285a.27.1755819223112; Thu, 21 Aug 2025 16:33:43 -0700 (PDT) Received: from localhost ([2607:fb91:3b82:29b4:add9:bee5:e413:378f]) by smtp.gmail.com with UTF8SMTPSA id af79cd13be357-7e87e0204ddsm1216833585a.10.2025.08.21.16.33.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Aug 2025 16:33:42 -0700 (PDT) From: Da Xue To: Linus Walleij , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Rob Herring Cc: Da Xue , linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] pinctrl: meson-gxl: add missing i2c_d pinmux Date: Thu, 21 Aug 2025 19:33:34 -0400 Message-ID: <20250821233335.1707559-1-da@libre.computer> X-Mailer: git-send-email 2.47.2 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" Amlogic GXL has 4 I2C attached to gpio-periphs. I2C_D is on GPIOX_10/11. Add the relevant func 3 pinmux per the datasheet for S805X/S905X/S905D. Fixes: 0f15f500ff2c ("pinctrl: meson: Add GXL pinctrl definitions") Signed-off-by: Da Xue --- drivers/pinctrl/meson/pinctrl-meson-gxl.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/pinctrl/meson/pinctrl-meson-gxl.c b/drivers/pinctrl/me= son/pinctrl-meson-gxl.c index 9171de657f97..a75762e4d264 100644 --- a/drivers/pinctrl/meson/pinctrl-meson-gxl.c +++ b/drivers/pinctrl/meson/pinctrl-meson-gxl.c @@ -187,6 +187,9 @@ static const unsigned int i2c_sda_c_pins[] =3D { GPIODV= _28 }; static const unsigned int i2c_sck_c_dv19_pins[] =3D { GPIODV_19 }; static const unsigned int i2c_sda_c_dv18_pins[] =3D { GPIODV_18 }; =20 +static const unsigned int i2c_sck_d_pins[] =3D { GPIOX_11 }; +static const unsigned int i2c_sda_d_pins[] =3D { GPIOX_10 }; + static const unsigned int eth_mdio_pins[] =3D { GPIOZ_0 }; static const unsigned int eth_mdc_pins[] =3D { GPIOZ_1 }; static const unsigned int eth_clk_rx_clk_pins[] =3D { GPIOZ_2 }; @@ -411,6 +414,8 @@ static const struct meson_pmx_group meson_gxl_periphs_g= roups[] =3D { GPIO_GROUP(GPIO_TEST_N), =20 /* Bank X */ + GROUP(i2c_sda_d, 5, 5), + GROUP(i2c_sck_d, 5, 4), GROUP(sdio_d0, 5, 31), GROUP(sdio_d1, 5, 30), GROUP(sdio_d2, 5, 29), @@ -651,6 +656,10 @@ static const char * const i2c_c_groups[] =3D { "i2c_sck_c", "i2c_sda_c", "i2c_sda_c_dv18", "i2c_sck_c_dv19", }; =20 +static const char * const i2c_d_groups[] =3D { + "i2c_sck_d", "i2c_sda_d", +}; + static const char * const eth_groups[] =3D { "eth_mdio", "eth_mdc", "eth_clk_rx_clk", "eth_rx_dv", "eth_rxd0", "eth_rxd1", "eth_rxd2", "eth_rxd3", @@ -777,6 +786,7 @@ static const struct meson_pmx_func meson_gxl_periphs_fu= nctions[] =3D { FUNCTION(i2c_a), FUNCTION(i2c_b), FUNCTION(i2c_c), + FUNCTION(i2c_d), FUNCTION(eth), FUNCTION(pwm_a), FUNCTION(pwm_b), --=20 2.47.2