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: 10690817 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 A651015A7 for ; Tue, 20 Nov 2018 16:48:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 94BE029613 for ; Tue, 20 Nov 2018 16:48:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 889D62967F; Tue, 20 Nov 2018 16:48:37 +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 51D3629613 for ; Tue, 20 Nov 2018 16:48:36 +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=G8cXNhODVlVPsIiFbXt7DJ+2nrtilqDDCynAjxgB/x8=; b=MutpY5KAmCPfvI JiFDlNVBpZ/Ub4BoRuV+SEx0c6urdUxbfm6Lcem4kojQbxWfCe3hQa+uSLs/GeX07hscveNupez4W ZccAr831vgDFm4ONAMwduhwV9ECKK60ziYltaWf01SZF5T66Tj/dHMk0wd0fIr5F5VNTXC2/kRo0F 4zqUqtzMlj4oI4EmWqFKyK2vXZGu5crjRj4GQES+krTKB+wICFzN3F9a/rlH3yfwg8TRY3Kmfxkpb v+cngyVf+szIZ7TOy1hUXFPCAkqnelyY5g/skGAXUcxLRRVKATyiW4ICP1na0iMTY+MjD1BuTzfbx LApaljngwaMykV39U6/A==; 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 1gP9CU-0007hH-UQ; Tue, 20 Nov 2018 16:48:34 +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-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=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: 10690709 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 B608513AD for ; Tue, 20 Nov 2018 16:17:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A398E28BF7 for ; Tue, 20 Nov 2018 16:17:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 96C3328CE8; Tue, 20 Nov 2018 16:17:47 +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 51A8F28BF7 for ; Tue, 20 Nov 2018 16:17:47 +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=Ha5ENNDkYBbnmddGr18pZ3JOqOrD4V/xkl93maz/t74=; b=Wn/5d1MjoHfZqE PtMLbXAo9W6H8l3WxMTWb2mkiVZG7WiJ326i1p13aNYLUREjUxZNVyk8UmNj1lhfON9XLzzf/LhJY 7ttV0aLtvDCDjpKao9jN7h0ugfYmVWTqqAnCin8/SQ/xiVqMp0jg0kIZ4z6ysA5eWJ4ccySYlPGjN Jd6QYuzC+fRwSsRSEXsASWBP24lJ+raOqvoDB98vIEotMoFKyRjGHvHuzP61oDqqsL0t9S7mN5aU4 k4yYpIDDrNn2FIaUT0dyDR3fE/anrwIF+8+b82oHeVdjSoCYdfS7iGKWmrWR+NLAcrDCUPfotrT2c q+LFl3PERIymkHojj4FQ==; 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 1gP8iY-0000dd-IV; Tue, 20 Nov 2018 16:17:38 +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-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=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, },