From patchwork Fri Oct 15 00:57:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Li X-Patchwork-Id: 12559633 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F41A7C433F5 for ; Fri, 15 Oct 2021 00:58:57 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B8F12610FF for ; Fri, 15 Oct 2021 00:58:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org B8F12610FF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=hSVc/PG+K6KfswOjwI4Vxe4WJoQ8Fe1+pcKXuiRCrQE=; b=NB4ls0NkDm7Gst 1NZlv3K6rZgukrhl/cALbES7WfL9Pmfq+NXbFJld6R5cVIScfRGBKD2NUnf5ONnKIOY8gQINzAPuG szxRj6bgZ2h1RfJK+k+vd/Pz5OwRDqLEF056wFP4evHpvYLDhEiEdkeejiFvDZWfn5pEGkMDjezqB /YvLaKM8qPel4Jm3OVa5P7Wk9rpX0OacEjn6LrDhdz+4N8JKIH6QHEcoHrBOlqfzP/nW5GywTPPuJ sEacddIccMmw5S0368eBp1VD+TJ8aviNNHph1uz1EcpVlTQ0KKw7FE0N3GWEyNTI8po3Gcmcse6BI Vm93ZxEISuGT3YasrcQw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mbBXc-004qdB-SI; Fri, 15 Oct 2021 00:57:45 +0000 Received: from inva020.nxp.com ([92.121.34.13]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mbBXI-004qQK-8v for linux-arm-kernel@lists.infradead.org; Fri, 15 Oct 2021 00:57:25 +0000 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 2B8011A0977; Fri, 15 Oct 2021 02:57:20 +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 E888C1A095D; Fri, 15 Oct 2021 02:57:19 +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 2A46340A85; Thu, 14 Oct 2021 17:57:19 -0700 (MST) From: Li Yang To: Rob Herring , devicetree@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Li Yang Subject: [PATCH v2 0/2] convert ifc binding to yaml and drop "simple-bus" Date: Thu, 14 Oct 2021 19:57:05 -0500 Message-Id: <20211015005707.1996-1-leoyang.li@nxp.com> X-Mailer: git-send-email 2.25.1.377.g2d2118b MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211014_175724_533533_E4C0B8B2 X-CRM114-Status: UNSURE ( 8.72 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 accordingly. DTS changes should be submitted after binding/driver changes are merged. Changes in v2: - Update endian property to type boolean - Remove example subnodes that don't have yaml binding - Spin DTS patches into a different series Li Yang (2): dt-bindings: memory: fsl: convert ifc binding to yaml schema memory: fsl_ifc: populate child devices without relying on simple-bus .../memory-controllers/fsl/fsl,ifc.yaml | 113 ++++++++++++++++++ .../bindings/memory-controllers/fsl/ifc.txt | 82 ------------- drivers/memory/fsl_ifc.c | 7 ++ 3 files changed, 120 insertions(+), 82 deletions(-) create mode 100644 Documentation/devicetree/bindings/memory-controllers/fsl/fsl,ifc.yaml delete mode 100644 Documentation/devicetree/bindings/memory-controllers/fsl/ifc.txt