20 Mar
2023
20 Mar
'23
11:20 a.m.
On 20/03/2023 10:46, Herve Codina wrote:
- lantiq,data-rate-bps:
- $ref: /schemas/types.yaml#/definitions/uint32
- enum: [2048000, 4096000, 8192000, 16384000]
- default: 2048000
- description:
Data rate (bit per seconds) on the system highway.
Why do you need it? How is it different from clock? Do you expect some DDR here?
This is needed to set the data position on the data line. If the data line clock (sysclk-rate-hz) is greater than 'data-rate-bps', the device interleaves some holes between data in the full frame.
The exact position of the data and the holes is defined by 'channel-phase'
So, two information are needed:
- The number of slots available (deduced from 'lantiq,data-rate-bps')
- The slot to use in the available slots ('lantiq,channel-phase" property
lantiq,data-rate-bps is not a clock but a property used to set the frame physical setting. ie the correct data position in the frame.
OK
(...)
+additionalProperties: false
+examples:
- |
- #include <dt-bindings/gpio/gpio.h>
- pef2256@2000000 {
Figure out some generic node name.
What do you think about 'framer' ?
Sure, I don't have particular proposal.
Best regards, Krzysztof