lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b32ac98d-6db7-493e-a780-5c4943111184@kernel.org>
Date: Fri, 25 Apr 2025 12:20:59 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Alexey Charkov <alchark@...il.com>, Rob Herring <robh@...nel.org>,
 Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
 linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 1/3] dt-bindings: soc: Add VIA/WonderMedia SoC
 identification

On 23/04/2025 21:18, Alexey Charkov wrote:
> VIA/WonderMedia SoC's have a chip ID register inside their system
> configuration controller space, which can be used to identify
> appropriate hardware quirks at runtime. Add binding for it.
> 
> Signed-off-by: Alexey Charkov <alchark@...il.com>
> ---
>  .../devicetree/bindings/soc/vt8500/via,scc-id.yaml | 37 ++++++++++++++++++++++

chipid should probably go to hwinfo directory in bindings.

>  1 file changed, 37 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/soc/vt8500/via,scc-id.yaml b/Documentation/devicetree/bindings/soc/vt8500/via,scc-id.yaml
> new file mode 100644
> index 0000000000000000000000000000000000000000..eac72bd66fd6331c8d9316288bc1acc3e337efaa
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/soc/vt8500/via,scc-id.yaml
> @@ -0,0 +1,37 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/soc/vt8500/via,scc-id.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: VIA/WonderMedia SoC system configuration information
> +
> +maintainers:
> +  - Alexey Charkov <alchark@...il.com>
> +
> +description:
> +  The system configuration controller on VIA/WonderMedia SoC's contains a chip
> +  identifier and revision used to differentiate between different hardware
> +  versions of on-chip IP blocks having their own peculiarities which may or
> +  may not be captured by their respective DT compatible strings
> +
> +properties:
> +  compatible:
> +    items:
> +      - const: via,scc-id

Compatible based on SoC (and then also keep filename matching it).

> +
> +  reg:
> +    maxItems: 1
> +
Best regards,
Krzysztof

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