Re: [PATCH 2/2] rtc: Add Cadence RTC driver

2019-01-11 Thread Janek Kotas
Hi Alexandre, Thank you for your reply. > On 10 Jan 2019, at 23:27, Alexandre Belloni > wrote: > > Hello, > > On 08/01/2019 12:22:42+, Jan Kotas wrote: >> drivers/rtc/Kconfig | 10 ++ >> drivers/rtc/Makefile | 1 + >> drivers/rtc/rtc-cadence.c | 404 >> +++

Re: [PATCH v2 2/2] gpio: Add Cadence GPIO driver

2018-12-18 Thread Janek Kotas
> On 18 Dec 2018, at 13:50, Bartosz Golaszewski > wrote: > > > pon., 17 gru 2018 o 23:22 Linus Walleij napisaƂ(a): >> >> On Mon, Dec 17, 2018 at 4:51 PM Bartosz Golaszewski >> wrote: >> >>> The driver looks good but is there any particular reason not to use >>> regmap for register IO? >>

Re: [PATCH 2/2] clk: Add Fixed MMIO clock driver

2018-11-15 Thread Janek Kotas
Thanks for the reply. Jan > On 14 Nov 2018, at 23:19, Stephen Boyd wrote: > > Quoting Janek Kotas (2018-11-14 07:24:39) >> This patch adds a driver for Fixed MMIO clock. >> The driver reads a clock frequency value from a single 32-bit memory >> mapped register and r

[PATCH 2/2] clk: Add Fixed MMIO clock driver

2018-11-14 Thread Janek Kotas
This patch adds a driver for Fixed MMIO clock. The driver reads a clock frequency value from a single 32-bit memory mapped register and registers it as a fixed rate clock. It can be enabled with COMMON_CLK_FIXED_MMIO Kconfig option. Signed-off-by: Jan Kotas --- drivers/clk/Kconfig | 6

[PATCH 0/2] clk: Add driver and bindings for Fixed MMIO clock

2018-11-14 Thread Janek Kotas
This patchset adds a driver support for Fixed Memory Mapped IO clock. The driver reads a clock frequency value from a single 32-bit memory mapped register and registers it as a fixed rate clock. It can be useful for prototyping Linux on various hardware platforms. Jan Kotas (2): dt-bindings: c

[PATCH 1/2] dt-bindings: clk: Add bindings for Fixed MMIO clock

2018-11-14 Thread Janek Kotas
This patch adds a DT binding documentation for Fixed Memory Mapped IO clocks. Signed-off-by: Jan Kotas --- .../devicetree/bindings/clock/fixed-mmio-clock.txt | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/fixed-mmio-clock

Re: [PATCH v2 1/2] dt-bindings: ufs: Add UFS platform driver for Cadence UFS

2018-07-25 Thread Janek Kotas
Thank you a lot for your comments, I will fix these in the next version of the patch. Jan On 16 Jul 2018, at 18:11, Rob Herring mailto:r...@kernel.org>> wrote: On Thu, Jul 12, 2018 at 11:58:04AM +, Janek Kotas wrote: This patch adds a device tree platform driver description for C

[PATCH v2 1/2] dt-bindings: ufs: Add UFS platform driver for Cadence UFS

2018-07-12 Thread Janek Kotas
This patch adds a device tree platform driver description for Cadence UFS Controller. Signed-off-by: Jan Kotas --- .../devicetree/bindings/ufs/cdns,ufshc.txt | 31 ++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/ufs/cdns,ufshc

[PATCH] spi: cadence: Change usleep_range() to udelay(), for atomic context

2018-06-04 Thread Janek Kotas
The path "spi: cadence: Add usleep_range() for cdns_spi_fill_tx_fifo()" added a usleep_range() function call, which cannot be used in atomic context. However the cdns_spi_fill_tx_fifo() function can be called during an interrupt which may result in a kernel panic: BUG: scheduling while atomic: gre