| /linux/Documentation/devicetree/bindings/mfd/ | 
| H A D | x-powers,axp152.yaml | 1 # SPDX-License-Identifier: GPL-2.03 ---
 4 $id: http://devicetree.org/schemas/mfd/x-powers,axp152.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: X-Powers AXP PMIC
 10   - Chen-Yu Tsai <wens@csie.org>
 13   - if:
 18               - x-powers,axp152
 19               - x-powers,axp202
 20               - x-powers,axp209
 [all …]
 
 | 
| H A D | x-powers,ac100.yaml | 1 # SPDX-License-Identifier: GPL-2.03 ---
 4 $id: http://devicetree.org/schemas/mfd/x-powers,ac100.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: X-Powers AC100
 10   - Chen-Yu Tsai <wens@csie.org>
 14     const: x-powers,ac100
 23       "#clock-cells":
 27         const: x-powers,ac100-codec
 32       clock-output-names:
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/power/supply/ | 
| H A D | x-powers,axp20x-usb-power-supply.yaml | 1 # SPDX-License-Identifier: GPL-2.03 ---
 4 $id: http://devicetree.org/schemas/power/supply/x-powers,axp20x-usb-power-supply.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: AXP20x USB power-supply
 15   - Chen-Yu Tsai <wens@csie.org>
 16   - Sebastian Reichel <sre@kernel.org>
 21       - enum:
 22           - x-powers,axp192-usb-power-supply
 23           - x-powers,axp202-usb-power-supply
 [all …]
 
 | 
| H A D | x-powers,axp20x-battery-power-supply.yaml | 1 # SPDX-License-Identifier: GPL-2.03 ---
 4 $id: http://devicetree.org/schemas/power/supply/x-powers,axp20x-battery-power-supply.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: AXP20x Battery power-supply
 14   - Chen-Yu Tsai <wens@csie.org>
 15   - Sebastian Reichel <sre@kernel.org>
 20       - const: x-powers,axp202-battery-power-supply
 21       - const: x-powers,axp209-battery-power-supply
 22       - const: x-powers,axp221-battery-power-supply
 [all …]
 
 | 
| H A D | x-powers,axp20x-ac-power-supply.yaml | 1 # SPDX-License-Identifier: GPL-2.03 ---
 4 $id: http://devicetree.org/schemas/power/supply/x-powers,axp20x-ac-power-supply.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: AXP20x AC power-supply
 16   - Chen-Yu Tsai <wens@csie.org>
 17   - Sebastian Reichel <sre@kernel.org>
 20   - $ref: power-supply.yaml#
 25       - const: x-powers,axp202-ac-power-supply
 26       - const: x-powers,axp221-ac-power-supply
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/gpio/ | 
| H A D | x-powers,axp209-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.03 ---
 4 $id: http://devicetree.org/schemas/gpio/x-powers,axp209-gpio.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: X-Powers AXP209 GPIO
 10   - Chen-Yu Tsai <wens@csie.org>
 13   "#gpio-cells":
 20       - enum:
 21           - x-powers,axp209-gpio
 22           - x-powers,axp221-gpio
 [all …]
 
 | 
| /linux/drivers/mfd/ | 
| H A D | axp20x-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only3  * I2C driver for the X-Powers' Power Management ICs
 5  * AXP20x typically comprises an adaptive USB-Compatible PWM charger, BUCK DC-DC
 6  * converters, LDOs, multiple 12-bit ADCs of voltage, current and temperature
 30 	axp20x = devm_kzalloc(&i2c->dev, sizeof(*axp20x), GFP_KERNEL);  in axp20x_i2c_probe()
 32 		return -ENOMEM;  in axp20x_i2c_probe()
 34 	axp20x->dev = &i2c->dev;  in axp20x_i2c_probe()
 35 	axp20x->irq = i2c->irq;  in axp20x_i2c_probe()
 36 	dev_set_drvdata(axp20x->dev, axp20x);  in axp20x_i2c_probe()
 42 	axp20x->regmap = devm_regmap_init_i2c(i2c, axp20x->regmap_cfg);  in axp20x_i2c_probe()
 [all …]
 
 | 
| H A D | axp20x-rsb.c | 1 // SPDX-License-Identifier: GPL-2.0-only3  * RSB driver for the X-Powers' Power Management ICs
 5  * AXP20x typically comprises an adaptive USB-Compatible PWM charger, BUCK DC-DC
 6  * converters, LDOs, multiple 12-bit ADCs of voltage, current and temperature
 11  * Copyright (C) 2015 Chen-Yu Tsai
 13  * Author: Chen-Yu Tsai <wens@csie.org>
 23 #include <linux/sunxi-rsb.h>
 30 	axp20x = devm_kzalloc(&rdev->dev, sizeof(*axp20x), GFP_KERNEL);  in axp20x_rsb_probe()
 32 		return -ENOMEM;  in axp20x_rsb_probe()
 34 	axp20x->dev = &rdev->dev;  in axp20x_rsb_probe()
 [all …]
 
 | 
