From patchwork Thu Aug 10 07:27:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Katsuhiro Suzuki X-Patchwork-Id: 109790 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp1964473qge; Thu, 10 Aug 2017 00:27:20 -0700 (PDT) X-Received: by 10.99.111.73 with SMTP id k70mr10392256pgc.8.1502350039824; Thu, 10 Aug 2017 00:27:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502350039; cv=none; d=google.com; s=arc-20160816; b=SrtFaqOL94N/THn4dYyweGEr0/8hxjnIYpkHB2uZYxqXRAllkg7O5ghGw466WqOQUW pI/RsLLuzM+65NrIGk8u+VDPtno1gmv9UYJyb8cKadGD2USM8pHFEwgsD8QHY7PWWhwk 9YSE2/ggZANAH7Oy62t5J+cdtSRgDTmTFFC44et3fdH/hxtMGZL9On1IAIg5auouEjju CJiy1E2JUrqbEiL+IdBwG3CbbN5DwPybAvbfRtQ2qq/Ia/qeuKrHIEYiUyV5AXSG+UCJ wok5bOFh0Vy3+dcabWP2cubRIscdYaR3lncNKQq7C8+VLfjU/cpLHWRPItBeLPn60hx5 ux+g== 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:arc-authentication-results; bh=+pa9cyQG3zsKJ1q/OOus+uuMHRvIa+JG+lGdYSi99hk=; b=d2mV0FdUD0rh/n/hF3C6YdoYC/5zt7Guo5BhJG5WA6Y/wHLn2q1e+8u/mTpX2zQO1F B4dM9ecQ5uKyNzxh7msqRNXAP2/r4mLGzujUvetaysp3LXrp8+Db7BaIkQ46yvRDjvA1 nXzjIXdEx8XNmNAJHmjAaymsvwDLIQqAOM6RoVKo+Soce2/5OY9487cxnLv8gxQX66vR tQ2Pz5Q4USbjG2/M63yWqeLDbs+8cvCKZiYI9iYwwBuV1MeY7QBUFOsoFb6PkVG9C2K9 HR9Q+0wNGdYEQensOclsVVuZB+9oHxPtnowNy0p+yT/Q09fk5tsPvLhDY7Z7pRctBpCI 6abQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q13si4046669plk.764.2017.08.10.00.27.19; Thu, 10 Aug 2017 00:27:19 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752203AbdHJH1S (ORCPT + 25 others); Thu, 10 Aug 2017 03:27:18 -0400 Received: from mx.socionext.com ([202.248.49.38]:26954 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750909AbdHJH1F (ORCPT ); Thu, 10 Aug 2017 03:27:05 -0400 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 10 Aug 2017 16:27:04 +0900 Received: from mail.mfilter.local (unknown [10.213.24.61]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 958E01800E2; Thu, 10 Aug 2017 16:27:04 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Thu, 10 Aug 2017 16:27:04 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by kinkan.css.socionext.com (Postfix) with ESMTP id 509F71A0E16; Thu, 10 Aug 2017 16:27:04 +0900 (JST) Received: from aegis.e01.socionext.com (unknown [10.213.134.210]) by yuzu.css.socionext.com (Postfix) with ESMTP id 19502120BB8; Thu, 10 Aug 2017 16:27:04 +0900 (JST) From: Katsuhiro Suzuki To: Philipp Zabel , Masahiro Yamada , linux-arm-kernel@lists.infradead.org Cc: Masami Hiramatsu , Jassi Brar , linux-kernel@vger.kernel.org, Katsuhiro Suzuki Subject: [PATCH 3/3] reset: uniphier: add analog amplifiers reset control Date: Thu, 10 Aug 2017 16:27:03 +0900 Message-Id: <20170810072703.32433-3-suzuki.katsuhiro@socionext.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170810072703.32433-1-suzuki.katsuhiro@socionext.com> References: <20170810072703.32433-1-suzuki.katsuhiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a reset line for analog signal amplifier core (ADAMV) on UniPhier LD11/LD20 SoCs. Signed-off-by: Katsuhiro Suzuki --- drivers/reset/reset-uniphier.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) -- 2.13.2 Acked-by: Masahiro Yamada diff --git a/drivers/reset/reset-uniphier.c b/drivers/reset/reset-uniphier.c index f60c137c17cb..cda4a78a58e2 100644 --- a/drivers/reset/reset-uniphier.c +++ b/drivers/reset/reset-uniphier.c @@ -196,6 +196,12 @@ static const struct uniphier_reset_data uniphier_pro4_peri_reset_data[] = { UNIPHIER_RESET_END, }; +/* Analog signal amplifiers reset data */ +static const struct uniphier_reset_data uniphier_ld11_adamv_reset_data[] = { + UNIPHIER_RESETX(100, 0x10, 6), /* EVEA */ + UNIPHIER_RESET_END, +}; + /* core implementaton */ struct uniphier_reset_priv { struct reset_controller_dev rcdev; @@ -415,6 +421,15 @@ static const struct of_device_id uniphier_reset_match[] = { .compatible = "socionext,uniphier-ld20-peri-reset", .data = uniphier_pro4_peri_reset_data, }, + /* Analog signal amplifiers reset */ + { + .compatible = "socionext,uniphier-ld11-adamv-reset", + .data = uniphier_ld11_adamv_reset_data, + }, + { + .compatible = "socionext,uniphier-ld20-adamv-reset", + .data = uniphier_ld11_adamv_reset_data, + }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, uniphier_reset_match);