Searched +full:sun9i +full:- +full:a80 +full:- +full:ahb +full:- +full:clk (Results 1 – 10 of 10) sorted by relevance
2 * Copyright 2014 Chen-Yu Tsai4 * Chen-Yu Tsai <wens@csie.org>6 * This file is dual-licensed: you can use it either under the terms47 #include <dt-bindings/interrupt-controller/arm-gic.h>49 #include <dt-bindings/pinctrl/sun4i-a10.h>52 interrupt-parent = <&gic>;55 #address-cells = <1>;56 #size-cells = <0>;59 compatible = "arm,cortex-a7";65 compatible = "arm,cortex-a7";[all …]
2 * Copyright 2014 Chen-Yu Tsai4 * Chen-Yu Tsai <wens@csie.org>6 * This file is dual-licensed: you can use it either under the terms45 #include <dt-bindings/interrupt-controller/arm-gic.h>47 #include <dt-bindings/clock/sun9i-a80-ccu.h>48 #include <dt-bindings/clock/sun9i-a80-de.h>49 #include <dt-bindings/clock/sun9i-a80-usb.h>50 #include <dt-bindings/reset/sun9i-a80-ccu.h>51 #include <dt-bindings/reset/sun9i-a80-de.h>52 #include <dt-bindings/reset/sun9i-a80-usb.h>[all …]
1 # SPDX-License-Identifier: GPL-2.03 ---4 $id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-gates-clk.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#10 - Chen-Yu Tsai <wens@csie.org>11 - Maxime Ripard <mripard@kernel.org>16 "#clock-cells":24 - const: allwinner,sun4i-a10-gates-clk25 - const: allwinner,sun4i-a10-axi-gates-clk26 - const: allwinner,sun4i-a10-ahb-gates-clk[all …]
1 # SPDX-License-Identifier: GPL-2.03 ---4 $id: http://devicetree.org/schemas/clock/allwinner,sun9i-a80-ahb-clk.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#7 title: Allwinner A80 AHB Clock Device Tree Bindings10 - Chen-Yu Tsai <wens@csie.org>11 - Maxime Ripard <mripard@kernel.org>16 "#clock-cells":20 const: allwinner,sun9i-a80-ahb-clk30 clock-output-names:[all …]
1 // SPDX-License-Identifier: GPL-2.0-or-later5 * Maxime Ripard <maxime.ripard@free-electrons.com>8 #include <linux/clk.h>9 #include <linux/clk-provider.h>43 number = of_property_count_u32_elems(node, "clock-indices"); in sunxi_simple_gates_setup()44 of_property_read_u32_index(node, "clock-indices", number - 1, &number); in sunxi_simple_gates_setup()46 clk_data->clks = kcalloc(number + 1, sizeof(struct clk *), GFP_KERNEL); in sunxi_simple_gates_setup()47 if (!clk_data->clks) in sunxi_simple_gates_setup()50 of_property_for_each_u32(node, "clock-indices", prop, p, index) { in sunxi_simple_gates_setup()51 of_property_read_string_index(node, "clock-output-names", in sunxi_simple_gates_setup()[all …]
1 // SPDX-License-Identifier: GPL-2.0-or-later3 * Copyright 2014 Chen-Yu Tsai5 * Chen-Yu Tsai <wens@csie.org>8 #include <linux/clk.h>9 #include <linux/clk-provider.h>14 #include "clk-factors.h"18 * sun9i_a80_get_pll4_factors() - calculates n, p, m factors for PLL433 n = DIV_ROUND_UP(req->rate, 6000000); in sun9i_a80_get_pll4_factors()53 req->rate = ((24000000 * n) >> p) / (m + 1); in sun9i_a80_get_pll4_factors()54 req->n = n; in sun9i_a80_get_pll4_factors()[all …]
1 // SPDX-License-Identifier: GPL-2.0-or-later5 * Maxime Ripard <maxime.ripard@free-electrons.com>8 #include <linux/clk.h>17 struct clk *bus_clk;18 struct clk *mod_clk;30 return -ENOMEM; in sun6i_drc_bind()33 drc->reset = devm_reset_control_get(dev, NULL); in sun6i_drc_bind()34 if (IS_ERR(drc->reset)) { in sun6i_drc_bind()36 return PTR_ERR(drc->reset); in sun6i_drc_bind()39 ret = reset_control_deassert(drc->reset); in sun6i_drc_bind()[all …]
1 // SPDX-License-Identifier: GPL-2.0-or-later6 * Maxime Ripard <maxime.ripard@free-electrons.com>47 drm_connector_list_iter_begin(encoder->dev, &iter); in sun4i_tcon_get_connector()49 if (connector->encoder == encoder) { in sun4i_tcon_get_connector()65 return -EINVAL; in sun4i_tcon_get_pixel_depth()67 info = &connector->display_info; in sun4i_tcon_get_pixel_depth()68 if (info->num_bus_formats != 1) in sun4i_tcon_get_pixel_depth()69 return -EINVAL; in sun4i_tcon_get_pixel_depth()71 switch (info->bus_formats[0]) { in sun4i_tcon_get_pixel_depth()80 return -EINVAL; in sun4i_tcon_get_pixel_depth()[all …]
1 // SPDX-License-Identifier: GPL-2.0-or-later4 * (C) Copyright 2007-2011 Reuuimlla Technology Co., Ltd.5 * (C) Copyright 2007-2011 Aaron Maoye <leafy.myeh@reuuimllatech.com>6 * (C) Copyright 2013-2014 O2S GmbH <www.o2s.ch>7 * (C) Copyright 2013-2014 David Lanzendörfer <david.lanzendoerfer@o2s.ch>8 * (C) Copyright 2013-2014 Hans de Goede <hdegoede@redhat.com>12 #include <linux/clk.h>13 #include <linux/clk/sunxi-ng.h>16 #include <linux/dma-mapping.h>27 #include <linux/mmc/slot-gpio.h>[all …]
... -boot-2021.07/.readthedocs.yml u-boot-2021.07/Kbuild u-boot-2021.07 ...