[linux-yocto][v6.1/standard/preempt-rt/sdkv6.1/xlnx-soc][PATCH] arm64: zynqmp: add "xlnx,nr-outputs" property for clk_wiz_0 node

2023-06-12 Thread quanyang.wang via lists.yoctoproject.org
From: Quanyang Wang 

In clk-xlnx-clock-wizard.c, the function clk_wzrd_probe will check if
there is "xlnx,nr-outputs" property, if not, the probe will return
error. Add "xlnx,nr-outputs" property for clk_wiz_0 node to avoid probe
failure.

Signed-off-by: Quanyang Wang 
---
Hi Bruce,
Would you please help merge this patch to the branches:
v6.1/standard/preempt-rt/sdkv6.1/xlnx-soc
v6.1/standard/sdkv6.1/xlnx-soc
Thanks,
Quanyang
---
 arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0-canfd.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0-canfd.dts 
b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0-canfd.dts
index 73ba3abd7aa89..d5b54d4a98d12 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0-canfd.dts
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0-canfd.dts
@@ -69,6 +69,7 @@ clk_wiz_0: clk_wiz@8001 {
compatible = "xlnx,clk-wiz-6.0", "xlnx,clocking-wizard";
reg = <0x0 0x8001 0x0 0x1>;
speed-grade = <2>;
+   xlnx,nr-outputs = <7>;
};
psu_ctrl_ipi: PERIPHERAL@ff38 {
compatible = "xlnx,PERIPHERAL-1.0";
-- 
2.36.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12744): 
https://lists.yoctoproject.org/g/linux-yocto/message/12744
Mute This Topic: https://lists.yoctoproject.org/mt/99499864/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto][yocto-kernel-cache yocto-6.1][PATCH 4/4] nxp-imx8: Enable USB_CHIPIDEA related config

2023-06-12 Thread Bruce Ashfield
I haven't done any merging yet.

You sent this on a Friday, and it is now only the end of day Monday
for me, so a ping is a bit premature.

Bruce

On Mon, Jun 12, 2023 at 10:22 PM Wang, Xiaolei
 wrote:
>
> Hi bruce
>
> please help merge this patch
>
> thanks
> xiaolei
> 
> From: linux-yocto@lists.yoctoproject.org  
> on behalf of Xiaolei Wang via lists.yoctoproject.org 
> 
> Sent: Friday, June 9, 2023 5:42 PM
> To: bruce.ashfi...@gmail.com 
> Cc: linux-yocto@lists.yoctoproject.org 
> Subject: [linux-yocto][yocto-kernel-cache yocto-6.1][PATCH 4/4] nxp-imx8: 
> Enable USB_CHIPIDEA related config
>
> Enable USB_CHIPIDEA related config for nxp-imx8.
>
> Signed-off-by: Xiaolei Wang 
> ---
>  bsp/nxp-imx8/nxp-imx8.cfg | 7 +++
>  1 file changed, 7 insertions(+)
>
> diff --git a/bsp/nxp-imx8/nxp-imx8.cfg b/bsp/nxp-imx8/nxp-imx8.cfg
> index 1581cdc6..b116ae2d 100644
> --- a/bsp/nxp-imx8/nxp-imx8.cfg
> +++ b/bsp/nxp-imx8/nxp-imx8.cfg
> @@ -416,6 +416,13 @@ CONFIG_USB_HCD_TEST_MODE=y
>  CONFIG_USB_ACM=m
>  CONFIG_USB_STORAGE=y
>  CONFIG_USB_UAS=y
> +CONFIG_USB_CHIPIDEA=y
> +CONFIG_USB_CHIPIDEA_UDC=y
> +CONFIG_USB_CHIPIDEA_HOST=y
> +CONFIG_USB_CONFIGFS=m
> +CONFIG_USB_G_NCM=m
> +CONFIG_USB_G_ACM_MS=m
> +CONFIG_USB_MASS_STORAGE=m
>
>  #
>  # Typec driver
> --
> 2.25.1
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12743): 
https://lists.yoctoproject.org/g/linux-yocto/message/12743
Mute This Topic: https://lists.yoctoproject.org/mt/99498058/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: 
https://lists.yoctoproject.org/g/linux-yocto/leave/6687884/21656/624485779/xyzzy
 [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto][yocto-kernel-cache yocto-6.1][PATCH 4/4] nxp-imx8: Enable USB_CHIPIDEA related config

