From 0b57fdb1add3489d2dbd1e3c797354bb63f84ed1 Mon Sep 17 00:00:00 2001 From: Anisetti Avinash Krishna Date: Fri, 22 Sep 2023 19:05:17 +0530 Subject: [PATCH] dts: bindings: dma: intel_lpss: Added phandle dma-parent Added a phandle named dma-parent to get base address instead of adding DMA as child node because it is causing a build warning (avoid_unnecessary_addr_size) if the parent instance has "#address-cells/#size-cells" dts properties marked required and child doesn't have reg property. DMA doesn't have reg as it gets the base address from parent device Signed-off-by: Anisetti Avinash Krishna --- dts/bindings/dma/intel,lpss.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dts/bindings/dma/intel,lpss.yaml b/dts/bindings/dma/intel,lpss.yaml index d9fc4a60f11..5f1954216f0 100644 --- a/dts/bindings/dma/intel,lpss.yaml +++ b/dts/bindings/dma/intel,lpss.yaml @@ -11,5 +11,10 @@ properties: "#dma-cells": const: 1 + dma-parent: + type: phandle + description: | + Parent device for LPSS DMA to get its base address. + dma-cells: - channel