Home
last modified time | relevance | path

Searched +full:rtd1619b +full:- +full:type +full:- +full:c (Results 1 – 3 of 3) sorted by relevance

/linux-6.8/Documentation/devicetree/bindings/usb/
Drealtek,rtd-type-c.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/usb/realtek,rtd-type-c.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Realtek DHC RTD SoCs USB Type-C Connector detection
11 - Stanley Chang <stanley_chang@realtek.com>
14 Realtek digital home center (DHC) RTD series SoCs include a type c module.
15 This module is able to detect the state of type c connector.
20 - realtek,rtd1295-type-c
21 - realtek,rtd1312c-type-c
[all …]
/linux-6.8/drivers/extcon/
Dextcon-rtk-type-c.c1 // SPDX-License-Identifier: GPL-2.0
3 * * extcon-rtk-type-c.c - Realtek Extcon Type C driver
5 * Copyright (C) 2023 Realtek Semiconductor Corporation
23 #include <linux/extcon-provider.h>
25 #include <linux/nvmem-consumer.h>
105 /* Type C register offset */
150 * Realtek Stark rtd1619b
244 void __iomem *reg = type_c->reg_base + USB_TYPEC_CTRL_CC1_0; in rtd129x_switch_type_c_plug_config()
264 dev_err(type_c->dev, "%s: Error cc setting cc=0x%x\n", __func__, cc); in rtd129x_switch_type_c_plug_config()
265 return -EINVAL; in rtd129x_switch_type_c_plug_config()
[all …]
/linux-6.8/drivers/gpio/
Dgpio-rtd.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2023 Realtek Semiconductor Corp.
30 * struct rtd_gpio_info - Specific GPIO register information
75 *reg_offset = info->deb_offset[offset / 8]; in rtd_gpio_get_deb_setval()
77 return info->deb_val[deb_index]; in rtd_gpio_get_deb_setval()
83 *reg_offset = info->deb_offset[0]; in rtd1295_misc_gpio_get_deb_setval()
85 return info->deb_val[deb_index]; in rtd1295_misc_gpio_get_deb_setval()
91 *reg_offset = info->deb_offset[0]; in rtd1295_iso_gpio_get_deb_setval()
93 return info->deb_val[deb_index]; in rtd1295_iso_gpio_get_deb_setval()
180 return data->info->dir_offset[offset / 32]; in rtd_gpio_dir_offset()
[all …]