| /linux/drivers/perf/ |
| H A D | arm-ccn.c | 1 // SPDX-License-Identifier: GPL-2.0-only 112 #define CCN_TYPE_RND_1P 0x18 /* RN-D = RN-I + DVM */ 120 #define CCN_NUM_XP_WATCHPOINTS 2 /* See DT.dbg_id.num_watchpoints */ 121 #define CCN_NUM_PMU_EVENT_COUNTERS 8 /* See DT.dbg_id.num_pmucntr */ 143 struct arm_ccn_dt, pmu), struct arm_ccn, dt) 164 struct hlist_node node; member 178 struct arm_ccn_component *node; member 183 struct arm_ccn_dt dt; member 187 static int arm_ccn_node_to_xp(int node) in arm_ccn_node_to_xp() argument 189 return node / CCN_NUM_XP_PORTS; in arm_ccn_node_to_xp() [all …]
|
| /linux/drivers/clocksource/ |
| H A D | timer-digicolor.c | 1 // SPDX-License-Identifier: GPL-2.0 14 * Maxime Ripard <maxime.ripard@free-electrons.com> 71 struct digicolor_timer *dt = dc_timer(ce); in dc_timer_disable() local 72 writeb(CONTROL_DISABLE, dt->base + CONTROL(dt->timer_id)); in dc_timer_disable() 77 struct digicolor_timer *dt = dc_timer(ce); in dc_timer_enable() local 78 writeb(CONTROL_ENABLE | mode, dt->base + CONTROL(dt->timer_id)); in dc_timer_enable() 84 struct digicolor_timer *dt = dc_timer(ce); in dc_timer_set_count() local 85 writel(count, dt->base + COUNT(dt->timer_id)); in dc_timer_set_count() 103 struct digicolor_timer *dt = dc_timer(ce); in digicolor_clkevt_set_periodic() local 106 dc_timer_set_count(ce, dt->ticks_per_jiffy); in digicolor_clkevt_set_periodic() [all …]
|
| /linux/Documentation/devicetree/bindings/firmware/ |
| H A D | nvidia,tegra186-bpmp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/firmware/nvidia,tegra186-bpmp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 21 This node is a mailbox consumer. See the following files for details 25 - .../mailbox/mailbox.txt 26 - .../mailbox/nvidia,tegra186-hsp.yaml 28 This node is a clock, power domain, and reset provider. See the [all …]
|
| /linux/arch/mips/generic/ |
| H A D | board-sead3.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 #include <asm/yamon-dt.h> 56 /* leave the GIC node intact if a GIC is present */ in remove_gic() 61 gic_off = fdt_node_offset_by_compatible(fdt, -1, "mti,gic"); in remove_gic() 63 pr_err("unable to find DT GIC node: %d\n", gic_off); in remove_gic() 69 pr_err("unable to nop GIC node\n"); in remove_gic() 73 cpu_off = fdt_node_offset_by_compatible(fdt, -1, in remove_gic() 74 "mti,cpu-interrupt-controller"); in remove_gic() 76 pr_err("unable to find CPU intc node: %d\n", cpu_off); in remove_gic() 83 return -EINVAL; in remove_gic() [all …]
|
| H A D | yamon-dt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 #define pr_fmt(fmt) "yamon-dt: " fmt 16 #include <asm/yamon-dt.h> 24 /* find or add chosen node */ in yamon_dt_append_cmdline() 26 if (chosen_off == -FDT_ERR_NOTFOUND) in yamon_dt_append_cmdline() 29 pr_err("Unable to find or add DT chosen node: %d\n", in yamon_dt_append_cmdline() 53 for (mr = regions; mr->size && memsize; ++mr) { in gen_fdt_mem_array() 61 size = min_t(unsigned long, memsize, mr->size); in gen_fdt_mem_array() 62 memsize -= size; in gen_fdt_mem_array() 65 *(mem_array++) = cpu_to_be32(mr->start); in gen_fdt_mem_array() [all …]
|
| /linux/arch/mips/mti-malta/ |
| H A D | malta-dtshim.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #include <asm/mips-boards/generic.h> 16 #include <asm/mips-boards/malta.h> 17 #include <asm/mips-cps.h> 91 size -= size_preio; in gen_fdt_mem_array() 99 * obscures 256MB from 0x10000000-0x1fffffff. in gen_fdt_mem_array() 105 size -= SZ_256M; in gen_fdt_mem_array() 115 * obscures 256MB from 0x10000000-0x1fffffff in the low alias in gen_fdt_mem_array() 143 /* if a memory node already exists, leave it alone */ in append_memory() 169 * SOC-it swaps, or perhaps doesn't swap, when DMA'ing in append_memory() [all …]
|
| /linux/Documentation/devicetree/bindings/media/ |
| H A D | renesas,vin.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Renesas R-Car Video Input (VIN) 11 - Niklas Söderlund <niklas.soderlund@ragnatech.se> 14 The R-Car Video Input (VIN) device provides video input capabilities for the 15 Renesas R-Car family of devices. 20 on Gen3 and RZ/G2 platforms to a CSI-2 receiver. 25 - items: 26 - enum: [all …]
|
| H A D | mediatek,mt8195-jpegenc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/mediatek,mt8195-jpegenc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - kyrie wu <kyrie.wu@mediatek.corp-partner.google.com> 17 const: mediatek,mt8195-jpgenc 19 power-domains: 29 "#address-cells": 32 "#size-cells": 37 # Required child node: [all …]
|
| H A D | mediatek,mt8195-jpegdec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/mediatek,mt8195-jpegdec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - kyrie wu <kyrie.wu@mediatek.corp-partner.google.com> 17 const: mediatek,mt8195-jpgdec 19 power-domains: 29 "#address-cells": 32 "#size-cells": 37 # Required child node: [all …]
|
| /linux/drivers/pci/ |
| H A D | of.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * PCI <-> OF mapping helpers 22 * pci_set_of_node - Find and set device's DT device_node 26 * DT. Returns -ENODEV if the device is present, but disabled in the DT. 30 if (!dev->bus->dev.of_node) in pci_set_of_node() 33 struct device_node *node __free(device_node) = in pci_set_of_node() 34 of_pci_find_child_device(dev->bus->dev.of_node, dev->devfn); in pci_set_of_node() 35 if (!node) in pci_set_of_node() 39 bus_find_device_by_of_node(&platform_bus_type, node); in pci_set_of_node() 41 dev->bus->dev.of_node_reused = true; in pci_set_of_node() [all …]
|
| /linux/drivers/dma/ |
| H A D | of-dma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ 24 * of_dma_find_controller - Get a DMA controller in DT DMA helpers list 27 * Finds a DMA controller with matching device node and number for dma cells 37 if (ofdma->of_node == dma_spec->np) in of_dma_find_controller() 41 dma_spec->np); in of_dma_find_controller() 47 * of_dma_router_xlate - translation function for router devices 65 route_data = ofdma->of_dma_route_allocate(&dma_spec_target, ofdma); in of_dma_router_xlate() 71 ofdma->dma_router->route_free(ofdma->dma_router->dev, in of_dma_router_xlate() 73 chan = ERR_PTR(-EPROBE_DEFER); in of_dma_router_xlate() [all …]
|
| /linux/Documentation/devicetree/bindings/pci/ |
| H A D | ti-pci.txt | 4 - compatible: Should be "ti,dra7-pcie" for RC (deprecated) 5 Should be "ti,dra7-pcie-ep" for EP (deprecated) 6 Should be "ti,dra746-pcie-rc" for dra74x/dra76 in RC mode 7 Should be "ti,dra746-pcie-ep" for dra74x/dra76 in EP mode 8 Should be "ti,dra726-pcie-rc" for dra72x in RC mode 9 Should be "ti,dra726-pcie-ep" for dra72x in EP mode 10 - phys : list of PHY specifiers (used by generic PHY framework) 11 - phy-names : must be "pcie-phy0", "pcie-phy1", "pcie-phyN".. based on the 13 - ti,hwmods : Name of the hwmod associated to the pcie, "pcie<X>", 15 - num-lanes as specified in ../snps,dw-pcie.yaml [all …]
|
| H A D | nvidia,tegra194-pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/nvidia,tegra194-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 12 - Vidya Sagar <vidyas@nvidia.com> 16 inherits all the common properties defined in snps,dw-pcie.yaml. Some of 20 See nvidia,tegra194-pcie-ep.yaml for details on the Endpoint mode device 26 - nvidia,tegra194-pcie [all …]
|
| /linux/drivers/irqchip/ |
| H A D | irq-riscv-intc.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (C) 2017-2018 SiFive 8 #define pr_fmt(fmt) "riscv-intc: " fmt 31 unsigned long cause = regs->cause & ~CAUSE_IRQ_FLAG; in riscv_intc_irq() 46 * On RISC-V systems local interrupts are masked or unmasked by writing 54 if (IS_ENABLED(CONFIG_32BIT) && d->hwirq >= BITS_PER_LONG) in riscv_intc_irq_mask() 55 csr_clear(CSR_IEH, BIT(d->hwirq - BITS_PER_LONG)); in riscv_intc_irq_mask() 57 csr_clear(CSR_IE, BIT(d->hwirq)); in riscv_intc_irq_mask() 62 if (IS_ENABLED(CONFIG_32BIT) && d->hwirq >= BITS_PER_LONG) in riscv_intc_irq_unmask() 63 csr_set(CSR_IEH, BIT(d->hwirq - BITS_PER_LONG)); in riscv_intc_irq_unmask() [all …]
|
| /linux/drivers/interconnect/ |
| H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2017-2019, Linaro Ltd. 14 #include <linux/interconnect-provider.h> 41 seq_printf(s, "%-42s %12u %12u\n", in icc_summary_show_one() 42 n->name, n->avg_bw, n->peak_bw); in icc_summary_show_one() 49 seq_puts(s, " node tag avg peak\n"); in icc_summary_show() 50 seq_puts(s, "--------------------------------------------------------------------\n"); in icc_summary_show() 57 list_for_each_entry(n, &provider->nodes, node_list) { in icc_summary_show() 61 hlist_for_each_entry(r, &n->req_list, req_node) { in icc_summary_show() 64 if (!r->dev) in icc_summary_show() [all …]
|
| /linux/Documentation/devicetree/bindings/display/ti/ |
| H A D | ti,am65x-dss.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/display/ti/ti,am65x-dss.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Jyri Sarha <jsarha@ti.com> 12 - Tomi Valkeinen <tomi.valkeinen@ti.com> 31 - ti,am625-dss 32 - ti,am62a7-dss 33 - ti,am62l-dss 34 - ti,am65x-dss [all …]
|
| /linux/Documentation/devicetree/bindings/power/ |
| H A D | fsl,imx-gpcv2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/fsl,imx-gpcv2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andrey Smirnov <andrew.smirnov@gmail.com> 16 Power domains contained within GPC node are generic power domain 18 Documentation/devicetree/bindings/power/power-domain.yaml, which are 19 described as subnodes of the power gating controller 'pgc' node. 21 IP cores belonging to a power domain should contain a 'power-domains' 22 property that is a phandle for PGC node representing the domain. [all …]
|
| /linux/Documentation/devicetree/bindings/display/bridge/ |
| H A D | nwl-dsi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/bridge/nwl-dsi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Northwest Logic MIPI-DSI controller on i.MX SoCs 10 - Guido Gúnther <agx@sigxcpu.org> 11 - Robert Chiras <robert.chiras@nxp.com> 14 NWL MIPI-DSI host controller found on i.MX8 platforms. This is a dsi bridge for 15 the SOCs NWL MIPI-DSI host controller. 18 - $ref: ../dsi-controller.yaml# [all …]
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | as3722.txt | 4 ------------------- 5 - compatible: Must be "ams,as3722". 6 - reg: I2C device address. 7 - interrupt-controller: AS3722 has internal interrupt controller which takes the 8 interrupt request from internal sub-blocks like RTC, regulators, GPIOs as well 10 - #interrupt-cells: Should be set to 2 for IRQ number and flags. 12 of AS3722 are defined at dt-bindings/mfd/as3722.h 14 interrupts.txt, using dt-bindings/irq. 17 -------------------- 18 - ams,enable-internal-int-pullup: Boolean property, to enable internal pullup on [all …]
|
| /linux/drivers/video/backlight/ |
| H A D | pwm_bl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 43 if (pb->enabled) in pwm_backlight_power_on() 46 if (pb->power_supply) { in pwm_backlight_power_on() 47 err = regulator_enable(pb->power_supply); in pwm_backlight_power_on() 49 dev_err(pb->dev, "failed to enable power supply\n"); in pwm_backlight_power_on() 52 if (pb->post_pwm_on_delay) in pwm_backlight_power_on() 53 msleep(pb->post_pwm_on_delay); in pwm_backlight_power_on() 55 gpiod_set_value_cansleep(pb->enable_gpio, 1); in pwm_backlight_power_on() 57 pb->enabled = true; in pwm_backlight_power_on() 62 if (!pb->enabled) in pwm_backlight_power_off() [all …]
|
| /linux/drivers/soc/qcom/ |
| H A D | ice.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2013-2019, The Linux Foundation. All rights reserved. 96 writel((val), (engine)->base + (reg)) 99 readl((engine)->base + (reg)) 119 struct device *dev = ice->dev; in qcom_ice_check_supported() 136 ice->hwkm_version = QCOM_ICE_HWKM_V2; in qcom_ice_check_supported() 138 ice->hwkm_version = QCOM_ICE_HWKM_V1; in qcom_ice_check_supported() 140 ice->hwkm_version = 0; in qcom_ice_check_supported() 145 if (ice->hwkm_version) in qcom_ice_check_supported() 147 ice->hwkm_version); in qcom_ice_check_supported() [all …]
|
| /linux/Documentation/devicetree/bindings/reset/ |
| H A D | reset.txt | 10 reset consumer (the module being reset, or a module managing when a sub- 15 specifier - a list of DT cells that represents the reset signal within the 23 the DT node of each affected HW block, since if activated, an unrelated block 24 may be reset. Instead, reset signals should be represented in the DT node 25 where it makes most sense to control it; this may be a bus node if all 27 block node for dedicated reset signals. The intent of this binding is to give 35 #reset-cells: Number of cells in a reset specifier; Typically 0 for nodes 41 rst: reset-controller { 42 #reset-cells = <1>; 51 #reset-cells, then only the phandle portion of the pair will [all …]
|
| /linux/Documentation/devicetree/bindings/remoteproc/ |
| H A D | ti,omap-remoteproc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/ti,omap-remoteproc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Suman Anna <s-anna@ti.com> 13 The OMAP family of SoCs usually have one or more slave processor sub-systems 14 that are used to offload some of the processor-intensive tasks, or to manage 17 The processor cores in the sub-system are usually behind an IOMMU, and may 18 contain additional sub-modules like Internal RAM and/or ROMs, L1 and/or L2 21 The OMAP SoCs usually have a DSP processor sub-system and/or an IPU processor [all …]
|
| /linux/Documentation/devicetree/bindings/display/rockchip/ |
| H A D | rockchip,rk3066-hdmi.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/rockchip/rockchip,rk3066-hdmi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sandy Huang <hjc@rock-chips.com> 11 - Heiko Stuebner <heiko@sntech.de> 14 - $ref: /schemas/sound/dai-common.yaml# 18 const: rockchip,rk3066-hdmi 29 clock-names: 32 power-domains: [all …]
|
| /linux/Documentation/devicetree/bindings/display/mediatek/ |
| H A D | mediatek,wdma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 11 - Philipp Zabel <p.zabel@pengutronix.de> 16 WDMA device node must be siblings to the central MMSYS_CONFIG node. 24 - enum: 25 - mediatek,mt8173-disp-wdma 26 - items: 27 - const: mediatek,mt6795-disp-wdma [all …]
|