From patchwork Fri Feb 1 15:38:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 157248 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp584694jaa; Fri, 1 Feb 2019 07:39:05 -0800 (PST) X-Google-Smtp-Source: ALg8bN5KZd00Na+s65QvOZiBtj8oFNX9uanyacCKA3N3vcFM0rBHiDB8izMcmRJEM0VsOY/OaReh X-Received: by 2002:a17:902:bd4a:: with SMTP id b10mr40253325plx.232.1549035545431; Fri, 01 Feb 2019 07:39:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549035545; cv=none; d=google.com; s=arc-20160816; b=VNI1pVk8Kp4OU9+gkZYg0k4sncTfX7zPBG2LcwhLvGlelbc75i+qk8SjCtFxTtDE6T XAzF43baaQv0KVwgeQTghbG+h1dbjf3gxGv2qtY1PdnJpnUnY9YtQHzLxLlF1k+W56Bc /R4XjSO4Pnn7Teor7ASKYbRtpG9fst5salZml4opjD4cN8j6vBJMwnS29XncZJDyQsrO csQ2o8n7WQXi2U6gOv38GTRRNoTz2nXBDhgORK7rFn+EmSyI1+MF57VAQd53bECQ/v4r pCqHyzktlOiTJcbYI02+eo6nFuqW0VbNnda4V6jPlFj8IoLqie0pg2F1++6BmmlT35Ot iang== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=/eDFiU+7KNoLYdpw1NkuAhHQ88OLOmPVAtIDTQWvTdE=; b=KDtTmo5KH9Z8yA8rjRclGHqT5NkPw65hlYlp3oQ1wLgng9BpwpPn5iT5rfTj/pqWjr 4CbvU5iFGHceDypgvK7AYUFyzUMX9bfrrEUKlyZWIp5HuWpn3gJUqU2XIgKTTh0TI+MS YBz85ZDjjSrKY4uyOmwtgyhF7D+3woRQWVFlQASF4VJa2dL8uZtmtYhAEsYhl8BgkS/N 9GLfyA6Bmgsi2UnPZCGbsF4yIZES0YwrfQumDCRk2qECCgsI3Kk3+g4K8LsAbk5q3m4H 9Exii/nIzdUdrIUafwaLfzwvIGEfAufgb+IpwIVqx4w7FWFqzOVSVl92mlqDeO9nEgbV ldXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MbTYOZJv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j10si7558978pll.179.2019.02.01.07.39.05; Fri, 01 Feb 2019 07:39:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MbTYOZJv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730637AbfBAPjE (ORCPT + 31 others); Fri, 1 Feb 2019 10:39:04 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:40459 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730514AbfBAPjD (ORCPT ); Fri, 1 Feb 2019 10:39:03 -0500 Received: by mail-pl1-f193.google.com with SMTP id u18so3382069plq.7 for ; Fri, 01 Feb 2019 07:39:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/eDFiU+7KNoLYdpw1NkuAhHQ88OLOmPVAtIDTQWvTdE=; b=MbTYOZJvuRP6utRpezSOD/+w9RM8L9RrQYTDP7+H3mZbry+fDTp+hHmpgRqWsH0mRF ow0r1MF5zGmTc9TqnuAIc1+KwylQ6aV+8tCiEFl5UkKqOffRCG2Q/nBA3t9PQNh1k0pN 96/D4U46eE1N8zkqpifQss6UDUtgabGDnpozk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=/eDFiU+7KNoLYdpw1NkuAhHQ88OLOmPVAtIDTQWvTdE=; b=H38OMCemIJlShXsqeq+OmlcF2d/n7RsLtwFPZAVbNdvTwaDKNEBYnPcGw+GY5dcN6H jbFc+Ohzwee8v35MbDZ+KGRfoG+ZqCQx962wK8iNdamtYIIlElI0AJvZt1pAXjnhBN5J NW0ZdVjyleHPLfaim8p3WKMUK5o6MzOALikbq/HtBS9WJpbjhd8oGhtEEVNGAqB0eg2r gRriqcSNmn10kis1FTDInvl8w1ipQB5MD+hLcnCyyuvQSmIpE7M4VxwLVB9gaPil1B0E x3/c91+oi5qDM1e2/gpMVkPRN3hv93k6e3QfxmAjmbViR5Rkn+Ctf4knF8ttpA5N8idS 1JLw== X-Gm-Message-State: AJcUukcCm5YgvZhd2zliBNLuf+UCZq6TD8bOHEOkc6WW3MRAkzGwO7RF vQpKcq1x7MaZayGO39wPNPGeuYlo2Q== X-Received: by 2002:a17:902:7b91:: with SMTP id w17mr40015197pll.111.1549035542441; Fri, 01 Feb 2019 07:39:02 -0800 (PST) Received: from localhost.localdomain ([2405:204:7348:9f93:3db9:68de:e3db:c028]) by smtp.gmail.com with ESMTPSA id l22sm12350035pfj.179.2019.02.01.07.38.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Feb 2019 07:39:01 -0800 (PST) From: Manivannan Sadhasivam To: p.zabel@pengutronix.de, xuwei5@hisilicon.com, robh+dt@kernel.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, guodong.xu@linaro.org, Manivannan Sadhasivam Subject: [PATCH 1/3] dt-bindings: reset: Add HI3670 reset controller binding Date: Fri, 1 Feb 2019 21:08:39 +0530 Message-Id: <20190201153841.21903-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190201153841.21903-1-manivannan.sadhasivam@linaro.org> References: <20190201153841.21903-1-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org HI3670 SoC is architecturally same as the HI3660 SoC. Hence, the same driver is reused for HI3670 SoC and the binding is documented here. Signed-off-by: Manivannan Sadhasivam --- .../devicetree/bindings/reset/hisilicon,hi3660-reset.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.txt b/Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.txt index 2bf3344b2a02..5d60ec541331 100644 --- a/Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.txt +++ b/Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.txt @@ -5,11 +5,12 @@ Please also refer to reset.txt in this directory for common reset controller binding usage. The reset controller registers are part of the system-ctl block on -hi3660 SoC. +hi3660 and hi3670 SoCs. Required properties: -- compatible: should be +- compatible: should be one of the following: "hisilicon,hi3660-reset" + "hisilicon,hi3670-reset" - hisi,rst-syscon: phandle of the reset's syscon. - #reset-cells : Specifies the number of cells needed to encode a reset source. The type shall be a and the value shall be 2. From patchwork Fri Feb 1 15:38:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 157249 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp584782jaa; Fri, 1 Feb 2019 07:39:11 -0800 (PST) X-Google-Smtp-Source: AHgI3IZoBTi3aJF/K+pnH9A549DIwvw8sV7zUpc4BifDp40JxIhhDyVeo77xGQ3/h/uPlYHhbUtZ X-Received: by 2002:a63:2b01:: with SMTP id r1mr2690037pgr.432.1549035551113; Fri, 01 Feb 2019 07:39:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549035551; cv=none; d=google.com; s=arc-20160816; b=ABKj5P7QLybWsMD4oYEQ6sL8mEoTlvp0vuI80y789gdHkbMt1SffkkxAU9ub57jqSt gkLQ7tQVM+WybJiCRveJ/ESUic5e7abcinYPD6lgpTO3yMo5WnOwFvtk4BT8XChHv6QL PDm4MVKU9wZ4mJcmUGwl2e3iaeTij/pWg8HxOuKL4Eh1E+a5xcqVS5+Md7LTBrqOMzhx gqvAi3j7J9vZE27hshGxg0GytyasMG87ckG0s+uYoorUb4uYijZae4TsygNoxbhVttWB RP6H5xIyMZ4iSJZdRGVexSAxRM7JgfLeb++w/oln3gmqA4fI5Iyy9BxLkAsdCS58anbr gUkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=0Cu6Y4NgGPq834+9r8xbAgMcrjgdAO4jdlaY8h/KB5k=; b=Wi6/L/IdxbOvC+VEwaj04TRgFC9eICTv3n7Wzcn9mldiVQMTf2DyK6orlPpAzWURFO 1iZYsW7kerD5zhYifnffTWuhodfcQbrDkbbQoMFnNww27H+sXZ2Hv2FPIL1IDE+i2tJu 5iX0hwBW7byVEWGjDz62LhbjpeI9gV8xvqOq0UiF0CH1lI2UTnFGKfaYioW41X3ZaPNX fMB3VPRIAsBr0HdTX7TP0TwPhANBdJmSxDIQ4DMFTM8fPGOmzBqCfeNAOI9FfAW4LQL4 ubOVtsC8XWjC75WRjUbqQ2pG0HJ7BuCCJPkVJsRxC0XhAIC7OCNQGAM5OxDObNhgHGNV ueOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZxBxJhTx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z71si1110953pgd.490.2019.02.01.07.39.10; Fri, 01 Feb 2019 07:39:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZxBxJhTx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730652AbfBAPjI (ORCPT + 31 others); Fri, 1 Feb 2019 10:39:08 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:40643 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728373AbfBAPjI (ORCPT ); Fri, 1 Feb 2019 10:39:08 -0500 Received: by mail-pg1-f196.google.com with SMTP id z10so3096132pgp.7 for ; Fri, 01 Feb 2019 07:39:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=0Cu6Y4NgGPq834+9r8xbAgMcrjgdAO4jdlaY8h/KB5k=; b=ZxBxJhTxNyLl57XCNVBfXuPnFgMe8rrcSD6px+9D5r7RLlyl5zmSi0KQ+g852QlXgI 5ihWhRfII+GH8AGaNZEjVwOBwOZKPb4ZlYzdQ6oJcGvOgX5pB+aVJllx1XX/Iwr9bHX3 D7fRDey5ten/CCeDMghceNHaqofUr6ubpF9ME= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=0Cu6Y4NgGPq834+9r8xbAgMcrjgdAO4jdlaY8h/KB5k=; b=TdDhHYY7AkG4QrgjoCm3gXXQobDZsObOD09GdSKJs3qG8W3H99xn5fgwcGdZPtpqnv Q6BLHSxUtjFsigjSSSUPz7dpPmfm3hyTZs0RNEZO2CqJISvccJho4B1TowkA3301z/2C /2OV3DirYOhSc8sSoMFC0SqaRei/Pv46DiL25wWptYH8MzbQNoTJB+vyX0uozpqHysqV nbjjRJeQqoNC7z+3vVfrwIqzA19ECN8BbqxBpdWMptXaKhc9XGXIOSM7Cz/kZTejUKSG KLQ/cpC2Vepc0cVqjwUGBLlulCCYwaIAZkkOmuXqgFSRQW16KVCv3OYXjJToNMu7iix4 vLmQ== X-Gm-Message-State: AJcUukd+yUKOmaX50vrzPICr70kA0B8Wvsp5puPeooUkh8Hsmgzz4fG+ 4DU4GW7dGQYFq8x99OAL8pGxhTc9Hw== X-Received: by 2002:a62:4587:: with SMTP id n7mr39482017pfi.118.1549035547340; Fri, 01 Feb 2019 07:39:07 -0800 (PST) Received: from localhost.localdomain ([2405:204:7348:9f93:3db9:68de:e3db:c028]) by smtp.gmail.com with ESMTPSA id l22sm12350035pfj.179.2019.02.01.07.39.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Feb 2019 07:39:06 -0800 (PST) From: Manivannan Sadhasivam To: p.zabel@pengutronix.de, xuwei5@hisilicon.com, robh+dt@kernel.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, guodong.xu@linaro.org, Manivannan Sadhasivam Subject: [PATCH 2/3] arm64: dts: hisilicon: hi3670: Add reset controller support Date: Fri, 1 Feb 2019 21:08:40 +0530 Message-Id: <20190201153841.21903-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190201153841.21903-1-manivannan.sadhasivam@linaro.org> References: <20190201153841.21903-1-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add reset controller support for HiSilicon HI3670 SoC. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/hisilicon/hi3670.dtsi b/arch/arm64/boot/dts/hisilicon/hi3670.dtsi index a5bd6d80b226..83950119100e 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3670.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3670.dtsi @@ -151,6 +151,12 @@ #clock-cells = <1>; }; + crg_rst: crg_rst_controller { + compatible = "hisilicon,hi3670-reset"; + #reset-cells = <2>; + hisi,rst-syscon = <&crg_ctrl>; + }; + pctrl: pctrl@e8a09000 { compatible = "hisilicon,hi3670-pctrl", "syscon"; reg = <0x0 0xe8a09000 0x0 0x1000>; From patchwork Fri Feb 1 15:38:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 157250 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp584886jaa; Fri, 1 Feb 2019 07:39:17 -0800 (PST) X-Google-Smtp-Source: AHgI3IaL9J8IsCIe+olschvc+ga47F4n6Nkwhtzx7L98QKFO0V/cjuHWvuY/LOJv6oejgtPlbiw7 X-Received: by 2002:a65:434d:: with SMTP id k13mr2676092pgq.269.1549035557181; Fri, 01 Feb 2019 07:39:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549035557; cv=none; d=google.com; s=arc-20160816; b=uXN36jYqz4SaS/Ev+vI9YpK9qy/lhW0gze8JHP0Glf9uhbpJbs50jPJQd0b8VCa6jc 9hxanh8rlFoBmPNw4vIEOWkF221eO7Mxc2Pw09zuJ0d9py5pLlEou6p5Ks1iA2XJ90rQ XyLnb6oMi8YEheEU6ox2cfK8DRLSHyx6+jWJrZvgHVbjVvtKOhScAp/jQUzAemdsGldq sZdJGb6c57b7OKjcvg7lzCU7ji18yZQAuvqNjJxRCjAlGfrSzWZOrmC+ejFsAYqCwxvX eypRFmD4xcB6WvoF+sWh4FctoXz3eg8sTJGOd+AlEfvReWdXd/8Gfp3vfxkbboVwDNwC DkQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=tJ0vVOL8XD9yWBH7fkHAUlpmy1k8wF+axXxeAyBhZsE=; b=SfQsEH2l4JNGPMpfC60Pt2xO/jbFNdNKklSwkvW68XWD4vF3oyMNvJzP1Xx5EEDjDT al1/mXsPzncb6S1OtRNRDh+bj7pI1GnN1HMnxHb+xqk16F54tWVO0npJeQ3ev2n6tYVh 0tvRkoLt4B/0+06KFf2tItOoHd6wYLdGh2O9g2sr6nLH7hBFZ0v7Y79O9ee/TG0GBxF4 VH/KxIofeU5CjUxG2PSBmFg5w4jVYb3w3Ty5puHuPs6m1ehpyT/v1x/jL6aZZff0TOeI +c2HzhY2R4g9GixO3XpPuyftBP1uRSH4ILd+QPpfIt0p82jUP+RBs37kueqE8tfUS+0k gFYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YbqF7rO3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z186si7040326pgd.90.2019.02.01.07.39.16; Fri, 01 Feb 2019 07:39:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YbqF7rO3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730691AbfBAPjP (ORCPT + 31 others); Fri, 1 Feb 2019 10:39:15 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:38669 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730667AbfBAPjM (ORCPT ); Fri, 1 Feb 2019 10:39:12 -0500 Received: by mail-pl1-f195.google.com with SMTP id e5so3388349plb.5 for ; Fri, 01 Feb 2019 07:39:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=tJ0vVOL8XD9yWBH7fkHAUlpmy1k8wF+axXxeAyBhZsE=; b=YbqF7rO3XIv9/Gh2ZRe5z22Mt3MOBU5/xMQRWkCA5MMMIftPZdOknSTxzLdaPkRMZW DKWwTa/TauZYrWDCtNTUw2+z+AGiUTRPsteQMlhjGsAPEe+YxozS9eDgqYcPDx91X2uV Hyq7pM3LidN+yC88pOFL6VmfmF+G2wRqKS3FI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=tJ0vVOL8XD9yWBH7fkHAUlpmy1k8wF+axXxeAyBhZsE=; b=a3LAdsWugWP9v9L0ImNBeZNYMbkVif1CCMut39BRCNTQ1BnzhL7DOtBWduP1/GOZ+7 zrcEAJKDDp85c07+9GRr+QhCYxTHAGuhxM4s3C0qAa8ZCczUbdYr6nROuGaY+oHs9PbP FTfcEXd2dtpOaRGh+6RxitwiCMm+NQyKliN5TcZYyFwprTg9Iz+38uRVj/oUhVJPWRUr 5eXonmYoKsxKjAsRTIJMVdJqz8s2Fxte5HD4vlMGL2FfQ54asQMm3HuKa1AR/s1ZhdcG tyt83HXWnaN7nBXdaQIPbfzPXZ8uCuz16t2zC9sIRioLAhHon5NSih++r6zWaHan1iDR ZFQA== X-Gm-Message-State: AJcUukeQ2UAULLBSNls9rTa5cJOcJw6jWMkObhG+Q11qhDAP+Ue7262I ovcyR331uOQPm5aYDq7lizI7Oo3vhQ== X-Received: by 2002:a17:902:4a0c:: with SMTP id w12mr40360250pld.8.1549035551741; Fri, 01 Feb 2019 07:39:11 -0800 (PST) Received: from localhost.localdomain ([2405:204:7348:9f93:3db9:68de:e3db:c028]) by smtp.gmail.com with ESMTPSA id l22sm12350035pfj.179.2019.02.01.07.39.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Feb 2019 07:39:11 -0800 (PST) From: Manivannan Sadhasivam To: p.zabel@pengutronix.de, xuwei5@hisilicon.com, robh+dt@kernel.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, guodong.xu@linaro.org, Manivannan Sadhasivam Subject: [PATCH 3/3] reset: hisilicon: Add HiSilicon HI3670 reset support Date: Fri, 1 Feb 2019 21:08:41 +0530 Message-Id: <20190201153841.21903-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190201153841.21903-1-manivannan.sadhasivam@linaro.org> References: <20190201153841.21903-1-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org HI3670 SoC is architecturally same as the HI3660 SoC. Hence, add the HI3670 compatible to HI3660 reset driver in order to reuse it. Signed-off-by: Manivannan Sadhasivam --- drivers/reset/hisilicon/reset-hi3660.c | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/drivers/reset/hisilicon/reset-hi3660.c b/drivers/reset/hisilicon/reset-hi3660.c index 17d8bb128e6e..1c22f3457ba7 100644 --- a/drivers/reset/hisilicon/reset-hi3660.c +++ b/drivers/reset/hisilicon/reset-hi3660.c @@ -103,6 +103,7 @@ static int hi3660_reset_probe(struct platform_device *pdev) static const struct of_device_id hi3660_reset_match[] = { { .compatible = "hisilicon,hi3660-reset", }, + { .compatible = "hisilicon,hi3670-reset", }, {}, }; MODULE_DEVICE_TABLE(of, hi3660_reset_match);