From patchwork Tue Mar 9 05:31:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Schocher X-Patchwork-Id: 12124149 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ECAD4C43381 for ; Tue, 9 Mar 2021 05:33:23 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 706C66518A for ; Tue, 9 Mar 2021 05:33:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 706C66518A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; 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=N1VTeUfG+O4KuXofGZkHhEnu1YpOTFzhgliTv/PnClQ=; b=EpBiJO3uhwBOoNUhTmYGhDOMRv g6+GUrMhP2s8PN9VXZm2SOPDkxoSWdupUEiEoKJd44cLto+/J+pZKwmv4sW6bO5fU4T8ieFnYHB7B /FERrVKr7wbJAgnm9nwEhOkvmdB3mnCWrWhaW5Vs6XUrWVbEK/VTtXJdzQmNL1D7ESkzJJJ1PzIec fDTC+IAoIT5J43dyMH/FcXd9X7M57jtVArKatCT+9Ypf6Oty0w+opddDbnBQKVpU8fxjDGcXz6Hfq PlLH/XkU0jWW5w6OogAxMLpjuFOcDTq/i5ONroEJYs9RXlWQtiz1vbq3zsJ53rz/inb6uAnCajxLj /c+799Rw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lJUy1-003oRN-W0; Tue, 09 Mar 2021 05:31:38 +0000 Received: from mail-out.m-online.net ([212.18.0.10]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lJUxw-003oQY-Kt for linux-arm-kernel@lists.infradead.org; Tue, 09 Mar 2021 05:31:34 +0000 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4DvkN3741nz1ry9k; Tue, 9 Mar 2021 06:31:31 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4DvkN36rPsz1qqkn; Tue, 9 Mar 2021 06:31:31 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id JEW0aFEpPX5W; Tue, 9 Mar 2021 06:31:31 +0100 (CET) X-Auth-Info: tzb0oK1TC0wsoQZ7nY8IbfXMa6yWRJVZe8ajXHOYGoQ= Received: from mail-internal.denx.de (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Tue, 9 Mar 2021 06:31:31 +0100 (CET) Received: from pollux.denx.de (pollux [192.168.1.1]) by mail-internal.denx.de (Postfix) with ESMTP id 9E58A181BA1; Tue, 9 Mar 2021 06:31:18 +0100 (CET) Received: by pollux.denx.de (Postfix, from userid 515) id 775871A0092; Tue, 9 Mar 2021 06:31:18 +0100 (CET) From: Heiko Schocher To: linux-arm-kernel@lists.infradead.org Cc: Heiko Schocher , Alice Guo , Anson Huang , Ashish Kumar , Dong Aisheng , Fabio Estevam , =?utf-8?q?Horia_Geant=C4=83?= , Jacky Bai , Joakim Zhang , Krzysztof Kozlowski , Li Jun , Mark Brown , NXP Linux Team , Peng Fan , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , Teresa Remmet , Yogesh Gaur , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org Subject: [PATCH v2 0/4] enable flexspi support on imx8mp Date: Tue, 9 Mar 2021 06:31:12 +0100 Message-Id: <20210309053116.1486347-1-hs@denx.de> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210309_053132_810159_2658AEB4 X-CRM114-Status: GOOD ( 14.70 ) 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 This series enables support for the SPI NOR on the imx8mp based phyboard-pollux-rdk board. Patches new in v2: "spi: fspi: enable fspi driver for on imx8mp" which adds own compatible entry for imx8mp and seperate in own patch the documentation entry in patch "dt-bindings: spi: add compatible entry for imx8mp in FlexSPI controller" as checkpatch says: warning: DT binding docs and includes should be a separate patch. See: Documentation/devicetree/bindings/submitting-patches.rst Changes in v2: - work in comments from Marco add own compatible entry for imx8mp - work in comments from Marco - add own compatible entry "nxp,imx8mp-fspi" - reworked order of properties as Marco mentioned - work in comments from Marco and Teresa - rename node into "'som_flash: flash@0 { }" - compatible is now first entry - removed #size-cells and #address-cells as no child node. If bootloader adds them bootloader can add them too. Heiko Schocher (4): spi: fspi: enable fspi driver for on imx8mp dt-bindings: spi: add compatible entry for imx8mp in FlexSPI controller arm64: dts: imx8mp: add flexspi node arm64: imx8mp: imx8mp-phycore-som enable spi nor .../devicetree/bindings/spi/spi-nxp-fspi.txt | 1 + .../dts/freescale/imx8mp-phycore-som.dtsi | 25 +++++++++++++++++++ arch/arm64/boot/dts/freescale/imx8mp.dtsi | 16 ++++++++++++ drivers/spi/spi-nxp-fspi.c | 1 + 4 files changed, 43 insertions(+)