From: Rob Herring <robh@kernel.org>
To: Inochi Amaoto <inochiama@gmail.com>
Cc: "Philipp Zabel" <p.zabel@pengutronix.de>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Chen Wang" <unicorn_wang@outlook.com>,
"Paul Walmsley" <paul.walmsley@sifive.com>,
"Palmer Dabbelt" <palmer@dabbelt.com>,
"Albert Ou" <aou@eecs.berkeley.edu>,
"Uwe Kleine-König" <u.kleine-koenig@baylibre.com>,
"Guo Ren" <guoren@kernel.org>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
sophgo@lists.linux.dev, linux-riscv@lists.infradead.org,
"Yixun Lan" <dlan@gentoo.org>,
"Longbin Li" <looong.bin@gmail.com>
Subject: Re: [PATCH v2 1/5] dt-bindings: reset: add generic bit reset controller
Date: Thu, 27 Feb 2025 07:35:09 -0600 [thread overview]
Message-ID: <20250227133509.GA2021892-robh@kernel.org> (raw)
In-Reply-To: <20250226234234.125305-2-inochiama@gmail.com>
On Thu, Feb 27, 2025 at 07:42:29AM +0800, Inochi Amaoto wrote:
> Some SoCs from Aspeed, Allwinner, Sophgo and Synopsys have
> a simple reset controller by toggling bit. It is a hard time
> for each device to add its own compatible to the driver.
It's a 1 line change. That isn't hard.
> Since these devices share a common design, it is possible to
> add a common device to reduce these unnecessary change for
> the driver.
>
> Add common binding for these kind generic reset controller.
> Check the binding description for its requirement and
> suitable scenarios.
We generally don't want 1 register per node type bindings. That level of
detail in DT has proven impossible to get right.
Rob
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
WARNING: multiple messages have this Message-ID (diff)
From: Rob Herring <robh@kernel.org>
To: Inochi Amaoto <inochiama@gmail.com>
Cc: "Philipp Zabel" <p.zabel@pengutronix.de>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Chen Wang" <unicorn_wang@outlook.com>,
"Paul Walmsley" <paul.walmsley@sifive.com>,
"Palmer Dabbelt" <palmer@dabbelt.com>,
"Albert Ou" <aou@eecs.berkeley.edu>,
"Uwe Kleine-König" <u.kleine-koenig@baylibre.com>,
"Guo Ren" <guoren@kernel.org>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
sophgo@lists.linux.dev, linux-riscv@lists.infradead.org,
"Yixun Lan" <dlan@gentoo.org>,
"Longbin Li" <looong.bin@gmail.com>
Subject: Re: [PATCH v2 1/5] dt-bindings: reset: add generic bit reset controller
Date: Thu, 27 Feb 2025 07:35:09 -0600 [thread overview]
Message-ID: <20250227133509.GA2021892-robh@kernel.org> (raw)
In-Reply-To: <20250226234234.125305-2-inochiama@gmail.com>
On Thu, Feb 27, 2025 at 07:42:29AM +0800, Inochi Amaoto wrote:
> Some SoCs from Aspeed, Allwinner, Sophgo and Synopsys have
> a simple reset controller by toggling bit. It is a hard time
> for each device to add its own compatible to the driver.
It's a 1 line change. That isn't hard.
> Since these devices share a common design, it is possible to
> add a common device to reduce these unnecessary change for
> the driver.
>
> Add common binding for these kind generic reset controller.
> Check the binding description for its requirement and
> suitable scenarios.
We generally don't want 1 register per node type bindings. That level of
detail in DT has proven impossible to get right.
Rob
next prev parent reply other threads:[~2025-02-27 13:36 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-26 23:42 [PATCH v2 0/5] reset: introduce generic reset-simple controller Inochi Amaoto
2025-02-26 23:42 ` Inochi Amaoto
2025-02-26 23:42 ` [PATCH v2 1/5] dt-bindings: reset: add generic bit reset controller Inochi Amaoto
2025-02-26 23:42 ` Inochi Amaoto
2025-02-27 13:35 ` Rob Herring [this message]
2025-02-27 13:35 ` Rob Herring
2025-02-28 0:39 ` Inochi Amaoto
2025-02-28 0:39 ` Inochi Amaoto
2025-02-26 23:42 ` [PATCH v2 2/5] reset: simple: Add active-low property support Inochi Amaoto
2025-02-26 23:42 ` Inochi Amaoto
2025-02-26 23:42 ` [PATCH v2 3/5] reset: simple: add support generic reset-simple device Inochi Amaoto
2025-02-26 23:42 ` Inochi Amaoto
2025-02-26 23:42 ` [PATCH v2 4/5] dt-bindings: reset: simple: migrate sophgo sg2042 reset controller Inochi Amaoto
2025-02-26 23:42 ` Inochi Amaoto
2025-02-26 23:42 ` [PATCH v2 5/5] riscv: dts: sg2042: Adapt reset generator for new binding Inochi Amaoto
2025-02-26 23:42 ` Inochi Amaoto
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=20250227133509.GA2021892-robh@kernel.org \
--to=robh@kernel.org \
--cc=aou@eecs.berkeley.edu \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlan@gentoo.org \
--cc=guoren@kernel.org \
--cc=inochiama@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=looong.bin@gmail.com \
--cc=p.zabel@pengutronix.de \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=sophgo@lists.linux.dev \
--cc=u.kleine-koenig@baylibre.com \
--cc=unicorn_wang@outlook.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.