From patchwork Tue Nov 20 08:41:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leilk Liu X-Patchwork-Id: 10690829 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7B3AD13BF for ; Tue, 20 Nov 2018 16:50:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 66011295CE for ; Tue, 20 Nov 2018 16:50:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 58D8B2ABC4; Tue, 20 Nov 2018 16:50:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0C3092AB71 for ; Tue, 20 Nov 2018 16:50:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=v0oeEjYjcd/Q/SSA6IKotqajiNhYkk1d19xI6noWmNE=; b=unY5VIMRWUlq+p HfbxcB0N3aJW5ZevcyR0UAvi0/VvnO0OLHDcEzYvFpY6WhfE+rk5IzDG02lm8tToKRWSK2B4RItcA Bpa8/itYe3PKMLCcttFzn8GnK+wDnw1TZKP06xshOIpOw9ZYwXkzIGrwR3ee/utXZh0JiwX/T3t/j s3nZki2o65Mu77Yc0qzHfZAte+gkYYbxGtoE413D2W7Kh+e4iKQcPmfAqsiXCxMSpYaVCc5MKpFGo y5DPY2NRQ1q0pUWacHatCJsAuHPKfn9KL/2B8wmBrKtvbVXMppgkZoSagBcr2FAC4Pcn08Q9OIt+o 4AG0oibO++F4W8NtDKOQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gP9Dt-000149-9C; Tue, 20 Nov 2018 16:50:01 +0000 Received: from merlin.infradead.org ([205.233.59.134]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gP8HH-0003nl-1s; Tue, 20 Nov 2018 15:49:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=JqFk2J+d9hRwEYIb2M5iSBUf46petq6cu0MpBJys/AU=; b=LUsJ8RSOA56q1zcqdsnvZ0Krf 1SrT8C6sdagjm5MURJ48dpjWBlMAqu2QsUDeQE1Fl0QqsaDNXLNjRHawne6R7l0uew/cPrIolptay sSOnFDS7YsI65nLhucd6K+mQ377/eX7f4pnkPUWJk1iM69g3FrUpzzexfrZcJHIChvOBMTB9pbNE5 YQgof5zCPQoKUv6EBnPQO9Y1Jcs2Z9l/JbyCgaj1G3ocpeYjdIu0jfwtuCxL6vuU3SI9vvdLXaGu/ 4ofAOBnlNEXaWzDaF98WIis4GAPwXiD4+q5waB+xGw3CWzePoNJpVF1eOZ9Lm7HkwAB5QaXwcR++r 73Be4jQIA==; Received: from [210.61.82.183] (helo=mailgw01.mediatek.com) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gP1bJ-0005PD-85; Tue, 20 Nov 2018 08:41:42 +0000 X-UUID: e9b41163dc85464896f2324195fe21ba-20181120 X-UUID: e9b41163dc85464896f2324195fe21ba-20181120 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1561419167; Tue, 20 Nov 2018 16:41:19 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 20 Nov 2018 16:41:19 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Tue, 20 Nov 2018 16:41:19 +0800 From: Leilk Liu To: Mark Brown Subject: [PATCH 1/2] spi: mediatek: Add bindings for mediatek MT7629 soc platform Date: Tue, 20 Nov 2018 16:41:07 +0800 Message-ID: <1542703268-17285-2-git-send-email-leilk.liu@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1542703268-17285-1-git-send-email-leilk.liu@mediatek.com> References: <1542703268-17285-1-git-send-email-leilk.liu@mediatek.com> MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181120_034141_488592_86DED5E3 X-CRM114-Status: GOOD ( 12.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, ryder.lee@mediatek.com, Leilk Liu , linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-mediatek@lists.infradead.org, Matthias Brugger , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds a DT binding documentation for the MT7629 soc. Signed-off-by: Leilk Liu --- .../devicetree/bindings/spi/spi-mt65xx.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/spi/spi-mt65xx.txt b/Documentation/devicetree/bindings/spi/spi-mt65xx.txt index 7940940..6cc4e87 100644 --- a/Documentation/devicetree/bindings/spi/spi-mt65xx.txt +++ b/Documentation/devicetree/bindings/spi/spi-mt65xx.txt @@ -6,6 +6,7 @@ Required properties: - mediatek,mt2712-spi: for mt2712 platforms - mediatek,mt6589-spi: for mt6589 platforms - mediatek,mt7622-spi: for mt7622 platforms + - mediatek,mt7629-spi: for mt7629 platforms - mediatek,mt8135-spi: for mt8135 platforms - mediatek,mt8173-spi: for mt8173 platforms - mediatek,mt8183-spi: for mt8183 platforms From patchwork Tue Nov 20 08:41:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leilk Liu X-Patchwork-Id: 10690667 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BF64613BB for ; Tue, 20 Nov 2018 16:07:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AD61F28535 for ; Tue, 20 Nov 2018 16:07:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A19D4285D6; Tue, 20 Nov 2018 16:07:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5CF0028535 for ; Tue, 20 Nov 2018 16:07:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GtLGkHGkqYb6kSce5xuzxUXgQOihx+OLDWmwILs+rVs=; b=ZzIFrgF61J3fGi Zm/cMZkyt7Y1p12h82Q1Yatugcct6ToGmZhNWO+MIDVPoxO5t5Oi4W4yN7cQ5THnNMaCBywo7r558 MGmY99FYwFBM6B9TDbECy7pBCzl6HWKpWoAmrtYYm8rzW6bOGcK02tokEuPaKBxtPx5KGXVEP2CDl MqX4CkF0hrprynoqG0/P+0mgX8rgzhr3Jf/DxBaOgkVLxLrVwKHLndbtcjVwyFt6OB1UW4NOiuXVE qo3Sky2Ex1w3yKDOv8r3kK8YQB9N5HAyb+TFzI+mK97eWeUGL6Q3gYQizrefM/GsN+tABfUkb20y+ JsUtgrNG0lv8v+H4+WWw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gP8Z2-00061u-27; Tue, 20 Nov 2018 16:07:48 +0000 Received: from merlin.infradead.org ([205.233.59.134]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gP8HG-0003nl-GP; Tue, 20 Nov 2018 15:49:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=LhE54zBpPBWhiz++p7sVosbhEGWdmhYUqRYkm0aoTog=; b=VFixYpQsxJ+eOxxFU9uJQEvI1 ScFH97F9aAiPrJP+H4TvcgQY6XMdU8m6LkXxMczI/qjlnN5bCiX0R77R3lapCGPGtW2a4PgeDIKU3 P6bCannBbisys1zKQeO9TWbJez9ie9lb474vVVa5q/HFoTTe4UCdf5X1qx0GiBew/hseWa69j4aYO L6sgeTsecbwQbotutZYL1FxeB8j7k4YS2ORBGdEIP5h4ht9AwF6eALUNnpnMjjH9TDENB3K+BcFLs B5OFt2QSoFDhTyG0gAHD9o/6FnHSUE1CfWOlo1MIS6IZ/FqWq0J/IR8HBYMG4JBk2P9yxBu9RtBb0 1sATKg44g==; Received: from [210.61.82.184] (helo=mailgw02.mediatek.com) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gP1bR-0005PS-IP; Tue, 20 Nov 2018 08:41:51 +0000 X-UUID: a54d9fbaedaf493ea6a6b8681cbaa759-20181120 X-UUID: a54d9fbaedaf493ea6a6b8681cbaa759-20181120 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1084760431; Tue, 20 Nov 2018 16:41:21 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 20 Nov 2018 16:41:19 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Tue, 20 Nov 2018 16:41:19 +0800 From: Leilk Liu To: Mark Brown Subject: [PATCH 2/2] spi: mediatek: add spi support for mt7629 IC Date: Tue, 20 Nov 2018 16:41:08 +0800 Message-ID: <1542703268-17285-3-git-send-email-leilk.liu@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1542703268-17285-1-git-send-email-leilk.liu@mediatek.com> References: <1542703268-17285-1-git-send-email-leilk.liu@mediatek.com> MIME-Version: 1.0 X-TM-SNTS-SMTP: 68E0F87AC409F1EA6BA353B54B3689FD60755CC7D820C4B4603075DDA6B0E4C02000:8 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181120_034149_827262_4C93C11A X-CRM114-Status: GOOD ( 13.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, ryder.lee@mediatek.com, Leilk Liu , linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-mediatek@lists.infradead.org, Matthias Brugger , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP this patch add support for mt7629 IC. Change-Id: Icb8ced408ebd1340fb0340592b91f24740d07e1e Signed-off-by: Leilk Liu --- drivers/spi/spi-mt65xx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c index 9ee1fe9..0cce6f0 100644 --- a/drivers/spi/spi-mt65xx.c +++ b/drivers/spi/spi-mt65xx.c @@ -150,6 +150,9 @@ struct mtk_spi { { .compatible = "mediatek,mt7622-spi", .data = (void *)&mt7622_compat, }, + { .compatible = "mediatek,mt7629-spi", + .data = (void *)&mt7622_compat, + }, { .compatible = "mediatek,mt8135-spi", .data = (void *)&mtk_common_compat, },