Searched +full:pin10 +full:- +full:function (Results 1 – 3 of 3) sorted by relevance
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)2 // Copyright (C) 2021-2022 Samuel Holland <samuel@sholland.org>7 * The Nezha-D1 has a 40-pin IO header. Some of these pins are routed8 * directly to pads on the SoC, others come from an 8-bit pcf857x IO12 * Lines which are routed to the 40-pin header are named as follows:15 * <pin#> is the actual pin number of the 40-pin header16 * <pin name> is the name of the pin by function/gpio#20 * http://dl.linux-sunxi.org/D1/D1_Nezha_development_board_schematic_diagram_20210224.pdf23 #include <dt-bindings/gpio/gpio.h>24 #include <dt-bindings/input/input.h>[all …]
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)7 /dts-v1/;9 #include <dt-bindings/leds/common.h>24 stdout-path = "serial0:1500000n8";28 compatible = "gpio-leds";29 pinctrl-names = "default";30 pinctrl-0 = <&green_led>, <&heartbeat_led>;32 green-led {34 default-state = "on";35 function = LED_FUNCTION_POWER;[all …]
1 // SPDX-License-Identifier: GPL-2.0-only3 * adt7475 - Thermal sensor driver for the ADT7475 chip and derivatives4 * Copyright (C) 2007-2008, Advanced Micro Devices, Inc.17 #include <linux/hwmon-sysfs.h>18 #include <linux/hwmon-vid.h>24 #include <dt-bindings/pwm/pwm.h>37 * These are unique identifiers for the sysfs functions - unlike the238 if (!(data->config5 & CONFIG5_TWOSCOMP)) { in temp2reg()239 val = clamp_val(val, -64000, 191000); in temp2reg()242 val = clamp_val(val, -128000, 127000); in temp2reg()[all …]