Searched +full:x1830 +full:- +full:dtrng (Results 1 – 3 of 3) sorted by relevance
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---5 $schema: http://devicetree.org/meta-schemas/core.yaml#7 title: Bindings for DTRNG in Ingenic SoCs10 - 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>18 - ingenic,x1830-dtrng27 - compatible28 - reg29 - clocks34 - |[all …]
1 // SPDX-License-Identifier: GPL-2.019 /* DTRNG register offsets */43 ctrl = readl(trng->base + TRNG_REG_CFG_OFFSET); in ingenic_trng_init()45 writel(ctrl, trng->base + TRNG_REG_CFG_OFFSET); in ingenic_trng_init()55 ctrl = readl(trng->base + TRNG_REG_CFG_OFFSET); in ingenic_trng_cleanup()57 writel(ctrl, trng->base + TRNG_REG_CFG_OFFSET); in ingenic_trng_cleanup()67 ret = readl_poll_timeout(trng->base + TRNG_REG_STATUS_OFFSET, status, in ingenic_trng_read()69 if (ret == -ETIMEDOUT) { in ingenic_trng_read()70 pr_err("%s: Wait for DTRNG data ready timeout\n", __func__); in ingenic_trng_read()74 *data = readl(trng->base + TRNG_REG_RANDOMNUM_OFFSET); in ingenic_trng_read()[all …]
1 // SPDX-License-Identifier: GPL-2.03 * X1830 SoC CGU driver7 #include <linux/clk-provider.h>12 #include <dt-bindings/clock/x1830-cgu.h>59 void __iomem *reg_opcr = cgu->base + CGU_REG_OPCR; in x1830_usb_phy_enable()60 void __iomem *reg_usbpcr = cgu->base + CGU_REG_USBPCR; in x1830_usb_phy_enable()69 void __iomem *reg_opcr = cgu->base + CGU_REG_OPCR; in x1830_usb_phy_disable()70 void __iomem *reg_usbpcr = cgu->base + CGU_REG_USBPCR; in x1830_usb_phy_disable()78 void __iomem *reg_opcr = cgu->base + CGU_REG_OPCR; in x1830_usb_phy_is_enabled()79 void __iomem *reg_usbpcr = cgu->base + CGU_REG_USBPCR; in x1830_usb_phy_is_enabled()[all …]