From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Stuebner Subject: Re: [PATCH v2 2/2] arm64: dts: rk3399: add powerdomain for typec Date: Thu, 08 Sep 2016 17:16:12 +0200 Message-ID: <1502775.CkB0Rhdvgx@phil> References: <1473289577-14101-1-git-send-email-zyw@rock-chips.com> <1473289577-14101-2-git-send-email-zyw@rock-chips.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1473289577-14101-2-git-send-email-zyw-TNX95d0MmH7DzftRWevZcw@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+glpar-linux-rockchip=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: Chris Zhong Cc: Mark Rutland , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Catalin Marinas , Masahiro Yamada , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, briannorris-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org, Will Deacon , kever.yang-TNX95d0MmH7DzftRWevZcw@public.gmane.org, dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Rob Herring , David Wu , groeck-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org, wulf-TNX95d0MmH7DzftRWevZcw@public.gmane.org, kishon-l0cyMroinI0@public.gmane.org, Jianqun Xu , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: linux-rockchip.vger.kernel.org Am Mittwoch, 7. September 2016, 16:06:17 CEST schrieb Chris Zhong: > The tcpc power domain will try to power up/down the power of Type-C PHY. > Hence, we need control it in Type-C PHY driver with the pm_runtime helper. > > Signed-off-by: Chris Zhong applied to my dts64 branch for 4.9 (or 4.10) after fixing the subject (rockchip: instead of rk3399:), as even without the advanced logic from patch1 the driver core will already make sure to at least powerup the domain before probe and power-down after remove. Heiko