lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 06 Nov 2012 15:17:58 -0700
From:	Stephen Warren <swarren@...dotorg.org>
To:	Pantelis Antoniou <panto@...oniou-consulting.com>
CC:	Russ Dill <Russ.Dill@...com>, Kevin Hilman <khilman@...com>,
	Matt Porter <mporter@...com>,
	Koen Kooi <koen@...inion.thruhere.net>,
	linux-kernel <linux-kernel@...r.kernel.org>,
	Felipe Balbi <balbi@...com>,
	Deepak Saxena <dsaxena@...aro.org>,
	Scott Wood <scottwood@...escale.com>,
	linux-omap@...r.kernel.org, devicetree-discuss@...ts.ozlabs.org
Subject: Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices
 to mach-omap2)

On 11/06/2012 12:41 PM, Pantelis Antoniou wrote:
> Hi Russ,
> 
> On Nov 6, 2012, at 8:29 PM, Russ Dill wrote:
> 
>> On Tue, Nov 6, 2012 at 10:35 AM, Tony Lindgren <tony@...mide.com> wrote:
>>> * Grant Likely <grant.likely@...retlab.ca> [121106 03:16]:
>>>> On Tue, Nov 6, 2012 at 10:30 AM, Pantelis Antoniou
>>>> <panto@...oniou-consulting.com> wrote:
>>>>>
>>>>> Another can of worms is the pinctrl nodes.
>>>>
>>>> Yes... new pinctrl data would need to trigger adding new data to
>>>> pinctrl. I don't know if the pinctrl api supports that.
>>>
>>> The actual pins stay the same, just their configuration
>>> changes. AFAIK all that is already supported using the
>>> pinctrl framework.
>>>
>>> For example, considering hotplugging capes on the beaglebone:
...
>> That assumes that for a particular external bus, certain pins aren't
>> already shared with functions already on the board, for instance if an
>> I²C bus brought out to the external bus already has a chip connected
>> to it.
> 
> This is our case on the bone. We don't enable the peripheral until
> a cape that references it is enabled.
> 
> I don't think that very big changes are going to be needed TBH.
...
> Ideally if we could do this in the cape definition:
> 
> 	cape_pinmux {
> 		parent = <&am3358_pinmux>;

I think the cape overlay would simply add nodes to the existing pin
controller node, so I'd presume you would replace the two lines
immediately above with:

am3358_pinmux: pinmux {

> 
>                 bone_dvi_cape_led_pins: pinmux_bone_dvi_cape_led_pins {
>                         pinctrl-single,pins = <
>                                 0x48 0x07       /* gpmc_a2.gpio1_18, OUTPUT | MODE7 */
>                                 0x4c 0x07       /* gpmc_a3.gpio1_19, OUTPUT | MODE7 */
>                         >;
> 	};
> 
>         pinctrl-0 = <&bone_geiger_cape_pins>;

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