Re: [PATCH 4/5] dt/bindings: remove device_type "network" references

From: Michal Simek
Date: Wed Dec 11 2013 - 09:17:55 EST


On 12/11/2013 12:15 PM, Grant Likely wrote:
> device_type is deprecated and the kernel doesn't require it in most
> cases. The only exceptions for flat tree users are the "gianfar",
> "ucc_geth" and "ibm,emac" bindings, and arguably that requirement could
> be relaxed for ucc_geth and ibm,emac (that is a task for separate
> patches though).
>
> This patch removes references to device_type="network" from the binding
> documentation where possible and removes the properties from ARM and
> microblaze dts files. This patch does not modify the powerpc .dts files
> since there are a much larger number of them affected and I think the
> ucc_geth, ibm,emac and gianfar users should be addressed before clearing
> out the references to reduce the chance of breakage.
>
> Signed-off-by: Grant Likely <grant.likely@xxxxxxxxxx>
> Cc: Rob Herring <rob.herring@xxxxxxxxxxx>
> Cc: Pawel Moll <pawel.moll@xxxxxxx>
> Cc: Mark Rutland <mark.rutland@xxxxxxx>
> Cc: Ian Campbell <ijc+devicetree@xxxxxxxxxxxxxx>
> Cc: Kumar Gala <galak@xxxxxxxxxxxxxx>
> Cc: Michal Simek <monstr@xxxxxxxxx>
> ---
> Documentation/devicetree/bindings/marvell.txt | 2 --
> Documentation/devicetree/bindings/net/marvell-orion-net.txt | 2 --
> Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/network.txt | 1 -
> arch/arm/boot/dts/dove.dtsi | 1 -
> arch/arm/boot/dts/kirkwood.dtsi | 2 --
> arch/arm/boot/dts/orion5x.dtsi | 1 -
> arch/microblaze/platform/generic/system.dts | 1 -
> 7 files changed, 10 deletions(-)

Acked-by: Michal Simek <monstr@xxxxxxxxx>

btw: what device types can be used?
I am having them for serial, watchdog, pci, memory, cpu, ethernet-phy
(will remove network from our generator).

when I grep kernel there are others types like soc, ipmi and a lot for powerpc.

Thanks,
Michal

--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


Attachment: signature.asc
Description: OpenPGP digital signature