diff mbox series

[4/8] ipq806x: Enable CONFIG_IPQ_LCC_806X

Message ID 20230102232534.592501-4-computersforpeace@gmail.com
State Superseded
Delegated to: Petr Štetiar
Headers show
Series [1/8] base-files: Remove nand.sh dependency from emmc upgrade | expand

Commit Message

Brian Norris Jan. 2, 2023, 11:25 p.m. UTC
Clock controller used by some IP blocks (e.g., LPASS / audio) on
IPQ8064.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
---

 target/linux/ipq806x/config-5.15 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Christian Marangi Jan. 4, 2023, 12:52 p.m. UTC | #1
On Mon, Jan 02, 2023 at 03:25:30PM -0800, Brian Norris wrote:
> Clock controller used by some IP blocks (e.g., LPASS / audio) on
> IPQ8064.

Since this will be only for 2 target, should we consider introducing ko
for LPASS? They are not mandatory for boot so I think they should be
able to get loaded correctly as kmods.

> 
> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
> ---
> 
>  target/linux/ipq806x/config-5.15 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/target/linux/ipq806x/config-5.15 b/target/linux/ipq806x/config-5.15
> index 5082bc840be3..31bb729c85e9 100644
> --- a/target/linux/ipq806x/config-5.15
> +++ b/target/linux/ipq806x/config-5.15
> @@ -207,7 +207,7 @@ CONFIG_IOMMU_SUPPORT=y
>  # CONFIG_IPQ_GCC_6018 is not set
>  CONFIG_IPQ_GCC_806X=y
>  # CONFIG_IPQ_GCC_8074 is not set
> -# CONFIG_IPQ_LCC_806X is not set
> +CONFIG_IPQ_LCC_806X=y
>  CONFIG_IRQCHIP=y
>  CONFIG_IRQ_DOMAIN=y
>  CONFIG_IRQ_DOMAIN_HIERARCHY=y
> -- 
> 2.39.0
> 
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Robert Marko Jan. 4, 2023, 1:35 p.m. UTC | #2
On Wed, 4 Jan 2023 at 14:03, Christian Marangi <ansuelsmth@gmail.com> wrote:
>
> On Mon, Jan 02, 2023 at 03:25:30PM -0800, Brian Norris wrote:
> > Clock controller used by some IP blocks (e.g., LPASS / audio) on
> > IPQ8064.
>
> Since this will be only for 2 target, should we consider introducing ko
> for LPASS? They are not mandatory for boot so I think they should be
> able to get loaded correctly as kmods.

Yeah, just package it along the user kmod and include for devices that use it.

Regards,
Robert
>
> >
> > Signed-off-by: Brian Norris <computersforpeace@gmail.com>
> > ---
> >
> >  target/linux/ipq806x/config-5.15 | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/target/linux/ipq806x/config-5.15 b/target/linux/ipq806x/config-5.15
> > index 5082bc840be3..31bb729c85e9 100644
> > --- a/target/linux/ipq806x/config-5.15
> > +++ b/target/linux/ipq806x/config-5.15
> > @@ -207,7 +207,7 @@ CONFIG_IOMMU_SUPPORT=y
> >  # CONFIG_IPQ_GCC_6018 is not set
> >  CONFIG_IPQ_GCC_806X=y
> >  # CONFIG_IPQ_GCC_8074 is not set
> > -# CONFIG_IPQ_LCC_806X is not set
> > +CONFIG_IPQ_LCC_806X=y
> >  CONFIG_IRQCHIP=y
> >  CONFIG_IRQ_DOMAIN=y
> >  CONFIG_IRQ_DOMAIN_HIERARCHY=y
> > --
> > 2.39.0
> >
> >
> > _______________________________________________
> > openwrt-devel mailing list
> > openwrt-devel@lists.openwrt.org
> > https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>
> --
>         Ansuel
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
diff mbox series

Patch

diff --git a/target/linux/ipq806x/config-5.15 b/target/linux/ipq806x/config-5.15
index 5082bc840be3..31bb729c85e9 100644
--- a/target/linux/ipq806x/config-5.15
+++ b/target/linux/ipq806x/config-5.15
@@ -207,7 +207,7 @@  CONFIG_IOMMU_SUPPORT=y
 # CONFIG_IPQ_GCC_6018 is not set
 CONFIG_IPQ_GCC_806X=y
 # CONFIG_IPQ_GCC_8074 is not set
-# CONFIG_IPQ_LCC_806X is not set
+CONFIG_IPQ_LCC_806X=y
 CONFIG_IRQCHIP=y
 CONFIG_IRQ_DOMAIN=y
 CONFIG_IRQ_DOMAIN_HIERARCHY=y