From patchwork Thu Aug 10 07:27:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Katsuhiro Suzuki X-Patchwork-Id: 109789 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp1964329qge; Thu, 10 Aug 2017 00:27:09 -0700 (PDT) X-Received: by 10.84.217.208 with SMTP id d16mr11931791plj.208.1502350029840; Thu, 10 Aug 2017 00:27:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502350029; cv=none; d=google.com; s=arc-20160816; b=ZNo/Tqwc1cclWFjFSNGk/o45WfSOg0yVZpX+/OyExEvJMAl24ZUr+jrGLF1KRbFPnC g6h6qzwCIhc2Q0F0piDs0H+rywBi5PtvbY3N5w8NO1McRX/lF10W1dJeb6BWrnK1Otkq ZyDGXXxi/TH1YRCQ6xnoYcU4u+IOLvwdcpU0r2QXb5nNoBjcQwPt6vHVC3MdK3aK8iKx A6ZQioq6l/FJBjuvZo2OhQLoDuOGGiqAfnkcLZhMFwklk2Ld9WpVUJpxZF0T31kAnXnn gDP4wTdGtIWTdZJi3MQb03rRcTrr1L6GiTwVRQwG48k5qKXVLuUbocBm/GY3A8wmh1bb somA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=dttFjsArZ9SzR56TwhU4X7vPHgTgj8JFIeh3VR44OT0=; b=hbfh4UIIjavMQZH7szO/d5VpNtUsK0JfeNn6GLUeD1tSXi9OGK9KHNeO8bOHm5HSHZ nFbE7xdIe1s2xgHdCUtC/M47LBivlGnQSgovWiYMTICetaAcF5MiUIJy8/G4mvgPzkFB O2KvwDJAOjmsc4CfCwcu3rdYYb4g9CZjHmDNqkkTAwKa2vRE0YnId/miQg1ERK3gi359 kSfmosYKKxVlccH58Kv3WqVYOr2/J2OgKLnXxhbHZ7c5Tfsny1dw7YPI/LzHDVmf2F2T p4O/dl1vtDJD/L/ABSEXAWeZLSRpHd+vmMlIeYI8roHfJICZ1ROlcsitcl7wlYXqz80L W7Jg== 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.08; Thu, 10 Aug 2017 00:27:09 -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 S1751771AbdHJH1G (ORCPT + 25 others); Thu, 10 Aug 2017 03:27:06 -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 S1750735AbdHJH1E (ORCPT ); Thu, 10 Aug 2017 03:27:04 -0400 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 10 Aug 2017 16:27:03 +0900 Received: from mail.mfilter.local (unknown [10.213.24.62]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id 05C4B6007D; Thu, 10 Aug 2017 16:27:04 +0900 (JST) Received: from 172.31.9.53 (172.31.9.53) 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 iyokan.css.socionext.com (Postfix) with ESMTP id C6BE440890; Thu, 10 Aug 2017 16:27:03 +0900 (JST) Received: from aegis.e01.socionext.com (unknown [10.213.134.210]) by yuzu.css.socionext.com (Postfix) with ESMTP id 8DDAB120BB8; Thu, 10 Aug 2017 16:27:03 +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 1/3] reset: uniphier: add audio systems reset control Date: Thu, 10 Aug 2017 16:27:01 +0900 Message-Id: <20170810072703.32433-1-suzuki.katsuhiro@socionext.com> X-Mailer: git-send-email 2.13.2 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add reset lines for audio subsystem (AIO) and SoC internal audio codec (EVEA) on UniPhier LD11/LD20 SoCs. Signed-off-by: Katsuhiro Suzuki --- drivers/reset/reset-uniphier.c | 4 ++++ 1 file changed, 4 insertions(+) -- 2.13.2 Acked-by: Masahiro Yamada diff --git a/drivers/reset/reset-uniphier.c b/drivers/reset/reset-uniphier.c index 954b2c4e6ca7..90c52a96f775 100644 --- a/drivers/reset/reset-uniphier.c +++ b/drivers/reset/reset-uniphier.c @@ -93,6 +93,8 @@ static const struct uniphier_reset_data uniphier_ld11_sys_reset_data[] = { UNIPHIER_RESETX(2, 0x200c, 0), /* NAND */ UNIPHIER_RESETX(4, 0x200c, 2), /* eMMC */ UNIPHIER_RESETX(8, 0x200c, 8), /* STDMAC (HSC, MIO) */ + UNIPHIER_RESETX(40, 0x2008, 0), /* AIO */ + UNIPHIER_RESETX(41, 0x2008, 1), /* EVEA */ UNIPHIER_RESET_END, }; @@ -105,6 +107,8 @@ static const struct uniphier_reset_data uniphier_ld20_sys_reset_data[] = { UNIPHIER_RESETX(17, 0x200c, 13), /* USB30-PHY1 */ UNIPHIER_RESETX(18, 0x200c, 14), /* USB30-PHY2 */ UNIPHIER_RESETX(19, 0x200c, 15), /* USB30-PHY3 */ + UNIPHIER_RESETX(40, 0x2008, 0), /* AIO */ + UNIPHIER_RESETX(41, 0x2008, 1), /* EVEA */ UNIPHIER_RESET_END, }; From patchwork Thu Aug 10 07:27:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Katsuhiro Suzuki X-Patchwork-Id: 109791 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp1964669qge; Thu, 10 Aug 2017 00:27:33 -0700 (PDT) X-Received: by 10.99.109.207 with SMTP id i198mr10279298pgc.375.1502350053275; Thu, 10 Aug 2017 00:27:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502350053; cv=none; d=google.com; s=arc-20160816; b=JXIlmnii+9a1j6kD8VLA0b2LCe1l0x2Nm8rhqZ50Lbg52JOjn7yvUqb5WHop317bgi jzgWe+10RMulDY+82sBAraWkAJdCudF78wtaXCbZtzKzRCmTpcOaKV7MJrV+U5VYp/YJ /5XmEmTiw6+i1LOKgSvVXFrCYSKpMH+0bAo/G/gpAMO+S+1vjjR2XEtZlhSwqy1Na/Cx HynQe9gL13f7nX+U3APc8DoG+qTuCJC/TpEGfWCc+FggJeB1NKHX1kEk/FrqjiA9rAAf UcH8pNQYktvPxfvh47COF/49n4gcg82d6HrrikF9jK+hmA38qD4DVhubUU2HxoBfFnuR JkYg== 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=/8qG3uHbfZY4FsMdVubhlSfw+6ctn4BbXAD6FbvWtys=; b=nxXOyAJ2MPusq9HM5QrBKp71GPBE8+9oX/OdD6UyGsp1gPGhkytUy+PYPn+P5xgBBL yHL5NvusuTK8Q7JuAdXxiff+7oNu93N1KtCPUnSscZ/BMiB1kapYIgbRv9+9MIp2B3MG voPVBsS08wm2D82Bk+aL8i3dYX2uuBIh+8muytS8HGVN6FPeqOW/+pf5BKCCJlTMTgmW ZcIlZRrjyKSnI1fP9WHsjB9ksoQuyRgCQYOfagKyR8JsdBwgNs3mdKG+MXuwaRm/5ZXN o6IFAhYql5kUASYhMcYPvP3NoMOYQATgZc46vMceFRJTI1vaxSCbAOpThiAndGxJgQrA rvGw== 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.32; Thu, 10 Aug 2017 00:27:33 -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 S1752261AbdHJH1a (ORCPT + 25 others); Thu, 10 Aug 2017 03:27:30 -0400 Received: from mx.socionext.com ([202.248.49.38]:26956 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750868AbdHJH1F (ORCPT ); Thu, 10 Aug 2017 03:27:05 -0400 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 10 Aug 2017 16:27:04 +0900 Received: from mail.mfilter.local (unknown [10.213.24.61]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id 953FC6007D; 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 11A261A0E16; 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 CE94B120BB8; Thu, 10 Aug 2017 16:27:03 +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 2/3] reset: uniphier: add video input subsystem reset control Date: Thu, 10 Aug 2017 16:27:02 +0900 Message-Id: <20170810072703.32433-2-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 video input subsystem (EXIV) on UniPhier LD11/LD20 SoCs. Signed-off-by: Katsuhiro Suzuki --- drivers/reset/reset-uniphier.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.13.2 Acked-by: Masahiro Yamada diff --git a/drivers/reset/reset-uniphier.c b/drivers/reset/reset-uniphier.c index 90c52a96f775..f60c137c17cb 100644 --- a/drivers/reset/reset-uniphier.c +++ b/drivers/reset/reset-uniphier.c @@ -95,6 +95,7 @@ static const struct uniphier_reset_data uniphier_ld11_sys_reset_data[] = { UNIPHIER_RESETX(8, 0x200c, 8), /* STDMAC (HSC, MIO) */ UNIPHIER_RESETX(40, 0x2008, 0), /* AIO */ UNIPHIER_RESETX(41, 0x2008, 1), /* EVEA */ + UNIPHIER_RESETX(42, 0x2010, 2), /* EXIV */ UNIPHIER_RESET_END, }; @@ -109,6 +110,7 @@ static const struct uniphier_reset_data uniphier_ld20_sys_reset_data[] = { UNIPHIER_RESETX(19, 0x200c, 15), /* USB30-PHY3 */ UNIPHIER_RESETX(40, 0x2008, 0), /* AIO */ UNIPHIER_RESETX(41, 0x2008, 1), /* EVEA */ + UNIPHIER_RESETX(42, 0x2010, 2), /* EXIV */ UNIPHIER_RESET_END, }; 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);