Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp763223pxb; Thu, 30 Sep 2021 17:12:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkO5E4whK+o7Mj8uMd2LE3WngHELS9yNJfwESTSzsPNWiJNlObBykkM5hSKcyM8HdnTDqk X-Received: by 2002:a17:902:780f:b0:13a:3919:e365 with SMTP id p15-20020a170902780f00b0013a3919e365mr8045897pll.63.1633047129327; Thu, 30 Sep 2021 17:12:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633047129; cv=none; d=google.com; s=arc-20160816; b=PIDDVX09ztIBXdouqvO/f+hjRMJaBC0rEon8DTdBZrCn8/H5zQ6y1WJvuG0YpooCpb u4zn4wHhDhY1405yRQ8nySoasyT0YFaaXcZuVRTNCcvWqrdsBRBFlrfQ5aHdU2nW2AH2 73S3vDJsabJ7Q4ZLCah30b7E3Ar0FSg+SBP8PjgTIeTGOjs3+TDlmdgYJlRNUPa+Ndh1 77DNeqF+oKjDR9ZNxL2Nc+9wWCludPHTpJVjzgZyLXNe0I8iF+EWRX+yilY3ZULl8Has aGEX4zBwCM9cxjf7ajK5x3jlz5N90n8aEKhFbMlG/isIq3oQ6FEmgmDYSad6hspZifl2 NB8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=iXzkVO1Zs9d1lpWEizGicoFr5u/BFpVfz4DZgg1GF2A=; b=X7gzvk20goJPPFwDnApuueXMLz45SQ6rT2hoykGywepB6l6FFTSV7psdn88pbgsQCw vJA2l9Uh+rVUrvJAICEUFUxaoJvxONVGACHurge8i//YC41TirIJ60VDuB9/W7US8hEV LM5GsmZb49eKtrP/i4Wwyf47XfzyADidJnfm+02brisMRQvKHq3Gvv4b64LJ4BXyU/Es E24hKSmBSaplpVEt07bHwOwbud536XIZa7rBEXmRMb/9zLScJ8surSkSFlC00IJQ5T9U LfI06CtiFlBlugj9lScyu2nCX0gwXkZV+HgqTLv2WsWGCzGVX30lqpFOFUL6Z/MYaDcW nEMQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o72si6180312pfg.134.2021.09.30.17.11.55; Thu, 30 Sep 2021 17:12:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346925AbhJAALO (ORCPT + 99 others); Thu, 30 Sep 2021 20:11:14 -0400 Received: from inva020.nxp.com ([92.121.34.13]:41398 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230172AbhJAALO (ORCPT ); Thu, 30 Sep 2021 20:11:14 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id D360F1A0D8B; Fri, 1 Oct 2021 02:09:29 +0200 (CEST) Received: from smtp.na-rdc02.nxp.com (usphx01srsp001v.us-phx01.nxp.com [134.27.49.11]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 982411A0D7C; Fri, 1 Oct 2021 02:09:29 +0200 (CEST) Received: from right.am.freescale.net (right.am.freescale.net [10.81.116.142]) by usphx01srsp001v.us-phx01.nxp.com (Postfix) with ESMTP id C47CB40A55; Thu, 30 Sep 2021 17:09:28 -0700 (MST) From: Li Yang To: Shawn Guo , Rob Herring , devicetree@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, Michael Ellerman , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: Li Yang Subject: [PATCH 0/5] convert ifc binding to yaml and drop "simple-bus" Date: Thu, 30 Sep 2021 19:09:19 -0500 Message-Id: <20211001000924.15421-1-leoyang.li@nxp.com> X-Mailer: git-send-email 2.25.1.377.g2d2118b MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert the ifc binding to yaml schema, in the mean while remove the "simple-bus" compatible from the binding to make sure ifc device probes before any of the child devices. Update the driver and existing DTSes accordingly. DTS changes should be merged together with the driver/binding changes if DTS maintainer is ok with it or after the driver changes are applied. Li Yang (5): dt-bindings: memory: fsl: convert ifc binding to yaml schema memory: fsl_ifc: populate child devices without relying on simple-bus ARM: dts: ls1021a: remove "simple-bus" compatible from ifc node arm64: dts: remove "simple-bus" compatible from ifc node powerpc/mpc85xx: remove "simple-bus" compatible from ifc node .../bindings/memory-controllers/fsl/ifc.txt | 82 ----------- .../bindings/memory-controllers/fsl/ifc.yaml | 137 ++++++++++++++++++ arch/arm/boot/dts/ls1021a.dtsi | 2 +- .../arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 2 +- .../arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 2 +- .../arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 2 +- .../arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 2 +- arch/powerpc/boot/dts/fsl/b4si-post.dtsi | 2 +- arch/powerpc/boot/dts/fsl/bsc9131si-post.dtsi | 2 +- arch/powerpc/boot/dts/fsl/bsc9132si-post.dtsi | 2 +- arch/powerpc/boot/dts/fsl/c293si-post.dtsi | 2 +- arch/powerpc/boot/dts/fsl/p1010si-post.dtsi | 2 +- arch/powerpc/boot/dts/fsl/t1023si-post.dtsi | 2 +- arch/powerpc/boot/dts/fsl/t1040si-post.dtsi | 2 +- arch/powerpc/boot/dts/fsl/t2081si-post.dtsi | 2 +- arch/powerpc/boot/dts/fsl/t4240si-post.dtsi | 2 +- drivers/memory/fsl_ifc.c | 9 ++ 17 files changed, 160 insertions(+), 96 deletions(-) delete mode 100644 Documentation/devicetree/bindings/memory-controllers/fsl/ifc.txt create mode 100644 Documentation/devicetree/bindings/memory-controllers/fsl/ifc.yaml -- 2.25.1