Trouble with allocating memory on platform driver

2020-04-04 Thread s.achte...@rug.nl
Hello list, Trying to create a device driver for a raspberry pi zero (BCM2835) to control a gpio and an spi device. This eventually will be done in a FIQ interrupt handler. A simplified version of this batradio-driver can be found at:

Re: how to check regmap start address

2020-04-04 Thread Tomek The Messenger
Is it somehow possible to say to kernel user in probe function that when parsing from device tree such entry: reg = <0 0x 0 0x4>; red-names = "some_name"; inform user that he can set in device tree only 32 bits of address? probe( struct resource *res; res =