| H A D | ac100.c | 1 // SPDX-License-Identifier: GPL-2.0-only3  * MFD core driver for X-Powers' AC100 Audio Codec IC
 13  * Copyright (2016) Chen-Yu Tsai
 15  * Author: Chen-Yu Tsai <wens@csie.org>
 25 #include <linux/sunxi-rsb.h>
 80 		.name		= "ac100-codec",
 81 		.of_compatible	= "x-powers,ac100-codec",
 83 		.name		= "ac100-rtc",
 84 		.of_compatible	= "x-powers,ac100-rtc",
 93 	ac100 = devm_kzalloc(&rdev->dev, sizeof(*ac100), GFP_KERNEL);  in ac100_rsb_probe()
 [all …]
 
 | 
| /linux/arch/arm64/boot/dts/allwinner/ | 
| H A D | axp803.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)10 	interrupt-controller;
 11 	#interrupt-cells = <1>;
 13 	ac_power_supply: ac-power {
 14 		compatible = "x-powers,axp803-ac-power-supply",
 15 			     "x-powers,axp813-ac-power-supply";
 20 		compatible = "x-powers,axp803-adc", "x-powers,axp813-adc";
 21 		#io-channel-cells = <1>;
 25 		compatible = "x-powers,axp803-gpio", "x-powers,axp813-gpio";
 26 		gpio-controller;
 [all …]
 
 | 
| H A D | sun50i-h616-orangepi-zero2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)6 /dts-v1/;
 8 #include "sun50i-h616-orangepi-zero.dtsi"
 9 #include "sun50i-h616-cpu-opp.dtsi"
 13 	compatible = "xunlong,orangepi-zero2", "allwinner,sun50i-h616";
 17 	cpu-supply = <®_dcdca>;
 21 	allwinner,rx-delay-ps = <3100>;
 22 	allwinner,tx-delay-ps = <700>;
 23 	phy-mode = "rgmii";
 24 	phy-supply = <®_dcdce>;
 [all …]
 
 | 
| H A D | sun50i-h616-x96-mate.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)6 /dts-v1/;
 8 #include "sun50i-h616.dtsi"
 9 #include "sun50i-h616-cpu-opp.dtsi"
 11 #include <dt-bindings/gpio/gpio.h>
 12 #include <dt-bindings/interrupt-controller/arm-gic.h>
 16 	compatible = "hechuang,x96-mate", "allwinner,sun50i-h616";
 23 		stdout-path = "serial0:115200n8";
 28 		compatible = "regulator-fixed";
 29 		regulator-name = "vcc-5v";
 [all …]
 
 | 
| H A D | sun50i-h700-anbernic-rg35xx-2024.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)6 /dts-v1/;
 8 #include "sun50i-h616.dtsi"
 9 #include "sun50i-h616-cpu-opp.dtsi"
 10 #include <dt-bindings/gpio/gpio.h>
 11 #include <dt-bindings/input/linux-event-codes.h>
 12 #include <dt-bindings/interrupt-controller/arm-gic.h>
 13 #include <dt-bindings/leds/common.h>
 17 	chassis-type = "handset";
 18 	compatible = "anbernic,rg35xx-2024", "allwinner,sun50i-h700";
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/iio/adc/ | 
| H A D | x-powers,axp209-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/iio/adc/x-powers,axp209-adc.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: X-Powers AXP ADC
 10   - Chen-Yu Tsai <wens@csie.org>
 18   ------
 33   ------
 41   ------
 52   ------
 [all …]
 
 | 
