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: 9127897 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 6B5FA6048B for ; Thu, 19 May 2016 15:49:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5F03B280BB for ; Thu, 19 May 2016 15:49:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 53CE7281D1; Thu, 19 May 2016 15:49:49 +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 19C4F281CE for ; Thu, 19 May 2016 15:49:49 +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 1b3QBC-0007fo-KN; Thu, 19 May 2016 15:48:06 +0000 Received: from mail-pa0-f67.google.com ([209.85.220.67]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b3QB8-0007bn-Ot; Thu, 19 May 2016 15:48:03 +0000 Received: by mail-pa0-f67.google.com with SMTP id gh9so8268295pac.0; 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=AFnlOMDEh67mG82uNhp4oEP5I4/usAQEdUCJwFtb3v6vP+2p7BbGTEL84qYGCgSxig ymLX48TK19OThskHwkoJBJeLI/mEsgIMZQ/8zqj23jg2uBXXN1oWCLnKhIxbjkjqCyPv w6Ji9PEUVN2TLgvmoIW9pKvPDcyGgyMpFRZUdHopjSTm46TQkaWh73dV4mzvghphIB7p VygrmWHCefuNQLuU9hVt3xD5Db4TONT3jrlOGTv3W5Iu5O8n6gLVGLmzPlBMWGpf5ACO 12RW9WEWY/Len+3+iW7bdPeLZnqhmoQebFIkPATXAAfgMefcxq1VCVLcpCk6E3thCqYz IvKQ== X-Gm-Message-State: AOPr4FVdDYN7+CiIgQVGpp1A5FEJYbkNbFcs/WZDWhYqOjp+BiExYy6IbSQixl/wCvTIsQ== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160519_084802_845793_B2355FED X-CRM114-Status: GOOD ( 10.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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 --- 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", }, { }, };