From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754960AbbIICwu (ORCPT ); Tue, 8 Sep 2015 22:52:50 -0400 Received: from lucky1.263xmail.com ([211.157.147.130]:33047 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752851AbbIICwn (ORCPT ); Tue, 8 Sep 2015 22:52:43 -0400 X-263anti-spam: KSV:0; X-MAIL-GRAY: 1 X-MAIL-DELIVERY: 0 X-KSVirus-check: 0 X-ABS-CHECKED: 4 X-ADDR-CHECKED: 0 X-RL-SENDER: shawn.lin@rock-chips.com X-FST-TO: linux-kernel@vger.kernel.org X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: shawn.lin@rock-chips.com X-UNIQUE-TAG: X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 Cc: shawn.lin@rock-chips.com, linux-kernel@vger.kernel.org To: Kishon Vijay Abraham I From: Shawn Lin Subject: [RFC] Generic PHY interface extention for dynamic configuration Message-ID: <55EF9EF2.3060405@rock-chips.com> Date: Wed, 9 Sep 2015 10:52:34 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=gbk; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Kishon, Now, Generic PHY framework just provide four interfaces(AKA: init/exit/power_on/power_off). Also, these fours itfs take struct phy as unique argument.Is it means that the generic PHY framework can't support to modify PHY configuration at run-time for diff cases? Actually I'm writing some code for supporting emmc controller's phy. And sometimes it indeed need to modify the phy's configuration. But I have no idea about how to deal with it in current framework. So I send this RFC to you and mailing. Thanks. -- Best Regards Shawn Lin