From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932672AbcHJAhG (ORCPT ); Tue, 9 Aug 2016 20:37:06 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:37699 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752551AbcHJAhD convert rfc822-to-8bit (ORCPT ); Tue, 9 Aug 2016 20:37:03 -0400 X-AuditID: cbfee68d-f79286d000007a9a-06-57aa772c1c20 MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 8BIT Message-id: <57AA772C.1010303@samsung.com> Date: Wed, 10 Aug 2016 09:37:00 +0900 From: Chanwoo Choi Organization: Samsung Electronics User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 To: Chris Zhong , dianders@chromium.org, tfiga@chromium.org, heiko@sntech.de, yzq@rock-chips.com, groeck@chromium.org, myungjoo.ham@samsung.com, wulf@rock-chips.com, marcheu@chromium.org Cc: linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Guenter Roeck , Will Deacon , dri-devel@lists.freedesktop.org, Kever Yang , Kumar Gala , linux-kernel@vger.kernel.org, Ian Campbell , Rob Herring , Mark Yao , Pawel Moll , Kishon Vijay Abraham I , Mark Rutland , Catalin Marinas , linux-arm-kernel@lists.infradead.org, David Airlie , "cpgs (cpgs@samsung.com)" Subject: Re: [v10 PATCH 0/5] Rockchip Type-C and DisplayPort driver References: <1470785557-21974-1-git-send-email-zyw@rock-chips.com> In-reply-to: <1470785557-21974-1-git-send-email-zyw@rock-chips.com> X-Brightmail-Tracker: H4sIAAAAAAAAA02Se0iTURjGO99tm2R9zktHo8SFRorW8tKJLIQgPoyiKLAisGUf09Rpm5fE wIUmZl5aGtpMy6VLh5qtaBqYuhZqqWm6NTBs2c1LoWaZFmX7WpD//c77nPd5z3N4+bjQTHrx 42QprFwmSRBRTkS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9bBab Hl9jtbi8aw6bxacH/5ktniw8w2Qx79BvRoul1y8yWeyYcoDJ4nbjCjaLCdPXsli07j3CbvG5 9R+bxcuPJ1gsVq09zmwxd90SNov5D3YwO0h7rJm3htFjdsNFFo/Lfb1MHiuXf2Hz2LSqk81j +7cHrB73u48zeWxeUu/xd9Z+Fo+d3xvYPfq2rGL02H5tHrPH8RvbmTw+b5IL4ItqYLTJSE1M SS1SSM1Lzk/JzEu3VfIOjneONzUzMNQ1tLQwV1LIS8xNtVVy8QnQdcvMAQaLkkJZYk4pUCgg sbhYSd8O04TQEDddC5jGCF3fkCC4HiMDNJCwhjFj6cNzrAWLxSrWdm1gbmD8I9jFyMkhIWAi 0TP5BhOELSZx4d56NhBbSGApo0RHfz2IzSsgKPFj8j2WLkYODmYBeYkjl7JBwswC6hKT5i1i 7mLkAip/wChx48hFdoh6LYntyxaBzWQRUJV4sOMCK4jNBhTf/+IG2Hx+AUWJqz8eM4LMFBWI kOg+UQkyR0TgEqPE0oct7CAOs8BKVon+FdcYQRqEBZwlrm2YBbVtBqPE7VcbwaZyAiWmLnnF NIFRcBaSY2chHDsLybELGJlXMUqkFiQXFCel5xrmpZbrFSfmFpfmpesl5+duYgQnxGdSOxgP 7nI/xCjAwajEwxvhvSpciDWxrLgy9xCjBAezkgjvtlKgEG9KYmVValF+fFFpTmrxIUZToG8n MkuJJucDk3VeSbyhsYmZkaWRuaGFkbG5kjjv4//rwoQE0hNLUrNTUwtSi2D6mDg4pRoYDY1u HNt5+1p0SNSHLvWrJdLb/sqvMp75TN6rhW/75KtTOL4/u2qftu8E/0sHPZ68R/9kur0WTVxr IP69Ps/5rcdN47vf5RUOzZPewvtp1wEuzei79r2bl+t81uRcd1v5SH77vMDZfvvWOtx5ViSa yZHUFpJQMrc8faOJy7nCyzn79DXWf27+pMRSnJFoqMVcVJwIAO2fT7eeAwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Chris, On 2016년 08월 10일 08:32, Chris Zhong wrote: > Hi all > > This series patch is for rockchip Type-C phy and DisplayPort controller > driver. > > The USB Type-C PHY is designed to support the USB3 and DP applications. > The PHY basically has two main components: USB3 and DisplyPort. USB3 > operates in SuperSpeed mode and the DP can operate at RBR, HBR and HBR2 > data rates. The Type-C cable orientation detection and Power Delivery > (PD) is accomplished using a PD PHY or a exernal PD chip. > > The DP controller is compliant with DisplayPort Specification, > Version 1.3, This IP is compatible with the rockchip type-c PHY IP. > There is a uCPU in DP controller, it need a firmware to work, please > put the firmware file[0] to /lib/firmware/rockchip/dptx.bin. The uCPU > in charge of aux communication and link training, the host use mailbox > to communicate with the ucpu. > > The DP contoller has register a notification with extcon API, to get the > alt mode from PD, the PD driver need call the devm_extcon_dev_allocate > to create a extcon device and use extcon_set_state to notify DP > controller. And call extcon_set_cable_property to set orientation. > > About the DP audio, cdn-dp registered 2 DAIs: 0 is I2S, 1 is SPDIF. > We can reference them in simple-card. > > This series is based on Mark Yao's branch[1] and Chanwoo Choi's > extcon-next branch[2], and the clk patch[3]. > > I test this patches on the rk3399-evb board, with a fusb302 driver, > this branch has no rk3399.dtsi, so the patch about dts is not included > in this series. > >>>From V9, the Type-C PHY is split into two PHYs: DP and USB3. The PHY > will be init, no matter which PHY be power_on. The DP module will > enter A2 mode (standby mode) after phy_init, if DP PHY is powered on, > the DP module will enter to A0 mode(running mode). Then if DP PHY is > powered off, DP module will back to A2 mode. If everything is > un-plugged, phy will be deinit. > > [0] > https://patchwork.kernel.org/patch/9249693/ > [1] > https://github.com/markyzq/kernel-drm-rockchip/tree/drm-rockchip-next-2016-05-23 > [2] > https://git.kernel.org/cgit/linux/kernel/git/chanwoo/extcon.git/log/?h=extcon-test > - extcon: Add the extcon_type to gather each connector into five category > - extcon: Add the support for extcon property according to extcon type > - extcon: Add the support for the capability of each property > - extcon: Rename the extcon_set/get_state() to maintain the function naming > pattern > - extcon: Add the synchronization extcon APIs to support the notification > - extcon: Add EXTCON_DISP_DP and the property for USB Type-C The extcon patches are merged on extcon-next branch. So, you can check them on both extcon git and linux-next git repo. [snip] Regards, Chanwoo Choi From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chanwoo Choi Subject: Re: [v10 PATCH 0/5] Rockchip Type-C and DisplayPort driver Date: Wed, 10 Aug 2016 09:37:00 +0900 Message-ID: <57AA772C.1010303@samsung.com> References: <1470785557-21974-1-git-send-email-zyw@rock-chips.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Return-path: In-reply-to: <1470785557-21974-1-git-send-email-zyw-TNX95d0MmH7DzftRWevZcw@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Chris Zhong , dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org, tfiga-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org, heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org, yzq-TNX95d0MmH7DzftRWevZcw@public.gmane.org, groeck-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org, myungjoo.ham-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org, wulf-TNX95d0MmH7DzftRWevZcw@public.gmane.org, marcheu-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Guenter Roeck , Will Deacon , dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, Kever Yang , Kumar Gala , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Ian Campbell , Rob Herring , Mark Yao , Pawel Moll , Kishon Vijay Abraham I , Mark Rutland , Catalin Marinas , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, David Airlie , "cpgs (cpgs-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org)" List-Id: devicetree@vger.kernel.org Hi Chris, On 2016년 08월 10일 08:32, Chris Zhong wrote: > Hi all > > This series patch is for rockchip Type-C phy and DisplayPort controller > driver. > > The USB Type-C PHY is designed to support the USB3 and DP applications. > The PHY basically has two main components: USB3 and DisplyPort. USB3 > operates in SuperSpeed mode and the DP can operate at RBR, HBR and HBR2 > data rates. The Type-C cable orientation detection and Power Delivery > (PD) is accomplished using a PD PHY or a exernal PD chip. > > The DP controller is compliant with DisplayPort Specification, > Version 1.3, This IP is compatible with the rockchip type-c PHY IP. > There is a uCPU in DP controller, it need a firmware to work, please > put the firmware file[0] to /lib/firmware/rockchip/dptx.bin. The uCPU > in charge of aux communication and link training, the host use mailbox > to communicate with the ucpu. > > The DP contoller has register a notification with extcon API, to get the > alt mode from PD, the PD driver need call the devm_extcon_dev_allocate > to create a extcon device and use extcon_set_state to notify DP > controller. And call extcon_set_cable_property to set orientation. > > About the DP audio, cdn-dp registered 2 DAIs: 0 is I2S, 1 is SPDIF. > We can reference them in simple-card. > > This series is based on Mark Yao's branch[1] and Chanwoo Choi's > extcon-next branch[2], and the clk patch[3]. > > I test this patches on the rk3399-evb board, with a fusb302 driver, > this branch has no rk3399.dtsi, so the patch about dts is not included > in this series. > >>>From V9, the Type-C PHY is split into two PHYs: DP and USB3. The PHY > will be init, no matter which PHY be power_on. The DP module will > enter A2 mode (standby mode) after phy_init, if DP PHY is powered on, > the DP module will enter to A0 mode(running mode). Then if DP PHY is > powered off, DP module will back to A2 mode. If everything is > un-plugged, phy will be deinit. > > [0] > https://patchwork.kernel.org/patch/9249693/ > [1] > https://github.com/markyzq/kernel-drm-rockchip/tree/drm-rockchip-next-2016-05-23 > [2] > https://git.kernel.org/cgit/linux/kernel/git/chanwoo/extcon.git/log/?h=extcon-test > - extcon: Add the extcon_type to gather each connector into five category > - extcon: Add the support for extcon property according to extcon type > - extcon: Add the support for the capability of each property > - extcon: Rename the extcon_set/get_state() to maintain the function naming > pattern > - extcon: Add the synchronization extcon APIs to support the notification > - extcon: Add EXTCON_DISP_DP and the property for USB Type-C The extcon patches are merged on extcon-next branch. So, you can check them on both extcon git and linux-next git repo. [snip] Regards, Chanwoo Choi -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: cw00.choi@samsung.com (Chanwoo Choi) Date: Wed, 10 Aug 2016 09:37:00 +0900 Subject: [v10 PATCH 0/5] Rockchip Type-C and DisplayPort driver In-Reply-To: <1470785557-21974-1-git-send-email-zyw@rock-chips.com> References: <1470785557-21974-1-git-send-email-zyw@rock-chips.com> Message-ID: <57AA772C.1010303@samsung.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Chris, On 2016? 08? 10? 08:32, Chris Zhong wrote: > Hi all > > This series patch is for rockchip Type-C phy and DisplayPort controller > driver. > > The USB Type-C PHY is designed to support the USB3 and DP applications. > The PHY basically has two main components: USB3 and DisplyPort. USB3 > operates in SuperSpeed mode and the DP can operate at RBR, HBR and HBR2 > data rates. The Type-C cable orientation detection and Power Delivery > (PD) is accomplished using a PD PHY or a exernal PD chip. > > The DP controller is compliant with DisplayPort Specification, > Version 1.3, This IP is compatible with the rockchip type-c PHY IP. > There is a uCPU in DP controller, it need a firmware to work, please > put the firmware file[0] to /lib/firmware/rockchip/dptx.bin. The uCPU > in charge of aux communication and link training, the host use mailbox > to communicate with the ucpu. > > The DP contoller has register a notification with extcon API, to get the > alt mode from PD, the PD driver need call the devm_extcon_dev_allocate > to create a extcon device and use extcon_set_state to notify DP > controller. And call extcon_set_cable_property to set orientation. > > About the DP audio, cdn-dp registered 2 DAIs: 0 is I2S, 1 is SPDIF. > We can reference them in simple-card. > > This series is based on Mark Yao's branch[1] and Chanwoo Choi's > extcon-next branch[2], and the clk patch[3]. > > I test this patches on the rk3399-evb board, with a fusb302 driver, > this branch has no rk3399.dtsi, so the patch about dts is not included > in this series. > >>>From V9, the Type-C PHY is split into two PHYs: DP and USB3. The PHY > will be init, no matter which PHY be power_on. The DP module will > enter A2 mode (standby mode) after phy_init, if DP PHY is powered on, > the DP module will enter to A0 mode(running mode). Then if DP PHY is > powered off, DP module will back to A2 mode. If everything is > un-plugged, phy will be deinit. > > [0] > https://patchwork.kernel.org/patch/9249693/ > [1] > https://github.com/markyzq/kernel-drm-rockchip/tree/drm-rockchip-next-2016-05-23 > [2] > https://git.kernel.org/cgit/linux/kernel/git/chanwoo/extcon.git/log/?h=extcon-test > - extcon: Add the extcon_type to gather each connector into five category > - extcon: Add the support for extcon property according to extcon type > - extcon: Add the support for the capability of each property > - extcon: Rename the extcon_set/get_state() to maintain the function naming > pattern > - extcon: Add the synchronization extcon APIs to support the notification > - extcon: Add EXTCON_DISP_DP and the property for USB Type-C The extcon patches are merged on extcon-next branch. So, you can check them on both extcon git and linux-next git repo. [snip] Regards, Chanwoo Choi