2023-06-12 Thread Xiaolei Wang via lists.yoctoproject.org
Hi bruce

please help merge this patch

thanks
xiaolei

From: linux-yocto@lists.yoctoproject.org  
on behalf of Xiaolei Wang via lists.yoctoproject.org 

Sent: Friday, June 9, 2023 5:42 PM
To: bruce.ashfi...@gmail.com 
Cc: linux-yocto@lists.yoctoproject.org 
Subject: [linux-yocto][yocto-kernel-cache yocto-6.1][PATCH 4/4] nxp-imx8: 
Enable USB_CHIPIDEA related config

Enable USB_CHIPIDEA related config for nxp-imx8.

Signed-off-by: Xiaolei Wang 
---
 bsp/nxp-imx8/nxp-imx8.cfg | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/bsp/nxp-imx8/nxp-imx8.cfg b/bsp/nxp-imx8/nxp-imx8.cfg
index 1581cdc6..b116ae2d 100644
--- a/bsp/nxp-imx8/nxp-imx8.cfg
+++ b/bsp/nxp-imx8/nxp-imx8.cfg
@@ -416,6 +416,13 @@ CONFIG_USB_HCD_TEST_MODE=y
 CONFIG_USB_ACM=m
 CONFIG_USB_STORAGE=y
 CONFIG_USB_UAS=y
+CONFIG_USB_CHIPIDEA=y
+CONFIG_USB_CHIPIDEA_UDC=y
+CONFIG_USB_CHIPIDEA_HOST=y
+CONFIG_USB_CONFIGFS=m
+CONFIG_USB_G_NCM=m
+CONFIG_USB_G_ACM_MS=m
+CONFIG_USB_MASS_STORAGE=m

 #
 # Typec driver
--
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12742): 
https://lists.yoctoproject.org/g/linux-yocto/message/12742
Mute This Topic: https://lists.yoctoproject.org/mt/99498058/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[linux-yocto] [PATCH] Revert 'spi: spi-octeontx2: fix erase sector error by limit spi buswidth'

2023-06-12 Thread Ruiqiang Hao via lists.yoctoproject.org
From: Ruiqiang Hao 

Revert commit e223229ee63803fc233885f686a7890453be9587

Commit e223229ee638(spi: spi-octeontx2: fix erase sector error by limit
spi buswidth) try to fix erase sector error. After testing, spi-nor can
work normally without this commit now. It is not needed and causes follow
problem: 'spi spi0.0: setup: ignoring unsupported mode bits a00'

Signed-off-by: Ruiqiang Hao 
---
 drivers/spi/spi-octeontx2.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/spi/spi-octeontx2.c b/drivers/spi/spi-octeontx2.c
index 4edda6c1f74b..9ac5a6f37510 100644
--- a/drivers/spi/spi-octeontx2.c
+++ b/drivers/spi/spi-octeontx2.c
@@ -390,7 +390,9 @@ static int octeontx2_spi_probe(struct pci_dev *pdev,
 
master->num_chipselect = 4;
master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_CS_HIGH |
-   SPI_LSB_FIRST | SPI_3WIRE;
+   SPI_LSB_FIRST | SPI_3WIRE |
+   SPI_TX_DUAL | SPI_RX_DUAL |
+   SPI_TX_QUAD | SPI_RX_QUAD;
master->transfer_one_message = octeontx2_spi_transfer_one_message;
master->bits_per_word_mask = SPI_BPW_MASK(8);
master->max_speed_hz = OCTEONTX2_SPI_MAX_CLOCK_HZ;
-- 
2.35.5


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12741): 
https://lists.yoctoproject.org/g/linux-yocto/message/12741
Mute This Topic: https://lists.yoctoproject.org/mt/99481785/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[linux-yocto][linux-yocto v5.15] kernel code for marvell cn96xx

2023-06-12 Thread Ruiqiang Hao via lists.yoctoproject.org
Hi Bruce,

Please help to merge this patch into our linux-yocto repo.

