Home
last modified time | relevance | path

Searched +full:k210 +full:- +full:sysctl (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/mfd/
Dcanaan,k210-sysctl.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mfd/canaan,k210-sysctl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Canaan Kendryte K210 System Controller
10 - Damien Le Moal <damien.lemoal@wdc.com>
13 Canaan Inc. Kendryte K210 SoC system controller which provides a
20 - const: canaan,k210-sysctl
21 - const: syscon
22 - const: simple-mfd
[all …]
/Linux-v6.1/drivers/soc/canaan/
Dk210-sysctl.c1 // SPDX-License-Identifier: GPL-2.0-or-later
12 #include <soc/canaan/k210-sysctl.h>
16 struct device *dev = &pdev->dev; in k210_sysctl_probe()
20 dev_info(dev, "K210 system controller\n"); in k210_sysctl_probe()
43 { .compatible = "canaan,k210-sysctl", },
49 .name = "k210-sysctl",
72 panic("k210-sysctl: ioremap failed"); in k210_soc_early_init()
78 SOC_EARLY_INIT_DECLARE(k210_soc, "canaan,kendryte-k210", k210_soc_early_init);
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 obj-$(CONFIG_SOC_K210_SYSCTL) += k210-sysctl.o
/Linux-v6.1/Documentation/devicetree/bindings/pinctrl/
Dcanaan,k210-fpioa.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/canaan,k210-fpioa.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Canaan Kendryte K210 FPIOA
10 - Damien Le Moal <damien.lemoal@wdc.com>
13 The Canaan Kendryte K210 SoC Fully Programmable IO Array (FPIOA)
16 a per-pin basis.
20 const: canaan,k210-fpioa
29 - description: Controller reference clock source
[all …]
/Linux-v6.1/arch/riscv/boot/dts/canaan/
Dk210.dtsi1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com>
6 #include <dt-bindings/clock/k210-clk.h>
7 #include <dt-bindings/pinctrl/k210-fpioa.h>
8 #include <dt-bindings/reset/k210-rst.h>
12 * Although the K210 is a 64-bit CPU, the address bus is only 32-bits
15 #address-cells = <1>;
16 #size-cells = <1>;
17 compatible = "canaan,kendryte-k210";
27 * The K210 has an sv39 MMU following the privileged specification v1.9.
[all …]
/Linux-v6.1/drivers/reset/
Dreset-k210.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 #include <linux/reset-controller.h>
12 #include <soc/canaan/k210-sysctl.h>
14 #include <dt-bindings/reset/k210-rst.h>
34 return regmap_update_bits(ksr->map, K210_SYSCTL_PERI_RESET, BIT(id), 1); in k210_rst_assert()
42 return regmap_update_bits(ksr->map, K210_SYSCTL_PERI_RESET, BIT(id), 0); in k210_rst_deassert()
66 ret = regmap_read(ksr->map, K210_SYSCTL_PERI_RESET, &reg); in k210_rst_status()
76 unsigned long id = reset_spec->args[0]; in k210_rst_xlate()
79 return -EINVAL; in k210_rst_xlate()
93 struct device *dev = &pdev->dev; in k210_rst_probe()
[all …]
/Linux-v6.1/drivers/pinctrl/
Dpinctrl-k210.c1 // SPDX-License-Identifier: GPL-2.0-or-later
17 #include <linux/pinctrl/pinconf-generic.h>
19 #include <dt-bindings/pinctrl/k210-fpioa.h>
23 #include "pinctrl-utils.h"
26 * The K210 only implements 8 drive levels, even though
52 /* Strong pull up not implemented on K210 */
78 * struct k210_fpioa: Kendryte K210 FPIOA memory mapped registers
79 * @pins: 48 32-bits IO pin registers
130 * no pins 48-55).
463 { "output-polarity-invert", PIN_CONFIG_OUTPUT_INVERT, 1 },
[all …]
/Linux-v6.1/drivers/clk/
Dclk-k210.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com>
6 #define pr_fmt(fmt) "k210-clk: " fmt
16 #include <linux/clk-provider.h>
19 #include <soc/canaan/k210-sysctl.h>
21 #include <dt-bindings/clock/k210-clk.h>
323 * struct k210_sysclk - sysclk driver data
357 pll->id = pllid; in k210_init_pll()
358 pll->reg = regs + k210_plls_cfg[pllid].reg; in k210_init_pll()
359 pll->lock = regs + K210_SYSCTL_PLL_LOCK; in k210_init_pll()
[all …]
/Linux-v6.1/
DMAINTAINERS9 -------------------------
30 ``diff -u`` to make the patch easy to merge. Be prepared to get your
40 See Documentation/process/coding-style.rst for guidance here.
46 See Documentation/process/submitting-patches.rst for details.
57 include a Signed-off-by: line. The current version of this
59 Documentation/process/submitting-patches.rst.
70 that the bug would present a short-term risk to other users if it
76 Documentation/admin-guide/security-bugs.rst for details.
81 ---------------------------------------------------
97 W: *Web-page* with status/info
[all …]