Re: Device tree node to major/minor?

2012-11-22 Thread Grant Likely
On Wed, Nov 21, 2012 at 8:48 PM, Simon Glass wrote: > Hi Grant, > > On Wed, Nov 21, 2012 at 7:47 AM, Grant Likely > wrote: >> On Tue, 20 Nov 2012 15:48:24 -0800, Simon Glass wrote: >>> Hi Grant, >>> >>> On Tue, Nov 20, 2012 at 2:32 PM, Grant Likely >>> wrote: >>> > On Tue, Nov 20, 2012 at

Re: Device tree node to major/minor?

2012-11-22 Thread Grant Likely
On Wed, Nov 21, 2012 at 8:48 PM, Simon Glass s...@chromium.org wrote: Hi Grant, On Wed, Nov 21, 2012 at 7:47 AM, Grant Likely grant.lik...@secretlab.ca wrote: On Tue, 20 Nov 2012 15:48:24 -0800, Simon Glass s...@chromium.org wrote: Hi Grant, On Tue, Nov 20, 2012 at 2:32 PM, Grant Likely

Re: Device tree node to major/minor?

2012-11-21 Thread Simon Glass
Hi Grant, On Wed, Nov 21, 2012 at 7:47 AM, Grant Likely wrote: > On Tue, 20 Nov 2012 15:48:24 -0800, Simon Glass wrote: >> Hi Grant, >> >> On Tue, Nov 20, 2012 at 2:32 PM, Grant Likely >> wrote: >> > On Tue, Nov 20, 2012 at 10:23 PM, Simon Glass wrote: >> >> Hi, >> >> >> >> I hope this is a

Re: Device tree node to major/minor?

2012-11-21 Thread Grant Likely
On Tue, 20 Nov 2012 15:48:24 -0800, Simon Glass wrote: > Hi Grant, > > On Tue, Nov 20, 2012 at 2:32 PM, Grant Likely > wrote: > > On Tue, Nov 20, 2012 at 10:23 PM, Simon Glass wrote: > >> Hi, > >> > >> I hope this is a stupid question with an easy answer, but I cannot find it. > >> > >> I

Re: Device tree node to major/minor?

2012-11-21 Thread Grant Likely
On Tue, 20 Nov 2012 15:48:24 -0800, Simon Glass s...@chromium.org wrote: Hi Grant, On Tue, Nov 20, 2012 at 2:32 PM, Grant Likely grant.lik...@secretlab.ca wrote: On Tue, Nov 20, 2012 at 10:23 PM, Simon Glass s...@chromium.org wrote: Hi, I hope this is a stupid question with an easy

Re: Device tree node to major/minor?

2012-11-21 Thread Simon Glass
Hi Grant, On Wed, Nov 21, 2012 at 7:47 AM, Grant Likely grant.lik...@secretlab.ca wrote: On Tue, 20 Nov 2012 15:48:24 -0800, Simon Glass s...@chromium.org wrote: Hi Grant, On Tue, Nov 20, 2012 at 2:32 PM, Grant Likely grant.lik...@secretlab.ca wrote: On Tue, Nov 20, 2012 at 10:23 PM,

Re: Device tree node to major/minor?

2012-11-20 Thread Simon Glass
Hi Grant, On Tue, Nov 20, 2012 at 2:32 PM, Grant Likely wrote: > On Tue, Nov 20, 2012 at 10:23 PM, Simon Glass wrote: >> Hi, >> >> I hope this is a stupid question with an easy answer, but I cannot find it. >> >> I have a device tree node for an mmc block device and I want to use >> that block

Re: Device tree node to major/minor?

2012-11-20 Thread Grant Likely
On Tue, Nov 20, 2012 at 10:23 PM, Simon Glass wrote: > Hi, > > I hope this is a stupid question with an easy answer, but I cannot find it. > > I have a device tree node for an mmc block device and I want to use > that block device from another driver. I have a phandle which lets me > get the node

Device tree node to major/minor?

2012-11-20 Thread Simon Glass
Hi, I hope this is a stupid question with an easy answer, but I cannot find it. I have a device tree node for an mmc block device and I want to use that block device from another driver. I have a phandle which lets me get the node of the mmc device, but I am not sure how to convert that into a

Device tree node to major/minor?

2012-11-20 Thread Simon Glass
Hi, I hope this is a stupid question with an easy answer, but I cannot find it. I have a device tree node for an mmc block device and I want to use that block device from another driver. I have a phandle which lets me get the node of the mmc device, but I am not sure how to convert that into a

Re: Device tree node to major/minor?

2012-11-20 Thread Grant Likely
On Tue, Nov 20, 2012 at 10:23 PM, Simon Glass s...@chromium.org wrote: Hi, I hope this is a stupid question with an easy answer, but I cannot find it. I have a device tree node for an mmc block device and I want to use that block device from another driver. I have a phandle which lets me

Re: Device tree node to major/minor?

2012-11-20 Thread Simon Glass
Hi Grant, On Tue, Nov 20, 2012 at 2:32 PM, Grant Likely grant.lik...@secretlab.ca wrote: On Tue, Nov 20, 2012 at 10:23 PM, Simon Glass s...@chromium.org wrote: Hi, I hope this is a stupid question with an easy answer, but I cannot find it. I have a device tree node for an mmc block device