Message ID | 20230825124115.1177577-1-keguang.zhang@gmail.com (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show |
Series | dt-bindings: mips: loongson: Add LS1B demo board | expand |
On 25/08/2023 14:41, Keguang Zhang wrote:
> Add compatible for LS1B demo board.
Where is the user of this binding? We do not add bindings without users.
Best regards,
Krzysztof
On Fri, Aug 25, 2023 at 8:45 PM Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > > On 25/08/2023 14:41, Keguang Zhang wrote: > > Add compatible for LS1B demo board. > > Where is the user of this binding? We do not add bindings without users. > OK. I'll put this patch and the DTS into one patch set later. > > Best regards, > Krzysztof >
On Fri, Aug 25, 2023 at 02:45:41PM +0200, Krzysztof Kozlowski wrote: > On 25/08/2023 14:41, Keguang Zhang wrote: > > Add compatible for LS1B demo board. > > Where is the user of this binding? We do not add bindings without users. Maybe board compatibles should be an exception? They are rarely/never used by the kernel so the only user will be a board dts. I'm not sure we care about having every board upstream. Rob
On 28/08/2023 17:09, Rob Herring wrote: > On Fri, Aug 25, 2023 at 02:45:41PM +0200, Krzysztof Kozlowski wrote: >> On 25/08/2023 14:41, Keguang Zhang wrote: >>> Add compatible for LS1B demo board. >> >> Where is the user of this binding? We do not add bindings without users. > > Maybe board compatibles should be an exception? They are rarely/never > used by the kernel so the only user will be a board dts. I'm not sure we > care about having every board upstream. If someone keeps DTS out of the kernel, then they could keep the binding patch there as well. Boards upstream are the same useful as some drivers - allow others to play with it and investigate. Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/mips/loongson/devices.yaml b/Documentation/devicetree/bindings/mips/loongson/devices.yaml index 099e40e1482d..8736eb9fe224 100644 --- a/Documentation/devicetree/bindings/mips/loongson/devices.yaml +++ b/Documentation/devicetree/bindings/mips/loongson/devices.yaml @@ -40,6 +40,7 @@ properties: - description: LS1B based boards items: - enum: + - loongson,ls1b-demo - loongson,lsgz-1b-dev - const: loongson,ls1b
Add compatible for LS1B demo board. Signed-off-by: Keguang Zhang <keguang.zhang@gmail.com> --- Documentation/devicetree/bindings/mips/loongson/devices.yaml | 1 + 1 file changed, 1 insertion(+) base-commit: f11a9967413281b49690d864795e7c5f8f8e4fda