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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 04 Apr 2014 07:38:00 +0200
From:	Michal Simek <>
To:	Harini Katakam <>
CC:	Mark Brown <>,
	Punnaiah Choudary Kalluri 
	Grant Likely <>,
	Rob Herring <>,
	Pawel Moll <>,
	Mark Rutland <>,
	"" <>,
	Kumar Gala <>,,
	"" <>,
	"" <>,
	"" <>,
	Michal Simek <>,
	Punnaiah Choudary <>,
	punnaiah choudary kalluri <>,
	Punnaiah Choudary Kalluri <>
Subject: Re: [PATCH 1/2] devicetree: Add devicetree bindings documentation
 for Zynq Quad SPI

Hi Mark and Harini,

On 04/04/2014 05:01 AM, Harini Katakam wrote:
> Hi Mark,
> On Fri, Apr 4, 2014 at 2:31 AM, Mark Brown <> wrote:
>> On Thu, Apr 03, 2014 at 10:33:06PM +0530, Punnaiah Choudary Kalluri wrote:
>>> +Optional properties:
>>> +- num-cs             : Number of chip selects used.
>> What does this translate into?
>>> +             num-cs = /bits/ 16 <1>;
>> Why the odd specification in the example - why not just specify it as a
>> number?
> Same as discussed on SPI cadence thread.

I have discussed this briefly with Rob and it is more up to Mark
if he wants to have this with 16bit width or not. I expect that
"num-cs" is getting to be shared across spi drivers
and maybe in near future you will move "num-cs" of probe to spi core
that's why it should stay 32bit for easier integration.

I have asked Harini some weeks ago to try to do it just with
of_property_read_u16 because you can directly setup
master->num_chipselect and you don't need to read it as u32
and saving to u16.


Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu -
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform

Download attachment "signature.asc" of type "application/pgp-signature" (264 bytes)

Powered by blists - more mailing lists