From patchwork Tue Mar 16 07:59:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Schocher X-Patchwork-Id: 12141387 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 5E897C433E0 for ; Tue, 16 Mar 2021 08:02:04 +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 F154560240 for ; Tue, 16 Mar 2021 08:02:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F154560240 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=0MKZRA3RLt9oRtK7+VaFBnWE+P1t7XUEa+wh0UidSRM=; b=m8MR+SdtdCoMfHABfYCoEUTBt hdVSZNUESaCy2gA783iuLK5K7nHWxllrB/TU6Ub3T9MkxCH52oF7H7vKpY9Btsj0YHDdEyyTH63pk EF01KFbw/rCQ04gW40RBIVCWSntEd4rh5vbtMP9I0hzZVnbeiHBrBc16C17CyK4qjlBZy/b1vO94N KKSivMt1QjOZJGHSBWpxBuUA8k6h5b3za6MCsmkLTTqb4TrL4paD1SW6ULKQNdGAzYbhLoRGHEppV 0rT/hOGTCLb1ptKGNGavfN0cUNTMyCK4zExmFckbP4m3FLCEDnPBALfKJnqBqXY2m8U2vJ7KgYi5U jmR+VhyUQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lM4co-0003Du-SU; Tue, 16 Mar 2021 08:00:23 +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 1lM4cX-00038S-0N for linux-arm-kernel@lists.infradead.org; Tue, 16 Mar 2021 08:00:07 +0000 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4F05LC55ZJz1sHpy; Tue, 16 Mar 2021 09:00:03 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4F05LC4vltz1qqkL; Tue, 16 Mar 2021 09:00:03 +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 YKwxfKvQYa62; Tue, 16 Mar 2021 09:00:02 +0100 (CET) X-Auth-Info: hhJuIVY/cMfuXXO5m22Ew7cuhrjHArj4Njkw6l1tXnQ= 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 09:00:02 +0100 (CET) Received: from pollux.denx.de (pollux [192.168.1.1]) by mail-internal.denx.de (Postfix) with ESMTP id 5F04918531D; Tue, 16 Mar 2021 08:59:31 +0100 (CET) Received: by pollux.denx.de (Postfix, from userid 515) id 546D61A0092; Tue, 16 Mar 2021 08:59:31 +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 v2 1/2] spi: fspi: enable fspi driver for on imx8mp Date: Tue, 16 Mar 2021 08:59:27 +0100 Message-Id: <20210316075928.1763460-2-hs@denx.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210316075928.1763460-1-hs@denx.de> References: <20210316075928.1763460-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_080005_416089_B8EEE636 X-CRM114-Status: GOOD ( 13.59 ) 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 --- Changes in v4: rebased against: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next a43e89624baea ("Merge remote-tracking branch 'spi/for-5.13' into spi-next") Changes in v3: - seperate spi changes from series: http://lists.infradead.org/pipermail/linux-arm-kernel/2021-March/643289.html 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 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 ed1e888c7ece4..6e6c2403944dd 100644 --- a/drivers/spi/spi-nxp-fspi.c +++ b/drivers/spi/spi-nxp-fspi.c @@ -1242,6 +1242,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, }, { .compatible = "nxp,imx8dxl-fspi", .data = (void *)&imx8dxl_data, }, { /* sentinel */ } From patchwork Tue Mar 16 07:59:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Schocher X-Patchwork-Id: 12141389 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 03409C433E0 for ; Tue, 16 Mar 2021 08:02:59 +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 708BE64F77 for ; Tue, 16 Mar 2021 08:02:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 708BE64F77 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=VGEydiQ2OptTLRdgxSIF76Y7OLWwU+ATaRRTuvon0Zk=; b=rbGG5RdNNi22JHR9c5P6ItHRX e6yEg/OJYG5n57qqA8vKBDg0C9+1MMYWg3WxUV5qBnXgRJvpPEHBMrCig5YNTuUbLurgQ9Pn4hkFH yqkMxG1XnzRCmAeNHNGfbfgCZo+sQAXQoTZhXrZso87elm8QDoD+NX4+vsUqYybU7nk+u6izFdiSC bcQ+U0AoY6nKnSa8RTbPu/+rqXbyxQI28XTzbc6cQlLRp8S514TykpUKRR/A11KFju+wR0zpW6pSA xbO9JrtVV6EotBdiA9XGFHc98p5Ynk4U9YuTpsKAgofUgsoqt4TVKGO6Hyp5WUVtDlYuc7fwt474N fOD+JWu5A==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lM4db-0003Uc-98; Tue, 16 Mar 2021 08:01:11 +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 1lM4ct-0003F9-G3 for linux-arm-kernel@lists.infradead.org; Tue, 16 Mar 2021 08:00:29 +0000 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4F05Lg1ZnCz1sHpy; Tue, 16 Mar 2021 09:00:27 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4F05Lg1HG6z1qqkj; Tue, 16 Mar 2021 09:00:27 +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 6Gomc4QHBOg9; Tue, 16 Mar 2021 09:00:26 +0100 (CET) X-Auth-Info: 1t80XNarXN3J7JSS3nrN5fbAaicRY4rr3WrhtaBIL6Q= 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 09:00:26 +0100 (CET) Received: from pollux.denx.de (pollux [192.168.1.1]) by mail-internal.denx.de (Postfix) with ESMTP id 4DB33185321; Tue, 16 Mar 2021 08:59:32 +0100 (CET) Received: by pollux.denx.de (Postfix, from userid 515) id 431AC1A0092; Tue, 16 Mar 2021 08:59:32 +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 v2 2/2] dt-bindings: spi: add compatible entry for imx8mp in FlexSPI controller Date: Tue, 16 Mar 2021 08:59:28 +0100 Message-Id: <20210316075928.1763460-3-hs@denx.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210316075928.1763460-1-hs@denx.de> References: <20210316075928.1763460-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_080027_656448_11C3ED07 X-CRM114-Status: GOOD ( 11.23 ) 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 v4: rebased against: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next a43e89624baea ("Merge remote-tracking branch 'spi/for-5.13' into spi-next") 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 df178d1b62e67..8f34a7c7d8b84 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" "nxp,imx8dxl-fspi" - reg : First contains the register location and length,