Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932895AbaDIKBL (ORCPT ); Wed, 9 Apr 2014 06:01:11 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:60977 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932681AbaDIKBH (ORCPT ); Wed, 9 Apr 2014 06:01:07 -0400 X-AuditID: cbfec7f5-b7fc96d000004885-0a-53451a62bba3 Message-id: <53451A60.4050803@samsung.com> Date: Wed, 09 Apr 2014 12:01:04 +0200 From: Sylwester Nawrocki User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-version: 1.0 To: Rahul Sharma , Andrzej Hajda Cc: Tomasz Stanislawski , "linux-kernel@vger.kernel.org" , linux-samsung-soc , "devicetree@vger.kernel.org" , "linux-media@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , Kukjin Kim , Kishon Vijay Abraham I , Kyungmin Park , Rob Herring , Grant Likely , Rahul Sharma , sunil joshi Subject: Re: [PATCHv2 1/3] phy: Add exynos-simple-phy driver References: <1396967856-27470-1-git-send-email-t.stanislaws@samsung.com> <1396967856-27470-2-git-send-email-t.stanislaws@samsung.com> <534506B1.4040908@samsung.com> In-reply-to: Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrALMWRmVeSWpSXmKPExsVy+t/xK7pJUq7BBmtmCFjcWneO1WL+ESBx 5et7NosDf3YwWnzf9YXdonfBVTaLC0972CzONr1ht7i8aw6bRc+GrawWM87vY7JY+CLeYsqi w6wWrXuPsFvMa3/J6sDvsXPWXXaPTas62TzuXNvD5nG/+ziTR9+WVYwex29sZ/L4vEkugD2K yyYlNSezLLVI3y6BK2Pe0VVMBWtYK+6uvMzcwLiApYuRk0NCwERi96J3bBC2mMSFe+vBbCGB pYwSs5aWdjFyAdmfGCWOzLsD1sAroCXxa8FbVhCbRUBV4uStA0wgNpuAoUTv0T5GEFtUIELi XuNhVoh6QYkfk++B9YoIeEtsfLuJCWQos0ATq8SFPU/BtgkL2Ejsu3yaBWLbe0aJFQf+gE3l FAiWOHxsIzuIzSygI7G/dRobhC0vsXnNW+YJjAKzkCyZhaRsFpKyBYzMqxhFU0uTC4qT0nON 9IoTc4tL89L1kvNzNzFCYunrDsalx6wOMQpwMCrx8CpYugQLsSaWFVfmHmKU4GBWEuF9zuYa LMSbklhZlVqUH19UmpNafIiRiYNTqoEx6ebJOrnc2lv/V+44/mG9m23dzGOyk0KkFD5V+InO C50kevD5e4v7kZxu1uvuTnJ1d9eeEdT04upJg3CDG0/fWDc9juPbEXW++9TRpt++3NsuB8x7 aOJSHv/jrMjXuzsNGie4ns+6n+R9o1FGvWXCyj1lpvfrcqcJyHe5uce/Z006x3Hi2vafSizF GYmGWsxFxYkAm8ZnhYMCAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 09/04/14 11:12, Rahul Sharma wrote: > Idea looks good. How about keeping compatible which is independent > of SoC, something like "samsung,exynos-simple-phy" and provide Reg > and Bit through phy provider node. This way we can avoid SoC specific > hardcoding in phy driver and don't need to look into dt bindings for > each new SoC. I believe it is a not recommended approach. > We can use syscon interface to access PMU bits like USB phy. > PMU is already registered as system controller Yes, that sounds good. This way we could avoid overlapping memory mapped register regions specified in 'reg' properties in the device tree. -- Thanks, Sylwester -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/