linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: zynqmp: Move firmware constants from binding to platform
@ 2025-02-03 16:39 Michal Simek
  2025-02-03 16:39 ` [PATCH 1/2] arm64: zynqmp: Use DT header for firmware constants Michal Simek
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Michal Simek @ 2025-02-03 16:39 UTC (permalink / raw)
  To: linux-kernel, monstr, michal.simek, git
  Cc: open list:XILINX AMS DRIVER, Michael Turquette, Claudiu Beznea,
	Niklas Cassel, Eric Dumazet, open list:COMMON CLK FRAMEWORK,
	Shyam Pandey, Michael Tretter, Rob Herring, Lars-Peter Clausen,
	Jakub Kicinski, Paolo Abeni,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Conor Dooley, Anand Ashok Dumbre, Mark Brown,
	moderated list:ARM/ZYNQ ARCHITECTURE, Harini Katakam,
	open list:LIBATA SUBSYSTEM (Serial and Parallel ATA drivers),
	Stephen Boyd, Greg Kroah-Hartman, open list:USB SUBSYSTEM,
	open list:SPI SUBSYSTEM, Andrew Lunn, Vinod Koul, Damien Le Moal,
	open list:NETWORKING DRIVERS,
	open list:DMA GENERIC OFFLOAD ENGINE SUBSYSTEM,
	Krzysztof Kozlowski, David S. Miller, Jonathan Cameron,
	Mubin Sayyed

Hi,

Based on discussion done long time ago
https://lore.kernel.org/all/5353872c-56a3-98f9-7f22-ec1f6c2ccdc8@linaro.org/
it is better to deprecate firmware contants which are not used in any code
and it's only purpose is to use macros in dt files.

There is no reason to be the part of dt bindings but it should be kept
there with adding deprecated warning.

I want to see if this is the right way to go. If yes, I will also do the
same changes in other headers which contain only constans which are not
used in any code.

Thanks,
Michal


Michal Simek (2):
  arm64: zynqmp: Use DT header for firmware constants
  dt-bindings: xilinx: Deprecate header with firmware constants

 .../bindings/ata/ceva,ahci-1v84.yaml          |   4 +-
 .../dma/xilinx/xlnx,zynqmp-dma-1.0.yaml       |   3 +-
 .../bindings/iio/adc/xlnx,zynqmp-ams.yaml     |   3 +-
 .../devicetree/bindings/net/cdns,macb.yaml    |   7 +-
 .../bindings/spi/spi-zynqmp-qspi.yaml         |   3 +-
 .../devicetree/bindings/usb/dwc3-xilinx.yaml  |   3 +-
 arch/arm64/boot/dts/xilinx/xlnx-zynqmp-clk.h  | 126 ++++++++++++++++++
 .../arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi |   2 +-
 include/dt-bindings/clock/xlnx-zynqmp-clk.h   |   7 +
 9 files changed, 142 insertions(+), 16 deletions(-)
 create mode 100644 arch/arm64/boot/dts/xilinx/xlnx-zynqmp-clk.h

-- 
2.43.0



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-02-20 11:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-03 16:39 [PATCH 0/2] arm64: zynqmp: Move firmware constants from binding to platform Michal Simek
2025-02-03 16:39 ` [PATCH 1/2] arm64: zynqmp: Use DT header for firmware constants Michal Simek
2025-02-03 16:39 ` [PATCH 2/2] dt-bindings: xilinx: Deprecate header with " Michal Simek
2025-02-04 20:04   ` Jonathan Cameron
2025-02-18 10:54   ` Vinod Koul
2025-02-04 19:43 ` [PATCH 0/2] arm64: zynqmp: Move firmware constants from binding to platform Conor Dooley
2025-02-17 15:25   ` Michal Simek
2025-02-20 11:21 ` Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).