Re: [PATCH 1/1] clk: fix clk_enable() parent enable

2024-07-31 Thread Maxim Kochetkov
26.07.2024 15:03, Maxim Kochetkov wrote: Move clkp->enable_count++ after clk_enable(clkp->dev->parent). It allows the parent clock increment its enable counters for proper disable sequence. Signed-off-by: Maxim Kochetkov --- Please ignore this patch. Clock enable/disable sequence is

Re: [PATCH 1/1] riscv: define find_{first,next}_zero_bit in asm/bitops.h

2024-07-29 Thread Maxim Kochetkov
27.07.2024 13:35, E Shattow wrote: Is this a problem in Linux upstream? or specific to U-Boot, and is it a regression? refrerence https://lore.kernel.org/u-boot/20240504183354.GL2568172@bill-the-cat/ and reference https://lore.kernel.org/u-boot/bjxpr01mb0855813dd38ef86cca6dd5c8e6...@bjxpr01mb08

[PATCH 1/1] riscv: define find_{first,next}_zero_bit in asm/bitops.h

2024-07-26 Thread Maxim Kochetkov
These seem to be missing, and trying to build fastboot cmd without them is causing errors due to these being missing. Signed-off-by: Maxim Kochetkov --- arch/riscv/include/asm/bitops.h | 40 + 1 file changed, 40 insertions(+) diff --git a/arch/riscv/include/asm

[PATCH 1/1] clk: fix clk_enable() parent enable

2024-07-26 Thread Maxim Kochetkov
Move clkp->enable_count++ after clk_enable(clkp->dev->parent). It allows the parent clock increment its enable counters for proper disable sequence. Signed-off-by: Maxim Kochetkov --- drivers/clk/clk-uclass.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git

[PATCH 1/1] serial: ns16550: Add clock ctrl to driver

2024-07-26 Thread Maxim Kochetkov
Add code to get all clock inputs as in serial DT node. A clock property is an optional feature, so do not fail if a clock property is not present. If a clock property is discovered, then use it to get clock. It marks clock as used and prevents disabling shared clocks. Signed-off-by: Maxim

[PATCH 1/1] net: axi_emac: Convert to ofnode functions

2023-08-11 Thread Maxim Kochetkov
FDT functions is not working when OF_LIVE is enabled. Convert fdt parsing functions to ofnode parsing functions. Signed-off-by: Maxim Kochetkov --- drivers/net/xilinx_axi_emac.c | 50 +-- 1 file changed, 24 insertions(+), 26 deletions(-) diff --git a/drivers/net

[PATCH 1/1] i2c: designware: build PCI support only for X86

2023-07-27 Thread Maxim Kochetkov
designware_i2c_pci.c includes which is located at arch/x86/include/asm/lpss.h and available only for X86. So enable CONFIG_SYS_I2C_DW only for X86. Fixes: 070a94600855 ("i2c: designware: Add Apollo Lake support") Signed-off-by: Maxim Kochetkov --- drivers/i2c/Makefile | 2 ++ 1 file

[PATCH] mtd: rawnand: fsl_ifc: fix FSL NAND driver to read all ONFI parameter pages

2021-03-12 Thread Maxim Kochetkov
ad the two redundant copies which are mandatory in the specification. Signed-off-by: Jane Wan Signed-off-by: Boris Brezillon Signed-off-by: Maxim Kochetkov --- drivers/mtd/nand/raw/fsl_ifc_nand.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers/mt

[PATCH] mtd: rawnand: fsl_ifc: fix FSL NAND driver to read all ONFI parameter pages

2021-03-11 Thread Maxim Kochetkov
ad the two redundant copies which are mandatory in the specification. Signed-off-by: Jane Wan Signed-off-by: Boris Brezillon Signed-off-by: Maxim Kochetkov --- drivers/mtd/nand/raw/fsl_ifc_nand.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers/mt