dt-bindings: phy: ti,phy-j721e-wiz: fix bindings for torrent phy
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 18 Sep 2020 08:37:43 +0000 (11:37 +0300)
committerVinod Koul <vkoul@kernel.org>
Wed, 23 Sep 2020 05:27:51 +0000 (10:57 +0530)
commitb7132285c65b52afd73139a8386184ff81c3fcb7
tree50423d48e60c1e9b1e9928f84145d998458dfb09
parent4feac940ec142f70dd8600c5b73bef1cab5fde10
dt-bindings: phy: ti,phy-j721e-wiz: fix bindings for torrent phy

When WIZ wraps a Cadence Torrent PHY (instead of Cadence Sierra PHY)
there is a difference in the refclk-dig node: Torrent only has two
clocks instead of Sierra's four clocks. Add minItems: 2 to solve this.

Additionally, in our use case we only need to use assigned-clock for a
single clock, but the current binding requires either no assigned-clocks
or two. Fix this by adding minItems: 1 to all the assigned-clock
properties.

There was also an extra trailing whitespace, which this patch removes.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://lore.kernel.org/r/20200918083743.213874-2-tomi.valkeinen@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml