Message ID | 20241030213400.802264-1-mmayer@broadcom.com |
---|---|
Headers | show |
Series | hwrng: bcm74110 - Add Broadcom BCM74110 RNG driver | expand |
On 10/30/24 14:33, Markus Mayer wrote: > Add a driver for the random number generator present on the Broadcom > BCM74110 SoC. > > Signed-off-by: Markus Mayer <mmayer@broadcom.com> > --- > drivers/char/hw_random/Kconfig | 14 +++ > drivers/char/hw_random/Makefile | 1 + > drivers/char/hw_random/bcm74110-rng.c | 125 ++++++++++++++++++++++++++ > 3 files changed, 140 insertions(+) > create mode 100644 drivers/char/hw_random/bcm74110-rng.c > > diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig > index b51d9e243f35..90ae35aeb23a 100644 > --- a/drivers/char/hw_random/Kconfig > +++ b/drivers/char/hw_random/Kconfig > @@ -99,6 +99,20 @@ config HW_RANDOM_BCM2835 > > If unsure, say Y. > > +config HW_RANDOM_BCM74110 > + tristate "Broadcom BCM74110 Random Number Generator support" > + depends on ARCH_BCM2835 || ARCH_BCM_NSP || ARCH_BCM_5301X || \ > + ARCH_BCMBCA || BCM63XX || ARCH_BRCMSTB || COMPILE_TEST AFAICT this driver is only present on STB chips so limiting to ARCH_BRCMSTB || COMPILE_TEST should suffice for now.
On Wed, 30 Oct 2024 at 14:41, Florian Fainelli <florian.fainelli@broadcom.com> wrote: > > On 10/30/24 14:33, Markus Mayer wrote: > > Add a driver for the random number generator present on the Broadcom > > BCM74110 SoC. > > > > Signed-off-by: Markus Mayer <mmayer@broadcom.com> > > --- > > drivers/char/hw_random/Kconfig | 14 +++ > > drivers/char/hw_random/Makefile | 1 + > > drivers/char/hw_random/bcm74110-rng.c | 125 ++++++++++++++++++++++++++ > > 3 files changed, 140 insertions(+) > > create mode 100644 drivers/char/hw_random/bcm74110-rng.c > > > > diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig > > index b51d9e243f35..90ae35aeb23a 100644 > > --- a/drivers/char/hw_random/Kconfig > > +++ b/drivers/char/hw_random/Kconfig > > @@ -99,6 +99,20 @@ config HW_RANDOM_BCM2835 > > > > If unsure, say Y. > > > > +config HW_RANDOM_BCM74110 > > + tristate "Broadcom BCM74110 Random Number Generator support" > > + depends on ARCH_BCM2835 || ARCH_BCM_NSP || ARCH_BCM_5301X || \ > > + ARCH_BCMBCA || BCM63XX || ARCH_BRCMSTB || COMPILE_TEST > > AFAICT this driver is only present on STB chips so limiting to > ARCH_BRCMSTB || COMPILE_TEST should suffice for now. This is now fixed in my tree. I will resend in a few days. Regards, -Markus