mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-20 04:23:55 -04:00
There's no reason to have "status" properties in examples. "okay" is the
default, and "disabled" turns off some schema checks ('required'
specifically).
Enabling qca,ar71xx causes a warning, so let's fix the node names:
Documentation/devicetree/bindings/net/qca,ar71xx.example.dt.yaml: phy@3: '#phy-cells' is a required property
From schema: schemas/phy/phy-provider.yaml
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Chen-Yu Tsai <wens@csie.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Robert Marko <robert.marko@sartura.hr>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Ramesh Shanmugasundaram <rashanmu@gmail.com>
Cc: "G. Jaya Kumaran" <vineetha.g.jaya.kumaran@intel.com>
Cc: ChiYuan Huang <cy_huang@richtek.com>
Cc: Wei Xu <xuwei5@hisilicon.com>
Cc: Dilip Kota <eswara.kota@linux.intel.com>
Cc: Karol Gugala <kgugala@antmicro.com>
Cc: Mateusz Holenko <mholenko@antmicro.com>
Cc: Olivier Moysan <olivier.moysan@st.com>
Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
Cc: dri-devel@lists.freedesktop.org
Cc: linux-media@vger.kernel.org
Cc: netdev@vger.kernel.org
Cc: linux-rtc@vger.kernel.org
Cc: alsa-devel@alsa-project.org
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> # For media
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://lore.kernel.org/r/20210720172025.363238-1-robh@kernel.org
77 lines
2.2 KiB
YAML
77 lines
2.2 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/reset/hisilicon,hi3660-reset.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Hisilicon System Reset Controller
|
|
|
|
maintainers:
|
|
- Wei Xu <xuwei5@hisilicon.com>
|
|
|
|
description: |
|
|
Please also refer to reset.txt in this directory for common reset
|
|
controller binding usage.
|
|
The reset controller registers are part of the system-ctl block on
|
|
hi3660 and hi3670 SoCs.
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- items:
|
|
- const: hisilicon,hi3660-reset
|
|
- items:
|
|
- const: hisilicon,hi3670-reset
|
|
- const: hisilicon,hi3660-reset
|
|
|
|
hisilicon,rst-syscon:
|
|
description: phandle of the reset's syscon.
|
|
$ref: /schemas/types.yaml#/definitions/phandle
|
|
|
|
'#reset-cells':
|
|
description: |
|
|
Specifies the number of cells needed to encode a reset source.
|
|
Cell #1 : offset of the reset assert control register from the syscon
|
|
register base
|
|
offset + 4: deassert control register
|
|
offset + 8: status control register
|
|
Cell #2 : bit position of the reset in the reset control register
|
|
const: 2
|
|
|
|
required:
|
|
- compatible
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
#include <dt-bindings/clock/hi3660-clock.h>
|
|
|
|
iomcu: iomcu@ffd7e000 {
|
|
compatible = "hisilicon,hi3660-iomcu", "syscon";
|
|
reg = <0xffd7e000 0x1000>;
|
|
};
|
|
|
|
iomcu_rst: iomcu_rst_controller {
|
|
compatible = "hisilicon,hi3660-reset";
|
|
hisilicon,rst-syscon = <&iomcu>;
|
|
#reset-cells = <2>;
|
|
};
|
|
|
|
/* Specifying reset lines connected to IP modules */
|
|
i2c@ffd71000 {
|
|
compatible = "snps,designware-i2c";
|
|
reg = <0xffd71000 0x1000>;
|
|
interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
clock-frequency = <400000>;
|
|
clocks = <&crg_ctrl HI3660_CLK_GATE_I2C0>;
|
|
resets = <&iomcu_rst 0x20 3>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&i2c0_pmx_func &i2c0_cfg_func>;
|
|
};
|
|
...
|