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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a687cb9a-9e18-dc8f-852e-81ad5cc22216@denx.de>
Date:   Fri, 21 Dec 2018 03:04:55 +0100
From:   Marek Vasut <marex@...x.de>
To:     Tristram.Ha@...rochip.com
Cc:     f.fainelli@...il.com, andrew@...n.ch, Woojung.Huh@...rochip.com,
        netdev@...r.kernel.org
Subject: Re: [RFT][PATCH 6/7] net: dsa: microchip: Initial SPI regmap support

On 12/21/2018 02:30 AM, Tristram.Ha@...rochip.com wrote:
>> +static const struct regmap_config ksz9477_regmap_config = {
>> +	.reg_bits = 32,
>> +	.val_bits = 8,
>> +	.max_register = 0x100,
>> +	.cache_type = REGCACHE_RBTREE,
>> +	.read_flag_mask = KS_SPIOP_RD << SPI_ADDR_SHIFT,
>> +	.write_flag_mask = KS_SPIOP_WR << SPI_ADDR_SHIFT,
>> +	.reg_format_endian = REGMAP_ENDIAN_BIG,
>> +	.val_format_endian = REGMAP_ENDIAN_BIG,
>> +};
> 
> As you have KSZ8795 can you verify regmap works?

I just sent V2 that works on KSZ8795 , give it a go.

> I think you need to add reg_shift.
> 


-- 
Best regards,
Marek Vasut

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