Re: [PATCH] dt-bindings: Drop type references on common properties

2021-03-17 Thread Srinivas Kandagatla
rd Cc: Linus Walleij Cc: Bartosz Golaszewski Cc: Bjorn Andersson Cc: Krzysztof Kozlowski Cc: Marc Kleine-Budde Cc: "David S. Miller" Cc: Jakub Kicinski Cc: Srinivas Kandagatla Cc: Ohad Ben-Cohen Cc: Mark Brown Cc: Cheng-Yi Chiang Cc: Benson Leung Cc: Zhang Rui Cc: Daniel Lezcano Cc: Greg K

Re: NVMEM address DT post processing [Was: Re: [PATCH net 0/3] add property "nvmem_macaddr_swap" to swap macaddr bytes order]

2019-05-13 Thread Srinivas Kandagatla
On 11/05/2019 15:44, Petr Štetiar wrote: }; +Another example where we've MAC address for eth1 stored in the NOR EEPROM as +following sequence of bytes (output of hexdump -C /dev/mtdX): + + 0180 66 61 63 5f 6d 61 63 20 3d 20 44 34 3a 45 45 3a |fac_mac = D4:EE:| + 0190 3

Re: NVMEM address DT post processing [Was: Re: [PATCH net 0/3] add property "nvmem_macaddr_swap" to swap macaddr bytes order]

2019-05-13 Thread Srinivas Kandagatla
On 13/05/2019 10:07, Petr Štetiar wrote: Srinivas Kandagatla [2019-05-13 09:25:55]: Hi, My initial idea was to add compatible strings to the cell so that most of the encoding information can be derived from it. For example if the encoding representing in your example is pretty standard or

Re: NVMEM address DT post processing [Was: Re: [PATCH net 0/3] add property "nvmem_macaddr_swap" to swap macaddr bytes order]

2019-05-14 Thread Srinivas Kandagatla
On 13/05/2019 12:16, Petr Štetiar wrote: Srinivas Kandagatla [2019-05-13 11:06:48]: On 13/05/2019 10:07, Petr Štetiar wrote: Srinivas Kandagatla [2019-05-13 09:25:55]: My initial idea was to add compatible strings to the cell so that most of the encoding information can be derived from

Re: NVMEM address DT post processing [Was: Re: [PATCH net 0/3] add property "nvmem_macaddr_swap" to swap macaddr bytes order]

2019-05-15 Thread Srinivas Kandagatla
On 14/05/2019 18:44, Petr Štetiar wrote: Srinivas Kandagatla [2019-05-14 16:13:22]: On 13/05/2019 12:16, Petr Štetiar wrote: Srinivas Kandagatla [2019-05-13 11:06:48]: On 13/05/2019 10:07, Petr Štetiar wrote: Srinivas Kandagatla [2019-05-13 09:25:55]: My initial idea was to add

Re: [PATCH] remove lots of IS_ERR_VALUE abuses

2016-05-27 Thread Srinivas Kandagatla
nvmem part, Acked-by: Srinivas Kandagatla drivers/tty/serial/amba-pl011.c | 2 +- drivers/tty/serial/sprd_serial.c | 2 +- drivers/video/fbdev/da8xx-fb.c | 4 ++-- fs/afs/write.c | 4 fs

[PATCH 1/3] ath10k: remove multiple defines of DIAG_TRANSFER_LIMIT

2017-01-23 Thread Srinivas Kandagatla
DIAG_TRANSFER_LIMIT is redefined with same value and comments just below this entry, remove this duplicate entry. Signed-off-by: Srinivas Kandagatla --- drivers/net/wireless/ath/ath10k/pci.h | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/pci.h b/drivers

[PATCH 3/3] ath10k: fix typo in addr calculation

2017-01-23 Thread Srinivas Kandagatla
CORE_CTRL_ADDRESS is offset in register address space, it does not make sense to OR it to derive the final address. It looks like its a typo, so fix it. Signed-off-by: Srinivas Kandagatla --- drivers/net/wireless/ath/ath10k/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 2/3] ath10k: use dma_zalloc_coherent()

2017-01-23 Thread Srinivas Kandagatla
use dma_zalloc_coherent() instead of dma_alloc_coherent and memset(). Signed-off-by: Srinivas Kandagatla --- drivers/net/wireless/ath/ath10k/ce.c | 9 + drivers/net/wireless/ath/ath10k/pci.c | 3 +-- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/net/wireless