Home
last modified time | relevance | path

Searched +full:pin10 +full:- +full:function (Results 1 – 2 of 2) sorted by relevance

/linux/arch/arm64/boot/dts/rockchip/
H A Drk3308-rock-pi-s.dts1 // 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 …]
/linux/drivers/hwmon/
H A Dadt7475.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * adt7475 - Thermal sensor driver for the ADT7475 chip and derivatives
4 * Copyright (C) 2007-2008, Advanced Micro Devices, Inc.
17 #include <linux/hwmon-sysfs.h>
18 #include <linux/hwmon-vid.h>
25 #include <dt-bindings/pwm/pwm.h>
38 * These are unique identifiers for the sysfs functions - unlike the
239 if (!(data->config5 & CONFIG5_TWOSCOMP)) { in temp2reg()
240 val = clamp_val(val, -64000, 191000); in temp2reg()
243 val = clamp_val(val, -128000, 127000); in temp2reg()
[all …]