From patchwork Tue Mar 16 05:04:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Schocher X-Patchwork-Id: 12141263 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=-22.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,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 5490EC433DB for ; Tue, 16 Mar 2021 05:07:08 +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 ECCDA6513D for ; Tue, 16 Mar 2021 05:07:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ECCDA6513D 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:References:In-Reply-To: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:List-Owner; bh=F60Uyg10AKLdKta63Y1UTn1LhJUlThZPvoI6CL1iqFs=; b=OIfP7y/urxh/mnA2aObdx1SVN 33XEhbbT2nRpamjAD0vbr9kXCcyLEBT3U0BMtrLOsg2JqxKEPpiZluDDi8PD292i3n1Aj3CnjBX7c Og9kF6w44PcOXBHys5xnyB9hl0Sen8PFJTMf/F/2H9uazQzzXsv81yN1X5znmJeoB2+c5IxNTzlz7 sqdDlaipYS0GmnrbOU5jUUjVgqd8b/1P9KMJLI10k9NiW7F2DIuJ0hk6ALSwXzED/DEnry+HIaFPK QH1/DgDbiRZyt1K2dqhEB0LvsfwqCqk07pSbuRH4B9Vp72YeALCzRYCvfJ6UUvR0nselCX74pgdqc J7+VayOzg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lM1tA-00HQUv-Op; Tue, 16 Mar 2021 05:05:04 +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 1lM1t5-00HQTG-Cz for linux-arm-kernel@lists.infradead.org; Tue, 16 Mar 2021 05:05:01 +0000 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4F01SB6GKsz1s2JH; Tue, 16 Mar 2021 06:04:58 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4F01SB62tPz1qqkp; Tue, 16 Mar 2021 06:04:58 +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 4M8Pouy6Rjhq; Tue, 16 Mar 2021 06:04:57 +0100 (CET) X-Auth-Info: MgJVh9t0iQp6+eAuzLjWjGXnNFk5kiTR/+59zVRnUR8= 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, 16 Mar 2021 06:04:57 +0100 (CET) Received: from pollux.denx.de (pollux [192.168.1.1]) by mail-internal.denx.de (Postfix) with ESMTP id 5FD7118531D; Tue, 16 Mar 2021 06:04:28 +0100 (CET) Received: by pollux.denx.de (Postfix, from userid 515) id 557371A0092; Tue, 16 Mar 2021 06:04:28 +0100 (CET) From: Heiko Schocher To: linux-spi@vger.kernel.org Cc: Heiko Schocher , linux-arm-kernel@lists.infradead.org, Ashish Kumar , Kuldeep Singh , Mark Brown , Shawn Guo , Yogesh Gaur , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] spi: fspi: enable fspi driver for on imx8mp Date: Tue, 16 Mar 2021 06:04:24 +0100 Message-Id: <20210316050425.1758778-2-hs@denx.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210316050425.1758778-1-hs@denx.de> References: <20210316050425.1758778-1-hs@denx.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210316_050459_725504_849E3615 X-CRM114-Status: GOOD ( 13.35 ) 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 add compatible entry in nxp_fspi driver for imx8mp. Signed-off-by: Heiko Schocher into own series as Kuldeep suggested and rebased against git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next 144c79ef33536 ("Merge tag 'perf-tools-fixes-for-v5.12-2020-03-07' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux") --- Changes in v3: - seperate spi changes from series: http://lists.infradead.org/pipermail/linux-arm-kernel/2021-March/643289.html Changes in v2: - work in comments from Marco add own compatible entry for imx8mp drivers/spi/spi-nxp-fspi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spi-nxp-fspi.c b/drivers/spi/spi-nxp-fspi.c index ab9035662717a..19ce4a854cc97 100644 --- a/drivers/spi/spi-nxp-fspi.c +++ b/drivers/spi/spi-nxp-fspi.c @@ -1151,6 +1151,7 @@ static int nxp_fspi_resume(struct device *dev) static const struct of_device_id nxp_fspi_dt_ids[] = { { .compatible = "nxp,lx2160a-fspi", .data = (void *)&lx2160a_data, }, { .compatible = "nxp,imx8mm-fspi", .data = (void *)&imx8mm_data, }, + { .compatible = "nxp,imx8mp-fspi", .data = (void *)&imx8mm_data, }, { .compatible = "nxp,imx8qxp-fspi", .data = (void *)&imx8qxp_data, }, { /* sentinel */ } }; From patchwork Tue Mar 16 05:04:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Schocher X-Patchwork-Id: 12141265 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=-22.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,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 5F046C433E0 for ; Tue, 16 Mar 2021 05:07:14 +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 EE5226513E for ; Tue, 16 Mar 2021 05:07:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EE5226513E 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:References:In-Reply-To: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:List-Owner; bh=hpcwAJ8G1vFlTVNlAiVeT8ppb4E2zK4b370hZbx9NfA=; b=ZaeEFI62XdpeNU9VvqqAL5/Hm M7T0ad68jPpQfF/MxptIi0qSsFAjjMSQQgb8oA1udrnLdOPobGvIHZMg/WZ7BROLhDrooiO4Uoc70 dQUkO1QTeTIgSTwZRYmKo0fImmeb6bFbnRWgJkW+tF8dZJAighe8lzyDLlh76CZdX8ushJXmjAkO1 MElwCLe+zyN5crpRiSu/0OlQhY3BZjNHLL0N2mn43cBDBj7IAclTL3pCJF7knpX3kpCIMuGD8Ef15 Jo1BMl1g0MZC8XoUGe03lH/TaR/SA0KSLYwnTnJmGqe9ynYznglvXk6xEsFzTrJ6KrkPoRcTetbsB tCddMslWQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lM1tW-00HQYT-HE; Tue, 16 Mar 2021 05:05:26 +0000 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lM1tR-00HQXC-Uv for linux-arm-kernel@lists.infradead.org; Tue, 16 Mar 2021 05:05:23 +0000 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4F01Sd3Dwpz1s2JH; Tue, 16 Mar 2021 06:05:21 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4F01Sd32d4z1qqkh; Tue, 16 Mar 2021 06:05:21 +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 B4hjS-siImDN; Tue, 16 Mar 2021 06:05:20 +0100 (CET) X-Auth-Info: K8D3W9TLd5BOM+cBrQaV7mr1IcN1fjdHPwSbh0PqVIY= 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, 16 Mar 2021 06:05:20 +0100 (CET) Received: from pollux.denx.de (pollux [192.168.1.1]) by mail-internal.denx.de (Postfix) with ESMTP id 2AD74185321; Tue, 16 Mar 2021 06:04:29 +0100 (CET) Received: by pollux.denx.de (Postfix, from userid 515) id 204921A0092; Tue, 16 Mar 2021 06:04:29 +0100 (CET) From: Heiko Schocher To: linux-spi@vger.kernel.org Cc: Heiko Schocher , linux-arm-kernel@lists.infradead.org, Ashish Kumar , Kuldeep Singh , Mark Brown , Rob Herring , Shawn Guo , Yogesh Gaur , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] dt-bindings: spi: add compatible entry for imx8mp in FlexSPI controller Date: Tue, 16 Mar 2021 06:04:25 +0100 Message-Id: <20210316050425.1758778-3-hs@denx.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210316050425.1758778-1-hs@denx.de> References: <20210316050425.1758778-1-hs@denx.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210316_050522_063784_7AF003BF X-CRM114-Status: GOOD ( 11.68 ) 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 add compatible entry "nxp,imx8mp-fspi" in NXP FlexSPI controller Signed-off-by: Heiko Schocher --- Changes in v3: - no changes, rebased against git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next 144c79ef33536 Merge tag 'perf-tools-fixes-for-v5.12-2020-03-07' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux Documentation/devicetree/bindings/spi/spi-nxp-fspi.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/spi/spi-nxp-fspi.txt b/Documentation/devicetree/bindings/spi/spi-nxp-fspi.txt index 7ac60d9fe3571..fd5f081f6d91b 100644 --- a/Documentation/devicetree/bindings/spi/spi-nxp-fspi.txt +++ b/Documentation/devicetree/bindings/spi/spi-nxp-fspi.txt @@ -4,6 +4,7 @@ Required properties: - compatible : Should be "nxp,lx2160a-fspi" "nxp,imx8qxp-fspi" "nxp,imx8mm-fspi" + "nxp,imx8mp-fspi" - reg : First contains the register location and length, Second contains the memory mapping address and length