Home
last modified time | relevance | path

Searched +full:pd +full:- +full:revision (Results 1 – 25 of 152) sorted by relevance

1234567

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/connector/
H A Dusb-connector.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/connector/usb-connector.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
20 - enum:
21 - usb-a-connector
22 - usb-b-connector
23 - usb-c-connector
25 - items:
[all …]
/OK3568_Linux_fs/kernel/drivers/video/fbdev/omap/
H A Dlcd_mipid.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * LCD driver for MIPI DBI-C / DCS compatible LCDs
15 #include <linux/platform_data/lcd-mipid.h>
38 int revision; member
62 BUG_ON(md->spi == NULL); in mipid_transfer()
70 x->tx_buf = &cmd; in mipid_transfer()
71 x->bits_per_word = 9; in mipid_transfer()
72 x->len = 2; in mipid_transfer()
77 x->tx_buf = wbuf; in mipid_transfer()
78 x->len = wlen; in mipid_transfer()
[all …]
/OK3568_Linux_fs/kernel/drivers/input/misc/
H A Dsoc_button_array.c1 // SPDX-License-Identifier: GPL-2.0-only
23 MODULE_PARM_DESC(use_low_level_irq, "Use low-level triggered IRQ instead of edge triggered");
52 * Some 2-in-1s which use the soc_button_array driver have this ugly issue in
53 * their DSDT where the _LID method modifies the irq-type settings of the GPIOs
57 * problematic because when re-enabling the irq, which happens whenever _LID
59 * irq-type to IRQ_TYPE_LEVEL_LOW. Where as the gpio-keys driver programs the
61 * To work around this we don't set gpio_keys_button.gpio on these 2-in-1s,
69 * Acer Switch 10 SW5-012. _LID method messes with home- and
70 * power-button GPIO IRQ settings. When (re-)enabling the irq
72 * ones, leading to an irq-type of IRQ_TYPE_LEVEL_LOW |
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/gma500/
H A Dmid_bios.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * - Split functions by vbt type
10 * - Make them all take drm_device
11 * - Check ioremap failures
21 struct drm_psb_private *dev_priv = dev->dev_private; in mid_get_fuse_settings()
23 pci_get_domain_bus_and_slot(pci_domain_nr(dev->pdev->bus), in mid_get_fuse_settings()
47 dev_priv->iLVDS_enable = fuse_value & FB_MIPI_DISABLE; in mid_get_fuse_settings()
50 dev_priv->iLVDS_enable ? "LVDS display" : "MIPI display"); in mid_get_fuse_settings()
53 if (dev_priv->iLVDS_enable) { in mid_get_fuse_settings()
54 dev_priv->is_lvds_on = true; in mid_get_fuse_settings()
[all …]
/OK3568_Linux_fs/u-boot/include/power/power_delivery/
H A Dtypec.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 /* USB Type-C Specification releases */
77 * struct enter_usb_data - Enter_USB Message details
81 * @active_link_training is a flag that should be set with uni-directional SBRX
82 * communication, and left 0 with passive cables and with bi-directional SBRX
91 * struct usb_pd_identity - USB Power Delivery identity data
113 * struct typec_altmode_desc - USB Type-C Alternate Mode Descriptor
116 * @vdo: VDO returned by Discover Modes USB PD command
167 * struct typec_plug_desc - USB Type-C Cable Plug Descriptor
171 * Represents USB Type-C Cable Plug.
[all …]
H A Dpd_vdo.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright 2015-2017 Google, Inc
9 #include "pd.h"
21 * ----------
26 * <10:8> :: object position (1-7 valid ... used for enter/exit mode only)
85 * SVDM Identity request -> response
106 * --------------------
114 * <15:0> :: USB-IF assigned VID for this cable vendor
117 /* PD Rev2.0 definition */
156 * -------------
[all …]
/OK3568_Linux_fs/kernel/include/linux/usb/
H A Dtypec.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 /* USB Type-C Specification releases */
78 * struct enter_usb_data - Enter_USB Message details
82 * @active_link_training is a flag that should be set with uni-directional SBRX
83 * communication, and left 0 with passive cables and with bi-directional SBRX
92 * struct usb_pd_identity - USB Power Delivery identity data
114 * struct typec_altmode_desc - USB Type-C Alternate Mode Descriptor
117 * @vdo: VDO returned by Discover Modes USB PD command
168 * struct typec_plug_desc - USB Type-C Cable Plug Descriptor
172 * Represents USB Type-C Cable Plug.
[all …]
H A Dpd_vdo.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright 2015-2017 Google, Inc
9 #include "pd.h"
21 * ----------
26 * <10:8> :: object position (1-7 valid ... used for enter/exit mode only)
85 * SVDM Identity request -> response
106 * --------------------
114 * <15:0> :: USB-IF assigned VID for this cable vendor
117 /* PD Rev2.0 definition */
156 * -------------
[all …]
/OK3568_Linux_fs/kernel/drivers/platform/chrome/
H A Dcros_ec_sysfs.c1 // SPDX-License-Identifier: GPL-2.0+
21 #define DRV_NAME "cros-ec-sysfs"
30 count += scnprintf(buf + count, PAGE_SIZE - count, in reboot_show()
31 "ro|rw|cancel|cold|disable-jump|hibernate"); in reboot_show()
32 count += scnprintf(buf + count, PAGE_SIZE - count, in reboot_show()
33 " [at-shutdown]\n"); in reboot_show()
50 {"disable-jump", EC_REBOOT_DISABLE_JUMP, 0}, in reboot_store()
52 {"at-shutdown", -1, EC_REBOOT_FLAG_ON_AP_SHUTDOWN}, in reboot_store()
63 return -ENOMEM; in reboot_store()
65 param = (struct ec_params_reboot_ec *)msg->data; in reboot_store()
[all …]
/OK3568_Linux_fs/kernel/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common-v2.c1 // SPDX-License-Identifier: GPL-2.0
9 #include <dt-bindings/pinctrl/mt65xx.h>
18 #include "mtk-eint.h"
19 #include "pinctrl-mtk-common-v2.h"
22 * struct mtk_drive_desc - the structure that holds the information
29 * formula: output = ((input) / step - 1) * scal
49 writel_relaxed(val, pctl->base[i] + reg); in mtk_w32()
54 return readl_relaxed(pctl->base[i] + reg); in mtk_r32()
77 if (hw->soc->reg_cal && hw->soc->reg_cal[field].range) { in mtk_hw_pin_field_lookup()
78 rc = &hw->soc->reg_cal[field]; in mtk_hw_pin_field_lookup()
[all …]
/OK3568_Linux_fs/kernel/include/dt-bindings/usb/
H A Dpd.h1 /* SPDX-License-Identifier: GPL-2.0 */
64 #define PDO_APDO_TYPE_SHIFT 28 /* Only valid value currently is 0x0 - PPS */
89 * Based on "Table 6-14 Fixed Supply PDO - Sink" of "USB Power Delivery Specification Revision 3.0,
99 * --------------------
107 * <15:0> :: USB-IF assigned VID for this cable vendor
110 /* PD Rev2.0 definition */
139 * -------------
140 * <31:0> : USB-IF assigned XID for this cable
146 * -----------
153 * UFP VDO (PD Revision 3.0+ only)
[all …]
/OK3568_Linux_fs/u-boot/doc/
H A DREADME.omap35 This README is about U-Boot support for TI's ARM Cortex-A8 based OMAP3 [1]
6 family of SoCs. TI's OMAP3 SoC family contains an ARM Cortex-A8. Additionally,
20 * TI/Logic PD Zoom MDK [6]
22 * TI/Logic PD Zoom 2 [7]
24 * CompuLab Ltd. CM-T35 [8]
29 While ARM Cortex-A8 support ARM v7 instruction set (-march=armv7a) we compile
30 with -march=armv5 to allow more compilers to work. For U-Boot code this has
66 * CM-T35:
75 To make U-Boot for OMAP3 support NAND device SW or HW ECC calculation, U-Boot
88 is typically used to write 2nd stage bootloader (known as 'x-loader') which is
[all …]
/OK3568_Linux_fs/kernel/drivers/firmware/efi/
H A Defi-init.c1 // SPDX-License-Identifier: GPL-2.0
7 * Copyright (C) 2013 - 2015 Linaro Ltd.
27 if (md->attribute & (EFI_MEMORY_WB|EFI_MEMORY_WT|EFI_MEMORY_WC)) in is_memory()
42 if (!(md->attribute & EFI_MEMORY_RUNTIME)) in efi_to_phys()
44 if (md->virt_addr == 0) in efi_to_phys()
47 if (md->virt_addr <= addr && in efi_to_phys()
48 (addr - md->virt_addr) < (md->num_pages << EFI_PAGE_SHIFT)) in efi_to_phys()
49 return md->phys_addr + addr - md->virt_addr; in efi_to_phys()
77 /* dummycon on ARM needs non-zero values for columns/lines */ in init_screen_info()
97 return -ENOMEM; in uefi_init()
[all …]
/OK3568_Linux_fs/kernel/drivers/hsi/controllers/
H A Domap_ssi_core.c1 // SPDX-License-Identifier: GPL-2.0-only
17 #include <linux/dma-mapping.h>
40 struct hsi_controller *ssi = m->private; in ssi_regs_show()
42 void __iomem *sys = omap_ssi->sys; in ssi_regs_show()
44 pm_runtime_get_sync(ssi->device.parent); in ssi_regs_show()
45 seq_printf(m, "REVISION\t: 0x%08x\n", readl(sys + SSI_REVISION_REG)); in ssi_regs_show()
48 pm_runtime_put(ssi->device.parent); in ssi_regs_show()
55 struct hsi_controller *ssi = m->private; in ssi_gdd_regs_show()
57 void __iomem *gdd = omap_ssi->gdd; in ssi_gdd_regs_show()
58 void __iomem *sys = omap_ssi->sys; in ssi_gdd_regs_show()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/genet/
H A Dbcmmii.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2014-2017 Broadcom
24 #include <linux/platform_data/mdio-bcm-unimac.h>
34 struct phy_device *phydev = dev->phydev; in bcmgenet_mii_setup()
38 if (priv->old_link != phydev->link) { in bcmgenet_mii_setup()
40 priv->old_link = phydev->link; in bcmgenet_mii_setup()
43 if (phydev->link) { in bcmgenet_mii_setup()
45 if (priv->old_speed != phydev->speed) { in bcmgenet_mii_setup()
47 priv->old_speed = phydev->speed; in bcmgenet_mii_setup()
50 if (priv->old_duplex != phydev->duplex) { in bcmgenet_mii_setup()
[all …]
/OK3568_Linux_fs/kernel/drivers/mfd/
H A Dsec-core.c1 // SPDX-License-Identifier: GPL-2.0+
31 { .name = "s5m8751-pmic", },
32 { .name = "s5m-charger", },
33 { .name = "s5m8751-codec", },
37 { .name = "s5m8763-pmic", },
38 { .name = "s5m-rtc", },
39 { .name = "s5m-charger", },
43 { .name = "s5m8767-pmic", },
44 { .name = "s5m-rtc", },
46 .name = "s5m8767-clk",
[all …]
H A Dwm8994-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm8994-core.c -- Device access for Wolfson WM8994
32 .name = "wm8994-ldo",
37 .name = "wm8994-ldo",
61 .name = "wm8994-codec",
67 .name = "wm8994-gpio",
121 switch (wm8994->type) { in wm8994_suspend()
138 if (!wm8994->ldo_ena_always_driven) in wm8994_suspend()
149 regcache_mark_dirty(wm8994->regmap); in wm8994_suspend()
154 ret = regcache_sync_region(wm8994->regmap, WM8994_GPIO_1, in wm8994_suspend()
[all …]
/OK3568_Linux_fs/u-boot/drivers/power/power_delivery/
H A Dtcpm.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2015-2017 Google, Inc
12 #include <irq-generic.h>
187 VDM_STATE_ERR_BUSY = -3,
188 VDM_STATE_ERR_SEND = -2,
189 VDM_STATE_ERR_TMOUT = -1,
217 * Based on "Table 6-14 Fixed Supply PDO - Sink" of "USB Power Delivery Specification Revision 3.0,
279 POWER_SUPPLY_USB_TYPE_PD_DRP, /* PD Dual Role Port */
280 POWER_SUPPLY_USB_TYPE_PD_PPS, /* PD Programmable Power Supply */
372 * whether to wait for the Type-C device to send the DR_SWAP Message flag
[all …]
/OK3568_Linux_fs/kernel/arch/alpha/kernel/
H A Dsetup.c1 // SPDX-License-Identifier: GPL-2.0
105 * "srmcons" - early callback prints
106 * "console=srm" - full callback based console, including early prints
141 * i386-setup code. This is just enough to make the console
232 { .name = "rtc", .start = -1, .end = -1 }, in reserve_std_resources()
247 for (hose = hose_head; hose; hose = hose->next) in reserve_std_resources()
248 if (hose->index == 0) { in reserve_std_resources()
249 io = hose->io_space; in reserve_std_resources()
264 for ((_cluster) = (memdesc)->cluster, (i) = 0; \
265 (i) < (memdesc)->numclusters; (i)++, (_cluster)++)
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/sm750fb/
H A Dddk750_sii164.h1 /* SPDX-License-Identifier: GPL-2.0 */
59 * Device Revision
74 /* Power down (PD) */
139 /* De-skewing Enable bit (DKEN) */
143 /* De-skewing Setting (DK[3:1])*/
/OK3568_Linux_fs/kernel/drivers/firewire/
H A Dohci.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2003-2006 Kristian Hoegsberg <krh@bitplanet.net>
13 #include <linux/dma-mapping.h>
15 #include <linux/firewire-constants.h>
44 #define ohci_info(ohci, f, args...) dev_info(ohci->card.device, f, ##args)
45 #define ohci_notice(ohci, f, args...) dev_notice(ohci->card.device, f, ##args)
46 #define ohci_err(ohci, f, args...) dev_err(ohci->card.device, f, ##args)
106 * A buffer that contains a block of DMA-able coherent memory used for
126 * List of page-sized buffers for storing DMA descriptors.
284 unsigned short vendor, device, revision, flags; member
[all …]
/OK3568_Linux_fs/u-boot/board/davinci/da8xxevm/
H A DREADME.da8506 In the context of U-Boot, the board is booted in three stages. The initial
12 further (some clocks, SDRAM) and then load the full u-boot from a
13 predefined location in persistent storage to DDR and jumps to the u-boot
24 it allows for additional flexibility (run-time detect of board revision,
31 Logic PD boards, or other boards which store the ethernet MAC address at
35 u-boot.ais file that needs to be written to the correct persistent
42 Assuming that the network is configured and enabled and the u-boot.ais file
45 U-Boot > sf probe 0
46 U-Boot > sf erase 0 +320000
47 U-Boot > tftp u-boot.ais
[all …]
/OK3568_Linux_fs/kernel/arch/m68k/include/asm/
H A DMC68328.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 /* include/asm-m68knommu/MC68328.h: '328 control registers
8 * Based on include/asm-m68knommu/MC68332.h
26 * 0xFFFFF0xx -- System Control
36 #define SCR_WDTH8 0x01 /* 8-Bit Width Select */
39 #define SCR_BETEN 0x10 /* Bus-Error Time-Out Enable */
42 #define SCR_BETO 0x80 /* Bus-Error TimeOut */
45 * Mask Revision Register
52 * 0xFFFFF1xx -- Chip-Select logic
58 * 0xFFFFF2xx -- Phase Locked Loop (PLL) & Power Control
[all …]
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/cxgb4/
H A Diw_cxgb4.h2 * Copyright (c) 2009-2010 Chelsio, Inc. All rights reserved.
14 * - Redistributions of source code must retain the above
17 * - Redistributions in binary form must reproduce the above
42 #include <linux/dma-mapping.h>
63 #include <rdma/cxgb4-abi.h>
76 #define PBL_OFF(rdev_p, a) ((a) - (rdev_p)->lldi.vr->pbl.start)
77 #define RQT_OFF(rdev_p, a) ((a) - (rdev_p)->lldi.vr->rq.start)
81 return skb->data; in cplhdr()
84 #define C4IW_ID_TABLE_F_RANDOM 1 /* Pseudo-randomize the id's returned */
130 struct c4iw_stat pd; member
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/typec/tcpm/
H A Dtcpm.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2015-2017 Google, Inc
25 #include <linux/usb/pd.h>
206 VDM_STATE_ERR_BUSY = -3,
207 VDM_STATE_ERR_SEND = -2,
208 VDM_STATE_ERR_TMOUT = -1,
236 * Based on "Table 6-14 Fixed Supply PDO - Sink" of "USB Power Delivery Specification Revision 3.0,
432 /* PD state for Vendor Defined Messages */
478 * the actual currrent limit after RX of PD_CTRL_PSRDY for PD link,
479 * SNK_READY for non-pd link.
[all …]

1234567