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