repo:
linux-yocto
branch:
v5.15/standard/cn-sdkv5.4/octeon
v5.15/standard/preempt-rt/cn-sdkv5.4/octeon

Thanks,
Ruiqiang

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12740): 
https://lists.yoctoproject.org/g/linux-yocto/message/12740
Mute This Topic: https://lists.yoctoproject.org/mt/99481784/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto] [yocto-kernel-cache][master/yocto-6.1 PATCH 2/2] efi: add ACPI enablement

2023-06-12 Thread Andrei Gherzan
Hi all,

On Tue, Jun 6, 2023 at 4:33 PM Clément Péron  wrote:

> Hi,
>
> On Tue, 6 Jun 2023 at 17:32, Clément Péron via lists.yoctoproject.org
>  wrote:
> >
> > Hi,
> >
> > On 03/03/2023 17:28, Jon Mason wrote:
> > > /ATA
> > >
> > > On Wed, Mar 1, 2023 at 10:38 AM Bruce Ashfield <
> bruce.ashfi...@gmail.com> wrote:
> > >>
> > >> Patch 1/2 looks fine, but 2/2 reverts the following commit:
> > >>
> > >> ==
> > >> commit 41751659d0650c4effdd598f26febba39aeaf082
> > >> Author: Andrei Gherzan 
> > >> Date:   Mon Aug 22 19:55:10 2022 +0200
> > >>
> > >>  efi.cfg: Drop ACPI dependency
> > >>
> > >>  On X86 this will have no impact as CONFIG_ACPI is enabled by
> default. On
> > >>  the other hand, ARM64 would be affected as they don't have the
> same
> > >>  default. The defconfig for arm64 recommends CONFIG_ACPI and this
> patch
> > >>  follows this recommendation in the qemuarm64 bsp configuration
> to fix
> > >>  ACPI-only EFI boots on this arch.
> > >>
> > >>  arm (32bit) would also be unaffected as there is no ACPI support
> there
> > >>  at all. And this unconditional drop (CONFIG_ACPI) will actually
> fix a
> > >>  configuration warning when enabling EFI on a arm (32bit) machine:
> > >>
> > >>  [INFO]: config 'CONFIG_ACPI' was set, but it wasn't assignable,
> check (parent) dependencies
> > >
> > > What's weird is that I'm not seeing this issue at all, and I'm
> > > compiling with and without efi enabled.  See
> > >
> https://git.yoctoproject.org/meta-arm/tree/meta-arm/recipes-kernel/linux/linux-yocto_%25.bbappend
> > >
> https://git.yoctoproject.org/meta-arm/tree/meta-arm/recipes-kernel/linux/files/efi.cfg
> > >
> > > with edk2 (uefi)
> > > https://gitlab.com/jonmason00/meta-arm/-/jobs/3868649253
> > > without edk2 (using u-boot)
> > > https://gitlab.com/jonmason00/meta-arm/-/jobs/3868649241
> > >
> > > For giggles, I added the same efi.cfg to qemuarmv5 to see if it would
> > > cause an issue (as maybe the sstate is hiding the warnings), and I
> > > don't see it there either.  Is there a better way than this to
> > > replicate it?
> > >
> > > Also, if this one is holding the other back, feel free to drop and
> > > I'll mess with it again later.
> >
> > +Andrei Gherzan to this mail,
> Resent with proper email.
>
> >
> > I'm also facing the same issue, with a qemuarm64 board MACHINE_FEATURES
> > have the EFI but it refuses to boot and I needed to manually set
> > CONFIG_ACPI as it was missing to my kernel config.
> >
> > @Andrei could you explain which ACPI-only ARM64 EFI boots would break
> > with this patch?
>

Hard for me to remember the details after so long. I'm pretty sure it was
for one of the QEMU EFI machines part of the Oniro project (
https://gitlab.eclipse.org/eclipse/oniro-core/oniro/-/tree/kirkstone/meta-oniro-core/conf/machine).
I am not active on that project anymore so I won't be able to assist more
with logs and reproducible steps. Still, I'll add Stefan to this thread,
who might be able to help.

Andrei

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12739): 
https://lists.yoctoproject.org/g/linux-yocto/message/12739
Mute This Topic: https://lists.yoctoproject.org/mt/97296889/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-