| /linux/arch/arm/boot/dts/allwinner/ | 
| H A D | axp209.dtsi | 2  * Copyright 2015 Chen-Yu Tsai4  * Chen-Yu Tsai <wens@csie.org>
 6  * This file is dual-licensed: you can use it either under the terms
 47  * http://www.x-powers.com/product/AXP20X.php
 48  * http://dl.linux-sunxi.org/AXP/AXP209%20Datasheet%20v1.0_cn.pdf
 52 	pmic-temp {
 53 		compatible = "iio-hwmon";
 54 		io-channels = <&axp_adc 4>; /* Internal temperature */
 59 	compatible = "x-powers,axp209";
 60 	interrupt-controller;
 [all …]
 
 | 
| H A D | axp22x.dtsi | 2  * Copyright 2015 Chen-Yu Tsai4  * Chen-Yu Tsai <wens@csie.org>
 6  * This file is dual-licensed: you can use it either under the terms
 47  * http://www.x-powers.com/product/AXP22X.php
 48  * http://dl.linux-sunxi.org/AXP/AXP221%20Datasheet%20V1.2%2020130326%20.pdf
 52 	interrupt-controller;
 53 	#interrupt-cells = <1>;
 55 	ac_power_supply: ac-power {
 56 		compatible = "x-powers,axp221-ac-power-supply";
 61 		compatible = "x-powers,axp221-adc";
 [all …]
 
 | 
| H A D | axp81x.dtsi | 2  * Copyright 2017 Chen-Yu Tsai4  * Chen-Yu Tsai <wens@csie.org>
 6  * This file is dual-licensed: you can use it either under the terms
 48 	interrupt-controller;
 49 	#interrupt-cells = <1>;
 51 	ac_power_supply: ac-power {
 52 		compatible = "x-powers,axp813-ac-power-supply";
 57 		compatible = "x-powers,axp813-adc";
 58 		#io-channel-cells = <1>;
 62 		compatible = "x-powers,axp813-gpio";
 [all …]
 
 | 
| H A D | axp809.dtsi | 2  * Copyright 2015 Chen-Yu Tsai4  * Chen-Yu Tsai <wens@csie.org>
 6  * This file is dual-licensed: you can use it either under the terms
 50 	compatible = "x-powers,axp809";
 51 	interrupt-controller;
 52 	#interrupt-cells = <1>;
 55 		compatible = "x-powers,axp809-gpio",
 56 			     "x-powers,axp221-gpio";
 57 		gpio-controller;
 58 		#gpio-cells = <2>;
 
 | 
| H A D | sun8i-a83t-allwinner-h8homlet-v2.dts | 5  * This file is dual-licensed: you can use it either under the terms44 /dts-v1/;
 45 #include "sun8i-a83t.dtsi"
 47 #include <dt-bindings/gpio/gpio.h>
 51 	compatible = "allwinner,h8homlet-v2", "allwinner,sun8i-a83t";
 58 		stdout-path = "serial0:115200n8";
 61 	reg_usb0_vbus: reg-usb0-vbus {
 62 		compatible = "regulator-fixed";
 63 		regulator-name = "usb0-vbus";
 64 		regulator-min-microvolt = <5000000>;
 [all …]
 
 | 
| H A D | sun8i-a83t-bananapi-m3.dts | 2  * Copyright 2017 Chen-Yu Tsai4  * Chen-Yu Tsai <wens@csie.org>
 6  * This file is dual-licensed: you can use it either under the terms
 45 /dts-v1/;
 46 #include "sun8i-a83t.dtsi"
 48 #include <dt-bindings/gpio/gpio.h>
 51 	model = "Banana Pi BPI-M3";
 52 	compatible = "sinovoip,bpi-m3", "allwinner,sun8i-a83t";
 60 		stdout-path = "serial0:115200n8";
 64 		compatible = "hdmi-connector";
 [all …]
 
 | 
| H A D | sun8i-a83t-cubietruck-plus.dts | 2  * Copyright 2015 Chen-Yu Tsai4  * Chen-Yu Tsai <wens@csie.org>
 6  * This file is dual-licensed: you can use it either under the terms
 45 /dts-v1/;
 46 #include "sun8i-a83t.dtsi"
 48 #include <dt-bindings/gpio/gpio.h>
 52 	compatible = "cubietech,cubietruck-plus", "allwinner,sun8i-a83t";
 60 		stdout-path = "serial0:115200n8";
 63 	hdmi-connector {
 64 		compatible = "hdmi-connector";
 [all …]
 
 | 
| /linux/arch/riscv/boot/dts/allwinner/ | 
| H A D | sun20i-d1-clockworkpi-v3.14.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ or MIT)4 #include <dt-bindings/gpio/gpio.h>
 6 /dts-v1/;
 8 #include "sun20i-d1.dtsi"
 9 #include "sun20i-common-regulators.dtsi"
 12 	model = "ClockworkPi v3.14 (R-01)";
 13 	compatible = "clockwork,r-01-clockworkpi-v3.14", "allwinner,sun20i-d1";
 21 		stdout-path = "serial0:115200n8";
 25 	 * This regulator is PWM-controlled, but the PWM controller is not
 28 	reg_vdd_cpu: vdd-cpu {
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/display/bridge/ | 
| H A D | adi,adv7511.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)3 ---
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
 21       - adi,adv7511
 22       - adi,adv7511w
 23       - adi,adv7513
 37   reg-names:
 40       needing a non-default address.
 43       - const: main
 [all …]
 
 | 
| /linux/lib/tests/ | 
| H A D | ffs_kunit.c | 1 // SPDX-License-Identifier: GPL-2.0-only3  * KUnit tests for ffs()-family functions
 13 	int expected_ffs;	/* ffs() result (1-based) */
 14 	int expected_fls;	/* fls() result (1-based) */
 20 	int expected_fls64;		    /* fls64() result (1-based) */
 21 	unsigned int expected_ffs64_0based; /* __ffs64() result (0-based) */
 26  * Basic edge cases - core functionality validation
 29 	/* Zero case - special handling */
 32 	/* Single bit patterns - powers of 2 */
 51 	{0x00000003, 1, 2, "bits 0-1 set"},
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/net/can/ | 
| H A D | holt_hi311x.txt | 1 * Holt HI-311X stand-alone CAN controller device tree bindings4  - compatible: Should be one of the following:
 5    - "holt,hi3110" for HI-3110
 6  - reg: SPI chip select.
 7  - clocks: The clock feeding the CAN controller.
 8  - interrupts: Should contain IRQ line for the CAN controller.
 11  - vdd-supply: Regulator that powers the CAN controller.
 12  - xceiver-supply: Regulator that powers the CAN transceiver.
 19 		interrupt-parent = <&gpio4>;
 21 		vdd-supply = <®5v0>;
 [all …]
 
 |