Message ID | 20230327211351.686831-1-mmkurbanov@sberdevices.ru |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1803733vqo; Mon, 27 Mar 2023 14:38:04 -0700 (PDT) X-Google-Smtp-Source: AKy350Y86i/D3nWL2MIkg/ZV49gDx7BTgLJ1IkdWYHLIzkZreuvB9Y/R6eRjLz0/q6204rQdpFjE X-Received: by 2002:a05:6402:cd:b0:502:26b7:7a44 with SMTP id i13-20020a05640200cd00b0050226b77a44mr9936022edu.1.1679953083958; Mon, 27 Mar 2023 14:38:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679953083; cv=none; d=google.com; s=arc-20160816; b=CokiP0nzqypiq8vbgBi6EjeBwo6eYeAwQjiFlnYSbLcynMUl5eDZi2bLQ8y31OtMBF lxNlLEzvMPWAqOBS/olNngSEiQIlD19LT5LUy7iVFhDSeLkmcF39yj1RvPwTKscEpRNW 05n6so56VMIB2xk4cPDA1I1pBXXKPluwIgYufIz1YE5aVGINIn4u4pM5MnILLwKI7bDE NR5eWoFJsDhJ1iY7YazNsq6Why2csPIaQor2zrRExj3osGJVUEqhukKSC50fLEhdu+YZ dbP49WpHPlxRfHmaXxVEadE+0WffgFwDfFz+Rk4xIO/lMJ+2+EmdQ9UwulUMewg4jBmr 1j9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=9ycbOjNYWPGPuemVUaFLexVP6yqoiw6Ms1b3Do67mQ0=; b=SZL3/gQMyzPHTwQkwkHhgZbWE5XDSzg055A2X1dgYHgDvsoK2zKvppfU95q/qLN0nn NPNZLofsWPIuLSPgKj2jILoa+seKRr1x/q5sCAirNq2kKbpuCZz1xBhVEiZDvHvt17RH cDRkVYjsveobmukBL4oUvdm8SdMVkdTnrkdziCT5pKkMNARBoVD8fDCtnR0CYCu8xNqp KUHJXdC1P7x2zZgse34KF+DXP6OStDIW/S5zh1HG1vd04PI+wr2z5Td9gCoQ75+1enca LXyBUZJKcdbsuGxa3sCUrPRlRDb59uxi8uBsl9EvYIxNASnvFsJZm/dfFey1tcyNjolK IBAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=XkFSNLxA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sberdevices.ru Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b24-20020aa7cd18000000b004fc1abc1672si28482137edw.38.2023.03.27.14.37.40; Mon, 27 Mar 2023 14:38:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=XkFSNLxA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sberdevices.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232071AbjC0VOo (ORCPT <rfc822;kartikey406@gmail.com> + 99 others); Mon, 27 Mar 2023 17:14:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231133AbjC0VOm (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 27 Mar 2023 17:14:42 -0400 Received: from mx.sberdevices.ru (mx.sberdevices.ru [45.89.227.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 087A21703; Mon, 27 Mar 2023 14:14:39 -0700 (PDT) Received: from s-lin-edge02.sberdevices.ru (localhost [127.0.0.1]) by mx.sberdevices.ru (Postfix) with ESMTP id 010175FD07; Tue, 28 Mar 2023 00:14:37 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1679951677; bh=9ycbOjNYWPGPuemVUaFLexVP6yqoiw6Ms1b3Do67mQ0=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=XkFSNLxAWgQqGYBJ7Mu52Y2xhMANMpt/ZCoW6X3J2mfoB2wcx/Ij1ZSvdo/tXOKcA zZtEmisEr2qhIkNyTYLPtmuKuZ4Fxj3Q/YQoacdFu7Y1cj0EIv+GTef92M+0590/N6 Wlyjj9VKd2L4144Qiwi8KoGw4KJaaGoUp2BI+2YqO1XEynS6goKuMhRec3bF/u3GRt EgiRywFDIHpLLbsaKtuhXrFvaBHH6NuLteYAKlhLOHHLKfylFBNb8IwXzt2GNkAcvA bCeGR683yVEEu5PDpW93b6aYB0iwMPY/CMAzqchLd9nuCEeOr18GNWkhFbtUXM5Mji 9ROO5beEKSl2Q== Received: from S-MS-EXCH01.sberdevices.ru (S-MS-EXCH01.sberdevices.ru [172.16.1.4]) by mx.sberdevices.ru (Postfix) with ESMTP; Tue, 28 Mar 2023 00:14:36 +0300 (MSK) From: Martin Kurbanov <mmkurbanov@sberdevices.ru> To: Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Neil Armstrong <neil.armstrong@linaro.org>, Kevin Hilman <khilman@baylibre.com>, Jerome Brunet <jbrunet@baylibre.com>, Martin Blumenstingl <martin.blumenstingl@googlemail.com> CC: <linux-spi@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-amlogic@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <kernel@sberdevices.ru>, Martin Kurbanov <mmkurbanov@sberdevices.ru> Subject: [PATCH v2 0/2] add support for Meson A1 SPI Flash Controller Date: Tue, 28 Mar 2023 00:13:49 +0300 Message-ID: <20230327211351.686831-1-mmkurbanov@sberdevices.ru> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.16.1.6] X-ClientProxiedBy: S-MS-EXCH02.sberdevices.ru (172.16.1.5) To S-MS-EXCH01.sberdevices.ru (172.16.1.4) X-KSMG-Rule-ID: 4 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Status: not scanned, disabled by settings X-KSMG-AntiSpam-Interceptor-Info: not scanned X-KSMG-AntiPhishing: not scanned, disabled by settings X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 1.1.2.30, bases: 2023/03/27 19:06:00 #21018749 X-KSMG-AntiVirus-Status: Clean, skipped X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761558485374430471?= X-GMAIL-MSGID: =?utf-8?q?1761558485374430471?= |
Series |
add support for Meson A1 SPI Flash Controller
|
|
Message
Martin Kurbanov
March 27, 2023, 9:13 p.m. UTC
This patchset introduces DT bindings and driver for the Amlogic Meson A1 SPI flash controller (A113L SoC). The existing spi-meson-spifc driver is incompatible with the A1 SPIFC at all. The implementation has been tested on the Amlogic A113L SoC based device connected with ESMT F50L1G41LB spinand flash. This patchset has dependencies on the A1 clock series which is still under review [1]. Changelog: v2 since v1 at [2]: - Make cosmetic changes Links: [1] https://lore.kernel.org/all/20230321193014.26349-1-ddrokosov@sberdevices.ru/ [2] https://lore.kernel.org/all/20230322150458.783901-1-mmkurbanov@sberdevices.ru/ Martin Kurbanov (2): dt-bindings: spi: add Amlogic Meson A1 SPI controller spi: add support for Meson A1 SPI Flash Controller .../bindings/spi/amlogic,meson-a1-spifc.yaml | 42 ++ drivers/spi/Kconfig | 7 + drivers/spi/Makefile | 1 + drivers/spi/spi-meson-spifc-a1.c | 453 ++++++++++++++++++ 4 files changed, 503 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/amlogic,meson-a1-spifc.yaml create mode 100644 drivers/spi/spi-meson-spifc-a1.c -- 2.40.0