Home
last modified time | relevance | path

Searched +full:ast2400 +full:- +full:adc (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.15/Documentation/devicetree/bindings/iio/adc/
Daspeed,ast2400-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/aspeed,ast2400-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ADC that forms part of an ASPEED server management processor.
10 - Joel Stanley <joel@jms.id.au>
13 This device is a 10-bit converter for 16 voltage channels. All inputs are
19 - aspeed,ast2400-adc
20 - aspeed,ast2500-adc
34 "#io-channel-cells":
[all …]
/Linux-v5.15/arch/arm/boot/dts/
Daspeed-bmc-facebook-galaxy100.dts1 // SPDX-License-Identifier: GPL-2.0+
3 /dts-v1/;
5 #include "ast2400-facebook-netbmc-common.dtsi"
9 compatible = "facebook,galaxy100-bmc", "aspeed,ast2400";
12 stdout-path = &uart5;
16 ast-adc-hwmon {
17 compatible = "iio-hwmon";
18 io-channels = <&adc 3>, <&adc 4>, <&adc 8>, <&adc 9>;
24 aspeed,reset-type = "system";
30 m25p,fast-read;
[all …]
Daspeed-bmc-facebook-wedge100.dts1 // SPDX-License-Identifier: GPL-2.0+
3 /dts-v1/;
5 #include "ast2400-facebook-netbmc-common.dtsi"
9 compatible = "facebook,wedge100-bmc", "aspeed,ast2400";
12 stdout-path = &uart3;
16 ast-adc-hwmon {
17 compatible = "iio-hwmon";
18 io-channels = <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>;
24 aspeed,reset-type = "system";
30 m25p,fast-read;
[all …]
Daspeed-bmc-facebook-wedge40.dts1 // SPDX-License-Identifier: GPL-2.0+
3 /dts-v1/;
5 #include "ast2400-facebook-netbmc-common.dtsi"
9 compatible = "facebook,wedge40-bmc", "aspeed,ast2400";
12 stdout-path = &uart3;
16 ast-adc-hwmon {
17 compatible = "iio-hwmon";
18 io-channels = <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>;
28 pinctrl-names = "default";
29 pinctrl-0 = <&pinctrl_pwm0_default
[all …]
Daspeed-g4.dtsi1 // SPDX-License-Identifier: GPL-2.0+
2 #include <dt-bindings/clock/aspeed-clock.h>
6 compatible = "aspeed,ast2400";
7 #address-cells = <1>;
8 #size-cells = <1>;
9 interrupt-parent = <&vic>;
35 #address-cells = <1>;
36 #size-cells = <0>;
39 compatible = "arm,arm926ej-s";
51 compatible = "simple-bus";
[all …]
Daspeed-bmc-microsoft-olympus.dts1 //SPDX-License-Identifier: GPL-2.0+
3 /dts-v1/;
5 #include "aspeed-g4.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
10 compatible = "microsoft,olympus-bmc", "aspeed,ast2400";
13 stdout-path = &uart5;
21 reserved-memory {
22 #address-cells = <1>;
23 #size-cells = <1>;
27 no-map;
[all …]
Daspeed-bmc-quanta-q71l.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3 #include "aspeed-g4.dtsi"
4 #include <dt-bindings/gpio/aspeed-gpio.h>
8 compatible = "quanta,q71l-bmc", "aspeed,ast2400";
30 stdout-path = &uart5;
38 reserved-memory {
39 #address-cells = <1>;
40 #size-cells = <1>;
44 no-map;
[all …]
Daspeed-g5.dtsi1 // SPDX-License-Identifier: GPL-2.0+
2 #include <dt-bindings/clock/aspeed-clock.h>
3 #include <dt-bindings/interrupt-controller/aspeed-scu-ic.h>
8 #address-cells = <1>;
9 #size-cells = <1>;
10 interrupt-parent = <&vic>;
36 #address-cells = <1>;
37 #size-cells = <0>;
40 compatible = "arm,arm1176jzf-s";
52 compatible = "simple-bus";
[all …]
/Linux-v5.15/drivers/iio/adc/
Daspeed_adc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Aspeed AST2400/2500 ADC
9 #include <linux/clk-provider.h>
96 of_device_get_match_data(data->dev); in aspeed_adc_read_raw()
100 *val = readw(data->base + chan->address); in aspeed_adc_read_raw()
104 *val = model_data->vref_voltage; in aspeed_adc_read_raw()
109 *val = clk_get_rate(data->clk_scaler->clk) / in aspeed_adc_read_raw()
114 return -EINVAL; in aspeed_adc_read_raw()
124 of_device_get_match_data(data->dev); in aspeed_adc_write_raw()
128 if (val < model_data->min_sampling_rate || in aspeed_adc_write_raw()
[all …]
/Linux-v5.15/drivers/hwmon/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
20 sensors-detect script from the lm_sensors package. Read
21 <file:Documentation/hwmon/userspace-tools.rst> for details.
274 will be called as370-hwmon.
297 will be called axi-fan-control
306 lm-sensors 2.10.1 for proper userspace support.
345 Only Intel-based Apple's computers are supported (MacBook Pro,
352 the laptop to act as a pinball machine-esque joystick.
367 will be called scmi-hwmon.
390 tristate "ASPEED AST2400/AST2500 PWM and Fan tach driver"
[all …]
/Linux-v5.15/drivers/pinctrl/aspeed/
Dpinctrl-aspeed-g4.c1 // SPDX-License-Identifier: GPL-2.0-or-later
15 #include <linux/pinctrl/pinconf-generic.h>
20 #include "../pinctrl-utils.h"
21 #include "pinmux-aspeed.h"
22 #include "pinctrl-aspeed.h"
32 * The "Multi-function Pins Mapping and Control" table in the SoC datasheet
35 * opposed to naming them e.g. PINMUX_CTRL_[0-9]). Further, signal expressions
42 #define HW_STRAP1 0x70 /* AST2400 strapping is 33 bits, is split */
44 #define SCU80 0x80 /* Multi-function Pin Control #1 */
45 #define SCU84 0x84 /* Multi-function Pin Control #2 */
[all …]
Dpinctrl-aspeed-g5.c1 // SPDX-License-Identifier: GPL-2.0-or-later
16 #include <linux/pinctrl/pinconf-generic.h>
21 #include "../pinctrl-utils.h"
22 #include "pinctrl-aspeed.h"
32 * The "Multi-function Pins Mapping and Control" table in the SoC datasheet
35 * opposed to naming them e.g. PINMUX_CTRL_[0-9]). Further, signal expressions
43 #define HW_STRAP1 0x70 /* AST2400 strapping is 33 bits, is split */
45 #define SCU80 0x80 /* Multi-function Pin Control #1 */
46 #define SCU84 0x84 /* Multi-function Pin Control #2 */
47 #define SCU88 0x88 /* Multi-function Pin Control #3 */
[all …]
/Linux-v5.15/
DMAINTAINERS9 -------------------------
30 ``diff -u`` to make the patch easy to merge. Be prepared to get your
40 See Documentation/process/coding-style.rst for guidance here.
46 See Documentation/process/submitting-patches.rst for details.
57 include a Signed-off-by: line. The current version of this
59 Documentation/process/submitting-patches.rst.
70 that the bug would present a short-term risk to other users if it
76 Documentation/admin-guide/security-bugs.rst for details.
81 ---------------------------------------------------
97 W: *Web-page* with status/info
[all …]