On 18/10/2023 05:26, Jacky Huang wrote:
Dear Krzysztof,What is the full name of destination block?
Thank you for the review.
On 2023/10/17 上午 03:52, Krzysztof Kozlowski wrote:
On 16/10/2023 06:32, Jacky Huang wrote:
Read comments carefully.+ '#size-cells':sys is quite generic. Description explains nothing except duplicating
+ const: 1
+
+ nuvoton,sys:
+ description:
+ phandle to the syscon node
known information. Drop duplicated info and instead explain to what this
phandle points and how it is going to be used.
I will update the description of 'nuvoton,sys'.
regmap is unrelated to the bindings.Here just fix the 'phandle-array' to 'phandle' and remove 'maxItems'.Nothing improved.I would like to update this as:+ $ref: /schemas/types.yaml#/definitions/phandle-arraySo just phandle, not phandle-array, unless it is defined like this in
+ items:
+ maxItems: 1
some other binding.
nuvoton,sys:
I will update description as:$ref: /schemas/types.yaml#/definitions/phandleDriver is not relevant here. Say which part of syscon are necessary for
description:
Help pinctrl driver to access system registers by means of regmap.
pinctrl operation.
nuvoton,sys:
$ref: /schemas/types.yaml#/definitions/phandle
description:
The pin function control registers are located in the system
control register space. This phandle provides pinctrl the
ability to access the pin function control registers through
the use of regmap.
I proposed io-microvoltOK, I will update it as:There is actually power-source, but treated as actual choice of powerThe output voltage level of GPIO can be configured as 1.8V or 3.3V,+ maximum: 7Missing units in property name. power-source also does not really
+
+ input-enable: true
+
+ input-schmitt-enable: true
+
+ power-source:
+ description:
+ I/O voltage in millivolt.
+ enum: [ 1800, 3300 ]
describe the property.
but I cannot find any suitable output properties in 'pincfg-node.yaml.'
supplies.
I noticed that 'xlnx,zynq-pinctrl.yaml' and 'xlnx,zynq-pinctrl.yaml' useMaybe Rob or Linus have here some recommendation, but I would suggest to
'power source' to specify the output voltage. Should I follow their
approach or define a vendor-specific one?
go either with rtd1319d-pinctrl.yaml approach or add a generic property
to pincfg-node expressed in real units like "io-microvolt".
power-source:
description: |
Valid arguments are described as below:
0: power supply of 1.8V
1: power supply of 3.3V
enum: [0, 1]
Rob, Linus, any ideas for generic property replacing register-specific
power-source?
Best regards,
Krzysztof