[lkml]   [2013]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] pinctrl: msm: Add support for MSM TLMM pinmux
On 7/30/2013 2:22 PM, Stephen Warren wrote:
> On 07/30/2013 03:10 PM, hanumant wrote:
> ...
>> We actually have the same TLMM pinmux used by several socs of a family.
>> The number of pins on each soc may vary.
>> Also a given soc gets used in a number of boards.
>> The device tree for a given soc is split into the different boards that
>> its in ie the boards inherit a common soc.dtsi but have separate dts.
>> The boards for the same soc may use different pin groups for
>> accomplishing a function, since we have multiple i2c, spi uart etc
>> peripheral instances on a soc. A different instance of each of the above
>> peripherals, can be used in different boards, utilizing different
>> or subset of same pin groups.
>> Thus I would need to have multiple C files for one soc, based on the
>> boards that it goes into.
> The pinctrl driver should be exposing the raw capabilities of the HW.
> All the board-specific configuration should be expressed in DT. So, the
> driver shouldn't have to know anything about different boards at
> compile-time.
I agree, so I wanted to keep the pin grouping information in DT, we
already have a board based differentiation of dts files in DT, for the
same soc.


Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

 \ /
  Last update: 2013-07-31 02:21    [W:0.069 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site