oxp-sensors.c (5d06ec4279a8605b0fa53dd649d7feda3f06d0c2) oxp-sensors.c (7d0c2c61b1a4d1cf5641b35b491fe58ffafe26bc)
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Platform driver for OneXPlayer, AOK ZOE, and Aya Neo Handhelds that expose
4 * fan reading and control via hwmon sysfs.
5 *
6 * Old OXP boards have the same DMI strings and they are told apart by
7 * the boot cpu vendor (Intel/AMD). Currently only AMD boards are
8 * supported but the code is made to be simple to add other handheld

--- 88 unchanged lines hidden (view full) ---

97 DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"),
98 DMI_EXACT_MATCH(DMI_BOARD_NAME, "ONE XPLAYER"),
99 },
100 .driver_data = (void *)oxp_mini_amd,
101 },
102 {
103 .matches = {
104 DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"),
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Platform driver for OneXPlayer, AOK ZOE, and Aya Neo Handhelds that expose
4 * fan reading and control via hwmon sysfs.
5 *
6 * Old OXP boards have the same DMI strings and they are told apart by
7 * the boot cpu vendor (Intel/AMD). Currently only AMD boards are
8 * supported but the code is made to be simple to add other handheld

--- 88 unchanged lines hidden (view full) ---

97 DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"),
98 DMI_EXACT_MATCH(DMI_BOARD_NAME, "ONE XPLAYER"),
99 },
100 .driver_data = (void *)oxp_mini_amd,
101 },
102 {
103 .matches = {
104 DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"),
105 DMI_EXACT_MATCH(DMI_BOARD_NAME, "ONEXPLAYER mini A07"),
106 },
107 .driver_data = (void *)oxp_mini_amd,
108 },
109 {
110 .matches = {
111 DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"),
105 DMI_EXACT_MATCH(DMI_BOARD_NAME, "ONEXPLAYER Mini Pro"),
106 },
107 .driver_data = (void *)oxp_mini_amd_pro,
108 },
109 {},
110};
111
112/* Helper functions to handle EC read/write */

--- 226 unchanged lines hidden ---
112 DMI_EXACT_MATCH(DMI_BOARD_NAME, "ONEXPLAYER Mini Pro"),
113 },
114 .driver_data = (void *)oxp_mini_amd_pro,
115 },
116 {},
117};
118
119/* Helper functions to handle EC read/write */

--- 226 unchanged lines hidden ---