Message ID | 20210108225006.153700-4-adrien.grassein@gmail.com |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | Fix issues on pf8x00 driver | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | success | |
robh/checkpatch | success |
On Fri, Jan 08, 2021 at 11:50:03PM +0100, Adrien Grassein wrote: > This property seems useless because we can use the > regulator-max-microamp generic property to do the same > and using generic code. This made it into a kernel release so we should continue to honour it, it's fine to deprecate it though.
Hello, Is there a way to declare it deprecated in the DTB ? I never saw a deprecated value. Thanks, Le lun. 11 janv. 2021 à 18:20, Mark Brown <broonie@kernel.org> a écrit : > > On Fri, Jan 08, 2021 at 11:50:03PM +0100, Adrien Grassein wrote: > > This property seems useless because we can use the > > regulator-max-microamp generic property to do the same > > and using generic code. > > This made it into a kernel release so we should continue to honour it, > it's fine to deprecate it though.
On Mon, Jan 11, 2021 at 06:27:52PM +0100, Adrien Grassein wrote: > Hello, Please don't top post, reply in line with needed context. This allows readers to readily follow the flow of conversation and understand what you are talking about and also helps ensure that everything in the discussion is being addressed. > Is there a way to declare it deprecated in the DTB ? > I never saw a deprecated value. If nothing else you can put a note in the text description, I don't know about the YAML format stuff.
diff --git a/Documentation/devicetree/bindings/regulator/nxp,pf8x00-regulator.yaml b/Documentation/devicetree/bindings/regulator/nxp,pf8x00-regulator.yaml index 095cfdae7b67..05d5e9a2219c 100644 --- a/Documentation/devicetree/bindings/regulator/nxp,pf8x00-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/nxp,pf8x00-regulator.yaml @@ -58,19 +58,6 @@ properties: description: should be "buck1", ..., "buck7" - nxp,ilim-ma: - $ref: "/schemas/types.yaml#/definitions/uint32" - minimum: 2100 - maximum: 4500 - description: - BUCK regulators current limit in mA. - - Listed current limits in mA are, - 2100 (default) - 2600 - 3000 - 4500 - nxp,phase-shift: $ref: "/schemas/types.yaml#/definitions/uint32" default: 0