From: Rob Herring <robh@kernel.org>
To: Cosmin Tanislav <demonsingur@gmail.com>
Cc: "Cosmin Tanislav" <cosmin.tanislav@analog.com>,
"Mauro Carvalho Chehab" <mchehab@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Niklas Söderlund" <niklas.soderlund@ragnatech.se>,
"Julien Massot" <julien.massot@collabora.com>,
"Catalin Marinas" <catalin.marinas@arm.com>,
"Will Deacon" <will@kernel.org>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Liam Girdwood" <lgirdwood@gmail.com>,
"Mark Brown" <broonie@kernel.org>,
"Linus Walleij" <linus.walleij@linaro.org>,
"Bartosz Golaszewski" <brgl@bgdev.pl>,
"Bjorn Andersson" <andersson@kernel.org>,
"Geert Uytterhoeven" <geert+renesas@glider.be>,
"Dmitry Baryshkov" <dmitry.baryshkov@linaro.org>,
"Vignesh Raghavendra" <vigneshr@ti.com>,
"Nícolas F . R . A . Prado" <nfraprado@collabora.com>,
"Taniya Das" <quic_tdas@quicinc.com>,
"Liu Ying" <victor.liu@nxp.com>,
"Ross Burton" <ross.burton@arm.com>,
"Elinor Montmasson" <elinor.montmasson@savoirfairelinux.com>,
"Eric Biggers" <ebiggers@google.com>,
"Hans Verkuil" <hverkuil@xs4all.nl>,
"Sakari Ailus" <sakari.ailus@linux.intel.com>,
"AngeloGioacchino Del Regno"
<angelogioacchino.delregno@collabora.com>,
"Zhi Mao" <zhi.mao@mediatek.com>,
"Dongcheng Yan" <dongcheng.yan@intel.com>,
"Benjamin Mugnier" <benjamin.mugnier@foss.st.com>,
"Kieran Bingham" <kieran.bingham@ideasonboard.com>,
"Tommaso Merciai" <tomm.merciai@gmail.com>,
"Dan Carpenter" <dan.carpenter@linaro.org>,
"Ricardo Ribalda" <ribalda@chromium.org>,
"Laurentiu Palcu" <laurentiu.palcu@oss.nxp.com>,
linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-staging@lists.linux.dev, linux-gpio@vger.kernel.org
Subject: Re: [PATCH v3 10/19] dt-bindings: media: i2c: max96712: deprecate enable-gpios
Date: Wed, 14 May 2025 17:10:01 -0500 [thread overview]
Message-ID: <20250514221001.GA3125068-robh@kernel.org> (raw)
In-Reply-To: <20250512212832.3674722-11-demonsingur@gmail.com>
On Tue, May 13, 2025 at 12:28:19AM +0300, Cosmin Tanislav wrote:
> The MAX96712 actually has a GPIO named PWDNB, which will put the chip
> in reset state when held low. Esentially, it works as an enable GPIO,
> but the naming is different.
>
> Deprecate the enable-gpios property, and add powerdown-gpios as the
> rest of the GMSL chips.
>
> Change the example to use powerdown-gpios.
I don't know that this is worth changing because then we have to
maintain both forever.
> Signed-off-by: Cosmin Tanislav <demonsingur@gmail.com>
> ---
> .../devicetree/bindings/media/i2c/maxim,max96712.yaml | 10 ++++++++--
> 1 file changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml b/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml
> index b345305acc4c..e38213209973 100644
> --- a/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml
> +++ b/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml
> @@ -35,7 +35,13 @@ properties:
> description: I2C device address
> maxItems: 1
>
> - enable-gpios: true
> + enable-gpios:
> + maxItems: 1
> + deprecated: true
> +
> + powerdown-gpios:
> + maxItems: 1
> + description: Specifier for the GPIO connected to the PWDNB pin.
>
> i2c-alias-pool:
> maxItems: 4
> @@ -128,7 +134,7 @@ examples:
> gmsl0: gmsl-deserializer@49 {
> compatible = "maxim,max96712";
> reg = <0x49>;
> - enable-gpios = <&pca9654_a 0 GPIO_ACTIVE_HIGH>;
> + powerdown-gpios = <&pca9654_a 0 GPIO_ACTIVE_LOW>;
>
> ports {
> #address-cells = <1>;
> --
> 2.49.0
>
next prev parent reply other threads:[~2025-05-14 22:10 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-12 21:28 [PATCH v3 00/19] media: i2c: add Maxim GMSL2/3 serializer and deserializer drivers Cosmin Tanislav
2025-05-12 21:28 ` [PATCH v3 01/19] dt-bindings: media: i2c: max96717: add myself as maintainer Cosmin Tanislav
2025-05-14 21:56 ` Rob Herring (Arm)
2025-05-12 21:28 ` [PATCH v3 02/19] dt-bindings: media: i2c: max96717: add support for I2C ATR Cosmin Tanislav
2025-05-14 21:58 ` Rob Herring (Arm)
2025-05-12 21:28 ` [PATCH v3 03/19] dt-bindings: media: i2c: max96717: add support for pinctrl/pinconf Cosmin Tanislav
2025-05-14 22:01 ` Rob Herring
2025-05-12 21:28 ` [PATCH v3 04/19] dt-bindings: media: i2c: max96717: add support for MAX9295A Cosmin Tanislav
2025-05-14 22:02 ` Rob Herring (Arm)
2025-05-12 21:28 ` [PATCH v3 05/19] dt-bindings: media: i2c: max96717: add support for MAX96793 Cosmin Tanislav
2025-05-14 22:03 ` Rob Herring (Arm)
2025-05-12 21:28 ` [PATCH v3 06/19] dt-bindings: media: i2c: max96712: add myself as maintainer Cosmin Tanislav
2025-05-14 22:03 ` Rob Herring (Arm)
2025-05-12 21:28 ` [PATCH v3 07/19] dt-bindings: media: i2c: max96712: use pattern properties for ports Cosmin Tanislav
2025-05-14 22:04 ` Rob Herring (Arm)
2025-05-12 21:28 ` [PATCH v3 08/19] dt-bindings: media: i2c: max96712: add support for I2C ATR Cosmin Tanislav
2025-05-14 22:04 ` Rob Herring (Arm)
2025-05-12 21:28 ` [PATCH v3 09/19] dt-bindings: media: i2c: max96712: add support for POC supplies Cosmin Tanislav
2025-05-14 22:05 ` Rob Herring (Arm)
2025-05-12 21:28 ` [PATCH v3 10/19] dt-bindings: media: i2c: max96712: deprecate enable-gpios Cosmin Tanislav
2025-05-14 22:10 ` Rob Herring [this message]
2025-05-12 21:28 ` [PATCH v3 11/19] dt-bindings: media: i2c: max96712: add support for MAX96724F/R Cosmin Tanislav
2025-05-14 22:10 ` Rob Herring (Arm)
2025-05-12 21:28 ` [PATCH v3 12/19] dt-bindings: media: i2c: max96714: add myself as maintainer Cosmin Tanislav
2025-05-14 22:10 ` Rob Herring (Arm)
2025-05-12 21:28 ` [PATCH v3 13/19] dt-bindings: media: i2c: max96714: add support for MAX96714R Cosmin Tanislav
2025-05-14 22:11 ` Rob Herring (Arm)
2025-05-12 21:28 ` [PATCH v3 14/19] dt-bindings: media: i2c: add MAX9296A, MAX96716A, MAX96792A Cosmin Tanislav
2025-05-12 23:25 ` Rob Herring (Arm)
2025-05-12 21:28 ` [PATCH v3 15/19] media: i2c: add Maxim GMSL2/3 serializer and deserializer drivers Cosmin Tanislav
2025-05-19 20:08 ` Jakub Kostiw
2025-05-12 21:28 ` [PATCH v3 16/19] arm64: defconfig: disable deprecated MAX96712 driver Cosmin Tanislav
2025-05-12 21:28 ` [PATCH v3 17/19] staging: media: remove " Cosmin Tanislav
2025-05-12 21:28 ` [PATCH v3 18/19] media: i2c: remove MAX96717 driver Cosmin Tanislav
2025-05-12 21:28 ` [PATCH v3 19/19] media: i2c: remove MAX96714 driver Cosmin Tanislav
2025-05-12 21:57 ` [PATCH v3 00/19] media: i2c: add Maxim GMSL2/3 serializer and deserializer drivers Niklas Söderlund
2025-05-19 19:40 ` Jakub Kostiw
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250514221001.GA3125068-robh@kernel.org \
--to=robh@kernel.org \
--cc=andersson@kernel.org \
--cc=angelogioacchino.delregno@collabora.com \
--cc=benjamin.mugnier@foss.st.com \
--cc=brgl@bgdev.pl \
--cc=broonie@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=conor+dt@kernel.org \
--cc=cosmin.tanislav@analog.com \
--cc=dan.carpenter@linaro.org \
--cc=demonsingur@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=dongcheng.yan@intel.com \
--cc=ebiggers@google.com \
--cc=elinor.montmasson@savoirfairelinux.com \
--cc=geert+renesas@glider.be \
--cc=gregkh@linuxfoundation.org \
--cc=hverkuil@xs4all.nl \
--cc=julien.massot@collabora.com \
--cc=kieran.bingham@ideasonboard.com \
--cc=krzk+dt@kernel.org \
--cc=laurentiu.palcu@oss.nxp.com \
--cc=lgirdwood@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=mchehab@kernel.org \
--cc=nfraprado@collabora.com \
--cc=niklas.soderlund@ragnatech.se \
--cc=quic_tdas@quicinc.com \
--cc=ribalda@chromium.org \
--cc=ross.burton@arm.com \
--cc=sakari.ailus@linux.intel.com \
--cc=tomm.merciai@gmail.com \
--cc=victor.liu@nxp.com \
--cc=vigneshr@ti.com \
--cc=will@kernel.org \
--cc=zhi.mao@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).