On Fri, May 30, 2025 at 10:33:28AM +0200, Stefan Wahren wrote:...
Hi Frank,
thanks for this patch.
Am 29.05.25 um 21:17 schrieb Frank Li:
I understand, but this was the first idea which comes to my mind.Okay, I will add back.+ - Frank Li <Frank.Li@xxxxxxx>Could you please add the dropped "(b) Ethernet over UART" description here?
+
+description: |
+ The QCA7000 is a serial-to-powerline bridge with a host interface which could
+ be configured either as SPI or UART slave. This configuration is done by
+ the QCA7000 firmware.
+
+ (a) Ethernet over SPI
+
+ In order to use the QCA7000 as SPI device it must be defined as a child of a
+ SPI master in the device tree.
But It think depend on reg is not good idea, which too obscure.+In case of a SPI setup these properties should be required. Unfortunately
+properties:
+ compatible:
+ const: qca,qca7000
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ spi-cpha: true
+
+ spi-cpol: true
i'm not sure how to enforce this. Maybe depending on the presence of "reg"?
Ideally itBack in the days there was a discussion about different compatible strings and it was rejected [1].
should be use two compatible strings. It should treat as two kinds device.
It is really old devices and not worth to update compatible string.Yes, this powerline communication chip was introduced in 2012 but it's very widespread. Most of the electric vehicles and DC charging stations use this chip.
Maybe some one in dt team can provide suggestion!
Rob and Krzysztof Kozlowski:
any idea about this?
Frank