From patchwork Tue Nov 16 21:18:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Li X-Patchwork-Id: 12692794 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 906ECC433EF for ; Tue, 16 Nov 2021 21:20:18 +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 5654061BBD for ; Tue, 16 Nov 2021 21:20:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5654061BBD 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=PwzXrRUR2WmgqRYpAbvWDxbYSqaydQ99jeq77y4YSWc=; b=QK2tQE73kqRYuV jFQMolvtg2brmHgr39aTuU5fpnPHafLyjSuNm+VRCPxeguO3s3ojIL1f6HaPdLOGeC2IqFGBqIx1w GPhbwr618/jZj8P4oUCFcHwaiPq1eCl6HpQlkXxDBOnZFnygveLiPiuZsg/u4/5PPKJ76SnkaIBfa uamHcxXxYVr4o86RTbM1tDxtWv+ipXCy0epjsohaKVtgHFYLTnvo1yWSmPblm11rAs+eUvlqtgJW1 1kPJgR6yL3W2Eb0c0XXHh5vWYdHQoaW5VJ+428UEnutFFTxpwCi8rTr3I1LTy+bbx7E/pZWCSRUax KI1P3g8mDQ+7bmNP5gzQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mn5qz-002mVg-OG; Tue, 16 Nov 2021 21:18:57 +0000 Received: from inva021.nxp.com ([92.121.34.21]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mn5qv-002mTo-6V for linux-arm-kernel@lists.infradead.org; Tue, 16 Nov 2021 21:18:54 +0000 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 142782000B7; Tue, 16 Nov 2021 22:18:50 +0100 (CET) Received: from smtp.na-rdc02.nxp.com (usphx01srsp001v.us-phx01.nxp.com [134.27.49.11]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id C89A120007D; Tue, 16 Nov 2021 22:18:49 +0100 (CET) Received: from right.am.freescale.net (right.am.freescale.net [10.81.116.142]) by usphx01srsp001v.us-phx01.nxp.com (Postfix) with ESMTP id E6FDA40BD3; Tue, 16 Nov 2021 14:18:48 -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 v3 0/2] convert ifc binding to yaml and drop "simple-bus" Date: Tue, 16 Nov 2021 15:18:44 -0600 Message-Id: <20211116211846.16335-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-20211116_131853_401594_559E5A38 X-CRM114-Status: UNSURE ( 9.42 ) 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 v3: - Rebased to v5.16-rc1 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