Netdev Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH net-next v14 1/3] dt-bindings: vendor-prefixes: Add asix prefix
[not found] ` <CGME20210719192913eucas1p1dfd7dff3ca85db20ce638c9355b41ada@eucas1p1.samsung.com>
@ 2021-07-19 19:28 ` Łukasz Stelmach
0 siblings, 0 replies; 3+ messages in thread
From: Łukasz Stelmach @ 2021-07-19 19:28 UTC (permalink / raw)
To: Andrew Lunn, jim.cromie, Heiner Kallweit, David S. Miller,
Jakub Kicinski, Rob Herring, Kukjin Kim, Krzysztof Kozlowski,
Russell King, netdev, devicetree, linux-kernel, linux-arm-kernel,
linux-samsung-soc
Cc: Bartłomiej Żolnierkiewicz, Marek Szyprowski,
Łukasz Stelmach, Rob Herring
Add the prefix for ASIX Electronics Corporation.
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Rob Herring <robh@kernel.org>
---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index 07fb0d25fc15..91b5e591746f 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -131,6 +131,8 @@ patternProperties:
description: Asahi Kasei Corp.
"^asc,.*":
description: All Sensors Corporation
+ "^asix,.*":
+ description: ASIX Electronics Corporation
"^aspeed,.*":
description: ASPEED Technology Inc.
"^asus,.*":
--
2.26.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH net-next v14 2/3] dt-bindings: net: Add bindings for AX88796C SPI Ethernet Adapter
[not found] ` <CGME20210719192913eucas1p22ebe775ac3f40af0184a6569e6e869f3@eucas1p2.samsung.com>
@ 2021-07-19 19:28 ` Łukasz Stelmach
2021-07-24 2:48 ` kernel test robot
0 siblings, 1 reply; 3+ messages in thread
From: Łukasz Stelmach @ 2021-07-19 19:28 UTC (permalink / raw)
To: Andrew Lunn, jim.cromie, Heiner Kallweit, David S. Miller,
Jakub Kicinski, Rob Herring, Kukjin Kim, Krzysztof Kozlowski,
Russell King, netdev, devicetree, linux-kernel, linux-arm-kernel,
linux-samsung-soc
Cc: Bartłomiej Żolnierkiewicz, Marek Szyprowski,
Łukasz Stelmach, Rob Herring
Add bindings for AX88796C SPI Ethernet Adapter.
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
---
.../bindings/net/asix,ax88796c.yaml | 73 +++++++++++++++++++
1 file changed, 73 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/asix,ax88796c.yaml
diff --git a/Documentation/devicetree/bindings/net/asix,ax88796c.yaml b/Documentation/devicetree/bindings/net/asix,ax88796c.yaml
new file mode 100644
index 000000000000..699ebf452479
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/asix,ax88796c.yaml
@@ -0,0 +1,73 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/net/asix,ax88796c.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: ASIX AX88796C SPI Ethernet Adapter
+
+maintainers:
+ - Łukasz Stelmach <l.stelmach@samsung.com>
+
+description: |
+ ASIX AX88796C is an Ethernet controller with a built in PHY. This
+ describes SPI mode of the chip.
+
+ The node for this driver must be a child node of an SPI controller,
+ hence all mandatory properties described in
+ ../spi/spi-controller.yaml must be specified.
+
+allOf:
+ - $ref: ethernet-controller.yaml#
+
+properties:
+ compatible:
+ const: asix,ax88796c
+
+ reg:
+ maxItems: 1
+
+ spi-max-frequency:
+ maximum: 40000000
+
+ interrupts:
+ maxItems: 1
+
+ reset-gpios:
+ description:
+ A GPIO line handling reset of the chip. As the line is active low,
+ it should be marked GPIO_ACTIVE_LOW.
+ maxItems: 1
+
+ local-mac-address: true
+
+ mac-address: true
+
+required:
+ - compatible
+ - reg
+ - spi-max-frequency
+ - interrupts
+ - reset-gpios
+
+additionalProperties: false
+
+examples:
+ # Artik5 eval board
+ - |
+ #include <dt-bindings/interrupt-controller/irq.h>
+ #include <dt-bindings/gpio/gpio.h>
+ spi0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ethernet@0 {
+ compatible = "asix,ax88796c";
+ reg = <0x0>;
+ local-mac-address = [00 00 00 00 00 00]; /* Filled in by a bootloader */
+ interrupt-parent = <&gpx2>;
+ interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+ spi-max-frequency = <40000000>;
+ reset-gpios = <&gpe0 2 GPIO_ACTIVE_LOW>;
+ };
+ };
--
2.26.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next v14 2/3] dt-bindings: net: Add bindings for AX88796C SPI Ethernet Adapter
2021-07-19 19:28 ` [PATCH net-next v14 2/3] dt-bindings: net: Add bindings for AX88796C SPI Ethernet Adapter Łukasz Stelmach
@ 2021-07-24 2:48 ` kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-07-24 2:48 UTC (permalink / raw)
To: Łukasz Stelmach, Andrew Lunn, jim.cromie, Heiner Kallweit,
David S. Miller, Jakub Kicinski, Rob Herring, Kukjin Kim,
Krzysztof Kozlowski, Russell King
Cc: kbuild-all, netdev
Hi "Łukasz,
I love your patch! Perhaps something to improve:
[auto build test WARNING on net-next/master]
url: https://github.com/0day-ci/linux/commits/ukasz-Stelmach/dt-bindings-vendor-prefixes-Add-asix-prefix/20210720-144740
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 0d6835ffe50c9c1f098b5704394331710b67af48
compiler: arm-linux-gnueabi-gcc (GCC) 10.3.0
reproduce: make ARCH=arm dtbs_check
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
dtcheck warnings: (new ones prefixed by >>)
arch/arm/boot/dts/exynos3250-artik5-eval.dt.yaml:0:0: /soc/i2c@13860000/pmic@66: failed to match any schema with compatible: ['samsung,s2mps14-pmic']
arch/arm/boot/dts/exynos3250-artik5-eval.dt.yaml:0:0: /soc/i2c@13860000/pmic@66/clocks: failed to match any schema with compatible: ['samsung,s2mps14-clk']
arch/arm/boot/dts/exynos3250-artik5-eval.dt.yaml:0:0: /soc/i2c@13870000: failed to match any schema with compatible: ['samsung,s3c2440-i2c']
arch/arm/boot/dts/exynos3250-artik5-eval.dt.yaml:0:0: /soc/i2c@13880000: failed to match any schema with compatible: ['samsung,s3c2440-i2c']
arch/arm/boot/dts/exynos3250-artik5-eval.dt.yaml:0:0: /soc/i2c@13890000: failed to match any schema with compatible: ['samsung,s3c2440-i2c']
arch/arm/boot/dts/exynos3250-artik5-eval.dt.yaml:0:0: /soc/i2c@138a0000: failed to match any schema with compatible: ['samsung,s3c2440-i2c']
arch/arm/boot/dts/exynos3250-artik5-eval.dt.yaml:0:0: /soc/i2c@138b0000: failed to match any schema with compatible: ['samsung,s3c2440-i2c']
arch/arm/boot/dts/exynos3250-artik5-eval.dt.yaml:0:0: /soc/i2c@138c0000: failed to match any schema with compatible: ['samsung,s3c2440-i2c']
arch/arm/boot/dts/exynos3250-artik5-eval.dt.yaml:0:0: /soc/i2c@138d0000: failed to match any schema with compatible: ['samsung,s3c2440-i2c']
arch/arm/boot/dts/exynos3250-artik5-eval.dt.yaml:0:0: /soc/spi@13920000: failed to match any schema with compatible: ['samsung,exynos4210-spi']
>> arch/arm/boot/dts/exynos3250-artik5-eval.dt.yaml: ethernet@0: 'controller-data' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/net/asix,ax88796c.yaml
arch/arm/boot/dts/exynos3250-artik5-eval.dt.yaml:0:0: /soc/spi@13930000: failed to match any schema with compatible: ['samsung,exynos4210-spi']
arch/arm/boot/dts/exynos3250-artik5-eval.dt.yaml:0:0: /soc/ppmu@106a0000: failed to match any schema with compatible: ['samsung,exynos-ppmu']
arch/arm/boot/dts/exynos3250-artik5-eval.dt.yaml:0:0: /soc/ppmu@106b0000: failed to match any schema with compatible: ['samsung,exynos-ppmu']
arch/arm/boot/dts/exynos3250-artik5-eval.dt.yaml:0:0: /soc/ppmu@106c0000: failed to match any schema with compatible: ['samsung,exynos-ppmu']
arch/arm/boot/dts/exynos3250-artik5-eval.dt.yaml:0:0: /soc/ppmu@112a0000: failed to match any schema with compatible: ['samsung,exynos-ppmu']
arch/arm/boot/dts/exynos3250-artik5-eval.dt.yaml:0:0: /soc/ppmu@116a0000: failed to match any schema with compatible: ['samsung,exynos-ppmu']
arch/arm/boot/dts/exynos3250-artik5-eval.dt.yaml:0:0: /soc/ppmu@11ac0000: failed to match any schema with compatible: ['samsung,exynos-ppmu']
arch/arm/boot/dts/exynos3250-artik5-eval.dt.yaml:0:0: /soc/ppmu@11e40000: failed to match any schema with compatible: ['samsung,exynos-ppmu']
arch/arm/boot/dts/exynos3250-artik5-eval.dt.yaml:0:0: /soc/ppmu@12630000: failed to match any schema with compatible: ['samsung,exynos-ppmu']
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-07-24 2:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-19 19:28 [PATCH net-next v14 0/3] AX88796C SPI Ethernet Adapter Łukasz Stelmach
[not found] ` <CGME20210719192913eucas1p1dfd7dff3ca85db20ce638c9355b41ada@eucas1p1.samsung.com>
2021-07-19 19:28 ` [PATCH net-next v14 1/3] dt-bindings: vendor-prefixes: Add asix prefix Łukasz Stelmach
[not found] ` <CGME20210719192913eucas1p22ebe775ac3f40af0184a6569e6e869f3@eucas1p2.samsung.com>
2021-07-19 19:28 ` [PATCH net-next v14 2/3] dt-bindings: net: Add bindings for AX88796C SPI Ethernet Adapter Łukasz Stelmach
2021-07-24 2:48 ` kernel test robot
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).