From patchwork Thu May 19 15:47:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 9127877 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 F38B460453 for ; Thu, 19 May 2016 15:47:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E6CC0281C3 for ; Thu, 19 May 2016 15:47:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D9D94281D1; Thu, 19 May 2016 15:47:53 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 66164281BD for ; Thu, 19 May 2016 15:47:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754412AbcESPrn (ORCPT ); Thu, 19 May 2016 11:47:43 -0400 Received: from mail-pa0-f67.google.com ([209.85.220.67]:34440 "EHLO mail-pa0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754327AbcESPrm (ORCPT ); Thu, 19 May 2016 11:47:42 -0400 Received: by mail-pa0-f67.google.com with SMTP id yl2so8249123pac.1; Thu, 19 May 2016 08:47:42 -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=F1lckEIWzYx9bn0sxd/TG1dfRDrozy8CurzfQuBh2Sc=; b=mv1pBmM/CM3Qm+8bwOJn2pubD+sFnJIuGwfl760S7AkmMENFPjkg3bqSS7nAGu1j+Z R02ZIe8IcVfkGx71u0krWKBx6lVA47h4su3WFfqtZrYw5IAjjddCCk7OjDPO90coDTEW 7CS69j4djkXNcsbtZReSvQ1b0LvueQ6PBNjZ4Opp6k3jMF8P4vlp6pzoueXpLVeRFt3A 6JkpcpTc0EPxilFKcV0W7MplMO3iP0uGkPDfEQPJMJ0P/deM3rUkRF5zNPYLTXByqoTU +ud2blyHMGZzN68hAOtBkOxZnDvML6imlfoeZRIWXfwoq9YvSI5QyXQAZyQuHphrFo1C boxQ== X-Gm-Message-State: AOPr4FXsbsSASHNo7dTCt4zMLNUliv63yUER+kkUxh5fnGNStfIJWducM4r1f5vSh7JtrA== X-Received: by 10.66.84.74 with SMTP id w10mr885698pay.140.1463672861974; Thu, 19 May 2016 08:47:41 -0700 (PDT) Received: from localhost.localdomain ([104.37.5.161]) by smtp.gmail.com with ESMTPSA id e7sm20806518pfa.28.2016.05.19.08.47.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 19 May 2016 08:47:37 -0700 (PDT) From: Caesar Wang To: Heiko Stuebner , Mark Brown Cc: linux-rockchip@lists.infradead.org, Caesar Wang , linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/3] spi/rockchip: add the rk3036/rk3228/rk3368 to match for driver Date: Thu, 19 May 2016 23:47:03 +0800 Message-Id: <1463672824-15367-2-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1463672824-15367-1-git-send-email-wxt@rock-chips.com> References: <1463672824-15367-1-git-send-email-wxt@rock-chips.com> Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.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 --- 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", }, { }, };