Skip to content

Commit eed6d95

Browse files
lumaggregkh
authored andcommitted
dt-bindings: nvmem: fixed-cell: increase bits start value to 31
If NVMEM uses a data stride bigger than a byte, the starting bit of the cell might be bigger than a byte (e.g. if the data comes in the second byte of the 4-byte word). Allow the staring bit to be 8 or greater to reflect such usecases. Signed-off-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 269e074 commit eed6d95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/devicetree/bindings/nvmem/layouts/fixed-cell.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ properties:
2727
$ref: /schemas/types.yaml#/definitions/uint32-array
2828
items:
2929
- minimum: 0
30-
maximum: 7
30+
maximum: 31
3131
description:
3232
Offset in bit within the address range specified by reg.
3333
- minimum: 1

0 commit comments

Comments
 (0)