Re: [PATCH] mmc: core: Extend sysfs with OCR register

2016-07-12 Thread bojan prtvar
Hi Ulf, On Tue, Jul 12, 2016 at 11:53 AM, Ulf Hansson wrote: > I just realized that the OCR register is also available for SD cards. > > Could you perhaps cook a patch which adds this to sysfs for SD cards as well!? > Sure. I'll do it tomorrow. Regards, Bojan

Re: [PATCH] mmc: core: Extend sysfs with OCR register

2016-07-12 Thread Ulf Hansson
On 6 July 2016 at 18:21, Ulf Hansson wrote: > On 4 July 2016 at 13:56, Bojan Prtvar wrote: >> Make operation conditions register (OCR) easily accessible from user space. >> >> Signed-off-by: Bojan Prtvar > > Thanks, applied for next! Amended the changelog with the explanation > why this change i

Re: [PATCH] mmc: core: Extend sysfs with OCR register

2016-07-06 Thread Ulf Hansson
On 4 July 2016 at 13:56, Bojan Prtvar wrote: > Make operation conditions register (OCR) easily accessible from user space. > > Signed-off-by: Bojan Prtvar Thanks, applied for next! Amended the changelog with the explanation why this change is wanted. Kind regards Uffe > --- > Documentation/mm

Re: [PATCH] mmc: core: Extend sysfs with OCR register

2016-07-04 Thread Wolfram Sang
> Registers CID and CSD are already exported through sysfs so let's make > this interface complete by adding missing OCR register. This sentence was missing for me, thanks. > Do I need to send v2 with updated change log? Ulf will tell us. signature.asc Description: PGP signature

Re: [PATCH] mmc: core: Extend sysfs with OCR register

2016-07-04 Thread bojan prtvar
Hi, On Mon, Jul 4, 2016 at 4:13 PM, Wolfram Sang wrote: >> Make operation conditions register (OCR) easily accessible from user space. >> > You described "what" above. Can you add the "why", too? > According to JEDEC v5.0 chapter 7 the OCR, CID and CSD registers carry the Device/content specifi

Re: [PATCH] mmc: core: Extend sysfs with OCR register

2016-07-04 Thread Wolfram Sang
Bojan, On Mon, Jul 04, 2016 at 01:56:55PM +0200, Bojan Prtvar wrote: > Make operation conditions register (OCR) easily accessible from user space. > > Signed-off-by: Bojan Prtvar You described "what" above. Can you add the "why", too? Regards, Wolfram signature.asc Description: PGP signa

[PATCH] mmc: core: Extend sysfs with OCR register

2016-07-04 Thread Bojan Prtvar
Make operation conditions register (OCR) easily accessible from user space. Signed-off-by: Bojan Prtvar --- Documentation/mmc/mmc-dev-attrs.txt | 1 + drivers/mmc/core/mmc.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Documentation/mmc/mmc-dev-attrs.txt b/Documentation/m