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>;