From patchwork Thu May 19 23:56:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 9128453 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 63E5F60213 for ; Thu, 19 May 2016 23:58:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 56A911FFCA for ; Thu, 19 May 2016 23:58:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4B7C120622; Thu, 19 May 2016 23:58:52 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D22131FFCA for ; Thu, 19 May 2016 23:58:51 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1b3Xq7-0005vY-JE; Thu, 19 May 2016 23:58:51 +0000 Received: from mail-pf0-f195.google.com ([209.85.192.195]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b3Xq5-0005qA-Pv; Thu, 19 May 2016 23:58:50 +0000 Received: by mail-pf0-f195.google.com with SMTP id 145so9554650pfz.1; Thu, 19 May 2016 16:58:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=vUm9NCFOIkXmn51kt1Q/xP6s0F1SjPHcHZj1S3pr4AE=; b=eVCIZndwRHpNi6pqZn33+Ob07SKEAMpuPFMrok8Fh5qHiw2SSJs69aUn6q0mWkEILY YIDoYjzyWSaQaiIwQ2/+UuNsF+UT3it8puBwQYlvD6FGP1Elf8b61cIwHQR5sbxSoaTE 2v7dN8iQvNxSK+N7NaN44K3dgCQzAL0awndfqJ4wYIG3J4wMmzfwzlUCjR/js+2CWhZJ 6/UQV5aBsxtTzXXoxa+yF3NwvW3VKQfpvChIJJLuKnjESBJbwkGoWIt0HlgmO4WoIj9E i/D7fquvJ8RXlql0jLZ49fRstMHr7ZDVZ649o8raJ3JzyRe9vwyH68NuPEj5YNwzpvUG RIkA== X-Gm-Message-State: AOPr4FUkChdSRI0MIRD7NMuxKjjyHCJFde3FggpaGta9VDXgr7MEajrczeuSiv1uI00VbA== X-Received: by 10.98.89.207 with SMTP id k76mr134410pfj.166.1463702308996; Thu, 19 May 2016 16:58:28 -0700 (PDT) Received: from localhost.localdomain ([104.37.5.136]) by smtp.gmail.com with ESMTPSA id b64sm22351386pfa.48.2016.05.19.16.57.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 19 May 2016 16:58:27 -0700 (PDT) From: Caesar Wang To: Heiko Stuebner , Mark Brown Subject: [PATCH v2 2/3] spi/rockchip: add the rk3036/rk3228/rk3368 to match for driver Date: Fri, 20 May 2016 07:56:21 +0800 Message-Id: <1463702182-5188-2-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1463702182-5188-1-git-send-email-wxt@rock-chips.com> References: <1463702182-5188-1-git-send-email-wxt@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160519_165849_908077_9ABE8554 X-CRM114-Status: UNSURE ( 9.78 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rockchip@lists.infradead.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Caesar Wang MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP In gerenal, the "rockchip,rockchip-spi" string will match the dts that's great in spi driver. After all the most of rockchip SoCs ar same spi controller. Then, we should keep the old style to match the dts various. Signed-off-by: Caesar Wang Cc: Mark Brown Cc: Heiko Stuebner Cc: linux-rockchip@lists.infradead.org --- Changes in v2: None drivers/spi/spi-rockchip.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/spi/spi-rockchip.c b/drivers/spi/spi-rockchip.c index 6c6c001..dd08b68 100644 --- a/drivers/spi/spi-rockchip.c +++ b/drivers/spi/spi-rockchip.c @@ -893,9 +893,12 @@ static const struct dev_pm_ops rockchip_spi_pm = { }; static const struct of_device_id rockchip_spi_dt_match[] = { + { .compatible = "rockchip,rk3036-spi", }, { .compatible = "rockchip,rk3066-spi", }, { .compatible = "rockchip,rk3188-spi", }, + { .compatible = "rockchip,rk3228-spi", }, { .compatible = "rockchip,rk3288-spi", }, + { .compatible = "rockchip,rk3368-spi", }, { .compatible = "rockchip,rk3399-spi", }, { }, };