Jakub Kicinski
4d3d3559fc
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
...
Cross-merge networking fixes after downstream PR.
Conflicts:
Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml
c25504a0ba ("dt-bindings: net: fsl,qoriq-mc-dpmac: add missed property phys")
be034ee6c3 ("dt-bindings: net: fsl,qoriq-mc-dpmac: using unevaluatedProperties")
https://lore.kernel.org/20240815110934.56ae623a@canb.auug.org.au
drivers/net/dsa/vitesse-vsc73xx-core.c
5b9eebc2c7 ("net: dsa: vsc73xx: pass value in phy_write operation")
fa63c6434b ("net: dsa: vsc73xx: check busy flag in MDIO operations")
2524d6c28b ("net: dsa: vsc73xx: use defined values in phy operations")
https://lore.kernel.org/20240813104039.429b9fe6@canb.auug.org.au
Resolve by using FIELD_PREP(), Stephen's resolution is simpler.
Adjacent changes:
net/vmw_vsock/af_vsock.c
69139d2919 ("vsock: fix recursive ->recvmsg calls")
744500d81f ("vsock: add support for SIOCOUTQ ioctl")
Link: https://patch.msgid.link/20240815141149.33862-1-pabeni@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org >
2024-08-15 17:18:52 -07:00
Frank Li
be034ee6c3
dt-bindings: net: fsl,qoriq-mc-dpmac: using unevaluatedProperties
...
Replace additionalProperties with unevaluatedProperties because it have
allOf: $ref: ethernet-controller.yaml#.
Remove all properties, which already defined in ethernet-controller.yaml.
Fixed below CHECK_DTBS warnings:
arch/arm64/boot/dts/freescale/fsl-lx2160a-bluebox3.dtb:
fsl-mc@80c000000: dpmacs:ethernet@11: 'fixed-link' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/misc/fsl,qoriq-mc.yaml#
Signed-off-by: Frank Li <Frank.Li@nxp.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://patch.msgid.link/20240811184049.3759195-1-Frank.Li@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org >
2024-08-13 15:59:28 -07:00
Frank Li
c25504a0ba
dt-bindings: net: fsl,qoriq-mc-dpmac: add missed property phys
...
Add missed property phys, which indicate how connect to serdes phy.
Fix below warning:
arch/arm64/boot/dts/freescale/fsl-lx2160a-honeycomb.dtb: fsl-mc@80c000000: dpmacs:ethernet@7: Unevaluated properties are not allowed ('phys' was unexpected)
Signed-off-by: Frank Li <Frank.Li@nxp.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: David S. Miller <davem@davemloft.net >
2024-08-12 13:24:27 +01:00
Rob Herring
3079bfdbda
dt-bindings: net: Drop unneeded quotes
...
Cleanup bindings dropping unneeded quotes. Once all these are fixed,
checking for this can be enabled in yamllint.
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de > # for bindings/net/can
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com >
Acked-by: Florian Fainelli <f.fainelli@gmail.com >
Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Acked-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp > # for bindings/net/toshiba,visconti-dwmac.yaml
Reviewed-by: Heiko Stuebner <heiko@sntech.de > #rockchip
Link: https://lore.kernel.org/r/20230320233758.2918972-1-robh@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org >
2023-03-22 21:54:19 -07:00
Krzysztof Kozlowski
84e85359f4
dt-bindings: drop redundant part of title (end, part three)
...
The Devicetree bindings document does not have to say in the title that
it is a "binding", but instead just describe the hardware.
Drop trailing "bindings" in various forms (also with trailing full
stop):
find Documentation/devicetree/bindings/ -type f -name '*.yaml' \
-not -name 'trivial-devices.yaml' \
-exec sed -i -e 's/^title: \(.*\) [bB]indings\?\.\?$/title: \1/' {} \;
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
Acked-by: Matti Vaittinen <mazziesaccount@gmail.com > # ROHM
Acked-by: Ulf Hansson <ulf.hansson@linaro.org > # MMC
Acked-by: Stephen Boyd <sboyd@kernel.org > # clk
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com > # input
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl > # media
Acked-by: Sebastian Reichel <sre@kernel.org > # power
Acked-by: Viresh Kumar <viresh.kumar@linaro.org > # cpufreq
Link: https://lore.kernel.org/r/20221216163815.522628-7-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2022-12-16 11:41:49 -06:00
Sean Anderson
76025ee53b
dt-bindings: net: Expand pcs-handle to an array
...
This allows multiple phandles to be specified for pcs-handle, such as
when multiple PCSs are present for a single MAC. To differentiate
between them, also add a pcs-handle-names property.
Signed-off-by: Sean Anderson <sean.anderson@seco.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: David S. Miller <davem@davemloft.net >
2022-10-19 13:25:09 +01:00
Rob Herring
d69c6ddd01
dt-bindings: Fix JSON pointers
...
The correct syntax for JSON pointers begins with a '/' after the '#'.
Without a '/', the string should be interpreted as a subschema
identifier. The jsonschema module currently doesn't handle subschema
identifiers and incorrectly allows JSON pointers to begin without a '/'.
Let's fix this before it becomes a problem when jsonschema module is
fixed.
Converted with:
perl -p -i -e 's/yaml#definitions/yaml#\/definitions/g' `find Documentation/devicetree/bindings/ -name "*.yaml"`
Cc: Maxime Ripard <mripard@kernel.org >
Cc: Jonathan Cameron <jic23@kernel.org >
Cc: Lars-Peter Clausen <lars@metafoo.de >
Cc: Daniel Thompson <daniel.thompson@linaro.org >
Cc: Jingoo Han <jingoohan1@gmail.com >
Cc: Pavel Machek <pavel@ucw.cz >
Cc: "David S. Miller" <davem@davemloft.net >
Cc: Jakub Kicinski <kuba@kernel.org >
Cc: Andrew Lunn <andrew@lunn.ch >
Cc: Florian Fainelli <f.fainelli@gmail.com >
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Cc: Mark Brown <broonie@kernel.org >
Cc: netdev@vger.kernel.org
Acked-By: Vinod Koul <vkoul@kernel.org >
Acked-by: Lee Jones <lee.jones@linaro.org >
Acked-by: Guenter Roeck <linux@roeck-us.net >
Acked-by: Sebastian Reichel <sre@kernel.org >
Acked-by: Florian Fainelli <f.fainelli@gmail.com >
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Jakub Kicinski <kuba@kernel.org >
Link: https://lore.kernel.org/r/20201217223429.354283-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2020-12-18 15:14:44 -06:00
Ioana Ciornei
0dbcd49917
dt-bindings: net: add the DPAA2 MAC DTS definition
...
Add a documentation entry for the DTS bindings needed and supported by
the dpaa2-mac driver.
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Shawn Guo <shawnguo@kernel.org >
2020-11-03 07:31:33 +08:00