From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 A1F5B4D17BB for ; Fri, 16 Oct 2026 15:07:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792163259; cv=none; b=Bc9AFIuSis6/biE/BxL0CiYywel/CqmDtSUg+UE/vx+BFY+SDylBKUunmEe8mBXWgS8r+aUFemx1tbwVYcb9n8V0Us7qbPLa/taAlKgVx4sjZI4N41sp/YjQkbTPmECfx7+N0vzx81yZ6MCTn9zQqfd2qelyGaebdhqkmVAwxqo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792163259; c=relaxed/simple; bh=7RGIO54fyE/iVl2rO+u+MlOK+PQfzNFmJNUDEqLEwwo=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:From:To:Cc: References:In-Reply-To; b=b3MQLdirGxcuURCAeXJaN1bRE5xsol+27UeDAtM3KcUyrCLJxEvHBVSa3j3ondiNHzHrRZhOUg4UIJNrkEk2Dyjfiwc4HsuzXFgFVUyxLu4kisRB0NUwHIjCcdLpeu0MZdgTHteEwLwidYJ2lX4wn4ptR/ekWnFYedatUCKpCXU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=yndv2wP7; arc=none smtp.client-ip=209.85.128.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="yndv2wP7" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-4a1cef0439aso786645e9.0 for ; Fri, 16 Oct 2026 08:07:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1792163256; x=1792768056; darn=vger.kernel.org; h=in-reply-to:references:cc:to:from:subject:message-id:date :content-type:content-transfer-encoding:mime-version:from:to:cc :subject:date:message-id:reply-to:content-type; bh=VQBXFtSQf7WJJHzyT6nR2Bw3zqoZgRsxsOc7UBU3Xv4=; b=yndv2wP7MWTiybgyyrOBReyhGNHx49iRnEb+3zNzGIHs07eYYbaYRhdrvWOiPRT/TM KcEhzRNuTy7NkEy9IVcdEslLC8FL1BBIYctMxB9YXrwVTGP8+ZIZeQd38MNqXa7NXf7C gEkzNQLiFMKOJg44Isl+q/hRNPWXHG2uRi+eybMAXJYPIQX8NksosrXBy8rTK5QOavuh ylT3LlP1PEXJuuz0fhN11p6igTB8mGEVVIDezhrHXNVU4ClSfrdBx1FsitX9/Bw/kW5r EGss6n/KewYKM+IFJWMSKgLWmb/K4lIU/G5cFbLl9pBZondtkkRyjuO93Q3pkRROoh3u l+tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792163256; x=1792768056; h=in-reply-to:references:cc:to:from:subject:message-id:date :content-type:content-transfer-encoding:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=VQBXFtSQf7WJJHzyT6nR2Bw3zqoZgRsxsOc7UBU3Xv4=; b=eI5qSeJwJvTbD6cj18Xlo/EK1I3HOdIBtndlYj4su7NKoGze89+DxPNRWbZvPZlq/n lcan7CIU511f3cQBFKH+rRAzMYi5l1boHRcm3YM+12RYUvbMnwH2xctmircxeRHTt2Rx q/4y1gQ16RGsGib0uJFLPRmNKcaTVLZec1U4xhH4CeyOaKTqt+ZmWEbgfWAWX0npyMlF ET1dccxRcPDzx14Zl2PTunX9Je8R34VEFFR3FJLIYu41LP/GFvwx+EJaxtM4/ot5YXvy RpsbDOX+oxfetblugL8qtTxaG3p7TjWzEwWvY2bWUgWG+/InSxcHUG0mTDoR7W3PiQJS ouAw== X-Forwarded-Encrypted: i=1; AKwUvBzbO3oEBBy6anIdVkPIG4NYOzdbZ83ZvEVXmREq790/lhvRHepWW2i/XELN29Y1XSGO0cTbmzbftjuK@vger.kernel.org X-Gm-Message-State: AFq9FYJllshgW8rmgQ0sQ1g5ZJYA6+UEvtcCZu7QRxUptefjx3NzDumF yR4KQnopSZIhVoxSM0VQEUOC8wjJ5mf37aOTOijyGds7xrEA9wrClA/p1h37GDKFG3I= X-Gm-Gg: AYBFou10cH4DazvVF2WZdWAQcsm9AU5slGyIj2CizKaOxmqRS3VraoGFlXcysmczNnU nJG3HIYi1WEfliSHpijZOSOBcHg5h6FGnP5cJU1YUStxWOAceqNp+q7eun/Z1lymYj/g06LzjfI UxuGCpGd7Um30mfuiVYDjR6prDA07Wm0PS0/4LMt/q1BdNh6/qNQ+ALSFlr3VQn0e8JIpwV9brK uV7XfFdarQ6ueDI6PYeN7C0T342smwn35EZ5fj587z9Nb5ftV/TrLwl8z1Ood/Lfujg7zBM2EwT OsF5Vr01abBlh1vBx6Vq5FE5buI5AsdX4/vQCQeRiPAzb9wGe/YgKqO1j80QBBvdHhp/t3c3SDn 9Uq44Sk/SZXG0NmImfS6BoxvPnaTLSJdZce9qXuhYbMTUazGiYwFOWPFLza0qT8w62Usjxz8lhk wT+OC1RMLpBdzh6mYQE5djyvfrg6N0Me2h9uKOMtaqgSAadWRdJjeBp25LazkKPUzpvjV65odoG 8xXFr5cEj2smW9jLeMkktpc7yEHMXIg91dt6ssaXzgXbE9+AenWtu+kAFtdUC9N X-Received: by 2002:a05:600d:644f:20b0:4a1:d307:d56f with SMTP id 5b1f17b1804b1-4a1d75fa37fmr1458705e9.15.1792163255733; Fri, 16 Oct 2026 08:07:35 -0700 (PDT) Received: from localhost ([151.41.28.233]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-48dfd510ba3sm5544284f8f.56.2026.10.16.08.07.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Oct 2026 08:07:35 -0700 (PDT) Precedence: bulk X-Mailing-List: devicetree@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 Date: Fri, 16 Oct 2026 17:07:34 +0200 Message-Id: Subject: Re: [PATCH 02/10] dt-bindings: pinctrl: Add devicetree bindings for DM816x SoC Pinctrl From: "Ettore Chimenti" To: "Krzysztof Kozlowski" , "Ettore Chimenti" , "Paul Walmsley" , "Aaro Koskinen" , "Andreas Kemnade" , "Kevin Hilman" , "Roger Quadros" , "Tony Lindgren" , "Russell King" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Christopher Obbard" , "Andrew Goodbody" , "Linus Walleij" , "Rouven Czerwinski" Cc: , , , , X-Mailer: aerc 0.22.0-0-gc2f86b7abde3 References: <20261016-patch-ektor5-dm8168-dts-v1-0-b4ce30217028@linaro.org> <20261016-patch-ektor5-dm8168-dts-v1-2-b4ce30217028@linaro.org> In-Reply-To: Hi Krzyszrof, On Fri Oct 16, 2026 at 4:51 PM CEST, Krzysztof Kozlowski wrote: > On 16/10/2026 16:41, Ettore Chimenti wrote: >> Add devicetree bindings for TI DM816x SoC pinctrl configuration. >> Using same definition as OMAP2/3 except pullup/down enable macros, which >> are inverted in this SoC. >>=20 >> Signed-off-by: Ettore Chimenti >> --- >> include/dt-bindings/pinctrl/dm816x.h | 20 ++++++++++++++++++++ >> 1 file changed, 20 insertions(+) >>=20 >> diff --git a/include/dt-bindings/pinctrl/dm816x.h b/include/dt-bindings/= pinctrl/dm816x.h >> new file mode 100644 >> index 000000000000..15aa15bca9bd >> --- /dev/null >> +++ b/include/dt-bindings/pinctrl/dm816x.h >> @@ -0,0 +1,20 @@ >> +/* SPDX-License-Identifier: GPL-2.0-only */ >> +/* >> + * This header provides constants specific to DM816X pinctrl bindings. >> + */ >> + >> +#ifndef _DT_BINDINGS_PINCTRL_DM816X_H >> +#define _DT_BINDINGS_PINCTRL_DM816X_H >> + >> +#include > > I do not see this being used here, IWYU. > >> + >> +#undef PULL_UP >> +#undef PULL_ENA > > Why are you undefining other macros? That's not a easy to follow code. Do you prefer to duplicate `omap.h` defines? Only the defines above do not apply to DM816x. > > >> + >> +/* DM81xx mux bit defines */ >> +#define PULL_ENA (0 << 3) /* Pullup enabled =3D> 0 */ >> +#define PULL_DIS (1 << 3) /* Pullup disabled =3D> 1 */ >> +#define PULL_DN (0 << 4) >> +#define PULL_UP (1 << 4) > > I do not see this used by drivers, so why do we need one more header? > What part of SW are you binding here? > I added those (DN/UP) because they are not defined in `omap.h`. It may be convenient for future board upstreaming. I can drop those if undesired. > > Best regards, > Krzysztof Best regards, Ettore