Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
commit
1c29d98990
|
@ -35,3 +35,12 @@ Description:
|
|||
controls the duration in milliseconds that blkback will not
|
||||
cache any page not backed by a grant mapping.
|
||||
The default is 10ms.
|
||||
|
||||
What: /sys/module/xen_blkback/parameters/feature_persistent
|
||||
Date: September 2020
|
||||
KernelVersion: 5.10
|
||||
Contact: SeongJae Park <sjpark@amazon.de>
|
||||
Description:
|
||||
Whether to enable the persistent grants feature or not. Note
|
||||
that this option only takes effect on newly created backends.
|
||||
The default is Y (enable).
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
What: /sys/module/xen_blkfront/parameters/max
|
||||
What: /sys/module/xen_blkfront/parameters/max_indirect_segments
|
||||
Date: June 2013
|
||||
KernelVersion: 3.11
|
||||
Contact: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
|
||||
|
@ -8,3 +8,12 @@ Description:
|
|||
is 32 - higher value means more potential throughput but more
|
||||
memory usage. The backend picks the minimum of the frontend
|
||||
and its default backend value.
|
||||
|
||||
What: /sys/module/xen_blkfront/parameters/feature_persistent
|
||||
Date: September 2020
|
||||
KernelVersion: 5.10
|
||||
Contact: SeongJae Park <sjpark@amazon.de>
|
||||
Description:
|
||||
Whether to enable the persistent grants feature or not. Note
|
||||
that this option only takes effect on newly created frontends.
|
||||
The default is Y (enable).
|
||||
|
|
|
@ -3,9 +3,9 @@ SafeSetID
|
|||
=========
|
||||
SafeSetID is an LSM module that gates the setid family of syscalls to restrict
|
||||
UID/GID transitions from a given UID/GID to only those approved by a
|
||||
system-wide whitelist. These restrictions also prohibit the given UIDs/GIDs
|
||||
system-wide allowlist. These restrictions also prohibit the given UIDs/GIDs
|
||||
from obtaining auxiliary privileges associated with CAP_SET{U/G}ID, such as
|
||||
allowing a user to set up user namespace UID mappings.
|
||||
allowing a user to set up user namespace UID/GID mappings.
|
||||
|
||||
|
||||
Background
|
||||
|
@ -98,10 +98,21 @@ Directions for use
|
|||
==================
|
||||
This LSM hooks the setid syscalls to make sure transitions are allowed if an
|
||||
applicable restriction policy is in place. Policies are configured through
|
||||
securityfs by writing to the safesetid/add_whitelist_policy and
|
||||
safesetid/flush_whitelist_policies files at the location where securityfs is
|
||||
mounted. The format for adding a policy is '<UID>:<UID>', using literal
|
||||
numbers, such as '123:456'. To flush the policies, any write to the file is
|
||||
sufficient. Again, configuring a policy for a UID will prevent that UID from
|
||||
obtaining auxiliary setid privileges, such as allowing a user to set up user
|
||||
namespace UID mappings.
|
||||
securityfs by writing to the safesetid/uid_allowlist_policy and
|
||||
safesetid/gid_allowlist_policy files at the location where securityfs is
|
||||
mounted. The format for adding a policy is '<UID>:<UID>' or '<GID>:<GID>',
|
||||
using literal numbers, and ending with a newline character such as '123:456\n'.
|
||||
Writing an empty string "" will flush the policy. Again, configuring a policy
|
||||
for a UID/GID will prevent that UID/GID from obtaining auxiliary setid
|
||||
privileges, such as allowing a user to set up user namespace UID/GID mappings.
|
||||
|
||||
Note on GID policies and setgroups()
|
||||
==================
|
||||
In v5.9 we are adding support for limiting CAP_SETGID privileges as was done
|
||||
previously for CAP_SETUID. However, for compatibility with common sandboxing
|
||||
related code conventions in userspace, we currently allow arbitrary
|
||||
setgroups() calls for processes with CAP_SETGID restrictions. Until we add
|
||||
support in a future release for restricting setgroups() calls, these GID
|
||||
policies add no meaningful security. setgroups() restrictions will be enforced
|
||||
once we have the policy checking code in place, which will rely on GID policy
|
||||
configuration code added in v5.9.
|
||||
|
|
|
@ -61,43 +61,46 @@ will lead to quite erratic information inside ``/proc/stat``::
|
|||
|
||||
static volatile sig_atomic_t stop;
|
||||
|
||||
static void sighandler (int signr)
|
||||
static void sighandler(int signr)
|
||||
{
|
||||
(void) signr;
|
||||
stop = 1;
|
||||
(void) signr;
|
||||
stop = 1;
|
||||
}
|
||||
|
||||
static unsigned long hog (unsigned long niters)
|
||||
{
|
||||
stop = 0;
|
||||
while (!stop && --niters);
|
||||
return niters;
|
||||
stop = 0;
|
||||
while (!stop && --niters);
|
||||
return niters;
|
||||
}
|
||||
|
||||
int main (void)
|
||||
{
|
||||
int i;
|
||||
struct itimerval it = { .it_interval = { .tv_sec = 0, .tv_usec = 1 },
|
||||
.it_value = { .tv_sec = 0, .tv_usec = 1 } };
|
||||
sigset_t set;
|
||||
unsigned long v[HIST];
|
||||
double tmp = 0.0;
|
||||
unsigned long n;
|
||||
signal (SIGALRM, &sighandler);
|
||||
setitimer (ITIMER_REAL, &it, NULL);
|
||||
int i;
|
||||
struct itimerval it = {
|
||||
.it_interval = { .tv_sec = 0, .tv_usec = 1 },
|
||||
.it_value = { .tv_sec = 0, .tv_usec = 1 } };
|
||||
sigset_t set;
|
||||
unsigned long v[HIST];
|
||||
double tmp = 0.0;
|
||||
unsigned long n;
|
||||
signal(SIGALRM, &sighandler);
|
||||
setitimer(ITIMER_REAL, &it, NULL);
|
||||
|
||||
hog (ULONG_MAX);
|
||||
for (i = 0; i < HIST; ++i) v[i] = ULONG_MAX - hog (ULONG_MAX);
|
||||
for (i = 0; i < HIST; ++i) tmp += v[i];
|
||||
tmp /= HIST;
|
||||
n = tmp - (tmp / 3.0);
|
||||
hog (ULONG_MAX);
|
||||
for (i = 0; i < HIST; ++i) v[i] = ULONG_MAX - hog(ULONG_MAX);
|
||||
for (i = 0; i < HIST; ++i) tmp += v[i];
|
||||
tmp /= HIST;
|
||||
n = tmp - (tmp / 3.0);
|
||||
|
||||
sigemptyset (&set);
|
||||
sigaddset (&set, SIGALRM);
|
||||
sigemptyset(&set);
|
||||
sigaddset(&set, SIGALRM);
|
||||
|
||||
for (;;) {
|
||||
hog (n);
|
||||
sigwait (&set, &i);
|
||||
}
|
||||
return 0;
|
||||
for (;;) {
|
||||
hog(n);
|
||||
sigwait(&set, &i);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -5978,6 +5978,13 @@
|
|||
After which time (jiffies) the event handling loop
|
||||
should start to delay EOI handling. Default is 2.
|
||||
|
||||
xen.fifo_events= [XEN]
|
||||
Boolean parameter to disable using fifo event handling
|
||||
even if available. Normally fifo event handling is
|
||||
preferred over the 2-level event handling, as it is
|
||||
fairer and the number of possible event channels is
|
||||
much higher. Default is on (use fifo events).
|
||||
|
||||
nopv= [X86,XEN,KVM,HYPER_V,VMWARE]
|
||||
Disables the PV optimizations forcing the guest to run
|
||||
as generic guest with no PV drivers. Currently support
|
||||
|
|
|
@ -27,6 +27,7 @@ Currently, these files are in /proc/sys/vm:
|
|||
- admin_reserve_kbytes
|
||||
- block_dump
|
||||
- compact_memory
|
||||
- compaction_proactiveness
|
||||
- compact_unevictable_allowed
|
||||
- dirty_background_bytes
|
||||
- dirty_background_ratio
|
||||
|
@ -37,6 +38,7 @@ Currently, these files are in /proc/sys/vm:
|
|||
- dirty_writeback_centisecs
|
||||
- drop_caches
|
||||
- extfrag_threshold
|
||||
- highmem_is_dirtyable
|
||||
- hugetlb_shm_group
|
||||
- laptop_mode
|
||||
- legacy_va_layout
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. _hugetlbpage_index:
|
||||
|
||||
====================
|
||||
HugeTLBpage on ARM64
|
||||
====================
|
||||
|
|
|
@ -124,6 +124,10 @@ For zoned block devices (zoned attribute indicating "host-managed" or
|
|||
EXPLICIT OPEN, IMPLICIT OPEN or CLOSED, is limited by this value.
|
||||
If this value is 0, there is no limit.
|
||||
|
||||
If the host attempts to exceed this limit, the driver should report this error
|
||||
with BLK_STS_ZONE_ACTIVE_RESOURCE, which user space may see as the EOVERFLOW
|
||||
errno.
|
||||
|
||||
max_open_zones (RO)
|
||||
-------------------
|
||||
For zoned block devices (zoned attribute indicating "host-managed" or
|
||||
|
@ -131,6 +135,10 @@ For zoned block devices (zoned attribute indicating "host-managed" or
|
|||
EXPLICIT OPEN or IMPLICIT OPEN, is limited by this value.
|
||||
If this value is 0, there is no limit.
|
||||
|
||||
If the host attempts to exceed this limit, the driver should report this error
|
||||
with BLK_STS_ZONE_OPEN_RESOURCE, which user space may see as the ETOOMANYREFS
|
||||
errno.
|
||||
|
||||
max_sectors_kb (RW)
|
||||
-------------------
|
||||
This is the maximum number of kilobytes that the block layer will allow
|
||||
|
|
|
@ -519,10 +519,9 @@ routines, e.g.:::
|
|||
Part II - Non-coherent DMA allocations
|
||||
--------------------------------------
|
||||
|
||||
These APIs allow to allocate pages in the kernel direct mapping that are
|
||||
guaranteed to be DMA addressable. This means that unlike dma_alloc_coherent,
|
||||
virt_to_page can be called on the resulting address, and the resulting
|
||||
struct page can be used for everything a struct page is suitable for.
|
||||
These APIs allow to allocate pages that are guaranteed to be DMA addressable
|
||||
by the passed in device, but which need explicit management of memory ownership
|
||||
for the kernel vs the device.
|
||||
|
||||
If you don't understand how cache line coherency works between a processor and
|
||||
an I/O device, you should not be using this part of the API.
|
||||
|
@ -537,7 +536,7 @@ an I/O device, you should not be using this part of the API.
|
|||
This routine allocates a region of <size> bytes of consistent memory. It
|
||||
returns a pointer to the allocated region (in the processor's virtual address
|
||||
space) or NULL if the allocation failed. The returned memory may or may not
|
||||
be in the kernels direct mapping. Drivers must not call virt_to_page on
|
||||
be in the kernel direct mapping. Drivers must not call virt_to_page on
|
||||
the returned memory region.
|
||||
|
||||
It also returns a <dma_handle> which may be cast to an unsigned integer the
|
||||
|
@ -565,7 +564,45 @@ reused.
|
|||
Free a region of memory previously allocated using dma_alloc_noncoherent().
|
||||
dev, size and dma_handle and dir must all be the same as those passed into
|
||||
dma_alloc_noncoherent(). cpu_addr must be the virtual address returned by
|
||||
the dma_alloc_noncoherent().
|
||||
dma_alloc_noncoherent().
|
||||
|
||||
::
|
||||
|
||||
struct page *
|
||||
dma_alloc_pages(struct device *dev, size_t size, dma_addr_t *dma_handle,
|
||||
enum dma_data_direction dir, gfp_t gfp)
|
||||
|
||||
This routine allocates a region of <size> bytes of non-coherent memory. It
|
||||
returns a pointer to first struct page for the region, or NULL if the
|
||||
allocation failed. The resulting struct page can be used for everything a
|
||||
struct page is suitable for.
|
||||
|
||||
It also returns a <dma_handle> which may be cast to an unsigned integer the
|
||||
same width as the bus and given to the device as the DMA address base of
|
||||
the region.
|
||||
|
||||
The dir parameter specified if data is read and/or written by the device,
|
||||
see dma_map_single() for details.
|
||||
|
||||
The gfp parameter allows the caller to specify the ``GFP_`` flags (see
|
||||
kmalloc()) for the allocation, but rejects flags used to specify a memory
|
||||
zone such as GFP_DMA or GFP_HIGHMEM.
|
||||
|
||||
Before giving the memory to the device, dma_sync_single_for_device() needs
|
||||
to be called, and before reading memory written by the device,
|
||||
dma_sync_single_for_cpu(), just like for streaming DMA mappings that are
|
||||
reused.
|
||||
|
||||
::
|
||||
|
||||
void
|
||||
dma_free_pages(struct device *dev, size_t size, struct page *page,
|
||||
dma_addr_t dma_handle, enum dma_data_direction dir)
|
||||
|
||||
Free a region of memory previously allocated using dma_alloc_pages().
|
||||
dev, size and dma_handle and dir must all be the same as those passed into
|
||||
dma_alloc_noncoherent(). page must be the pointer returned by
|
||||
dma_alloc_pages().
|
||||
|
||||
::
|
||||
|
||||
|
|
|
@ -20,6 +20,12 @@ properties:
|
|||
- enum:
|
||||
- allo,sparky # Allo.com Sparky
|
||||
- cubietech,cubieboard6 # Cubietech CubieBoard6
|
||||
- roseapplepi,roseapplepi # RoseapplePi.org RoseapplePi
|
||||
- const: actions,s500
|
||||
- items:
|
||||
- enum:
|
||||
- caninos,labrador-base-m # Labrador Base Board M v1
|
||||
- const: caninos,labrador-v2 # Labrador Core v2
|
||||
- const: actions,s500
|
||||
- items:
|
||||
- enum:
|
||||
|
@ -28,6 +34,11 @@ properties:
|
|||
- const: actions,s500
|
||||
|
||||
# The Actions Semi S700 is a quad-core ARM Cortex-A53 SoC.
|
||||
- items:
|
||||
- enum:
|
||||
- caninos,labrador-base-m2 # Labrador Base Board M v2
|
||||
- const: caninos,labrador-v3 # Labrador Core v3
|
||||
- const: actions,s700
|
||||
- items:
|
||||
- enum:
|
||||
- cubietech,cubieboard7 # Cubietech CubieBoard7
|
||||
|
@ -38,3 +49,5 @@ properties:
|
|||
- enum:
|
||||
- ucrobotics,bubblegum-96 # uCRobotics Bubblegum-96
|
||||
- const: actions,s900
|
||||
|
||||
additionalProperties: true
|
||||
|
|
|
@ -19,4 +19,7 @@ properties:
|
|||
- altr,socfpga-arria5
|
||||
- altr,socfpga-arria10
|
||||
- const: altr,socfpga
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -30,4 +30,6 @@ properties:
|
|||
- amazon,al-alpine-v3-evp
|
||||
- const: amazon,al-alpine-v3
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -96,6 +96,7 @@ properties:
|
|||
- hwacom,amazetv
|
||||
- khadas,vim
|
||||
- libretech,aml-s905x-cc
|
||||
- libretech,aml-s905x-cc-v2
|
||||
- nexbox,a95x
|
||||
- const: amlogic,s905x
|
||||
- const: amlogic,meson-gxl
|
||||
|
@ -153,6 +154,7 @@ properties:
|
|||
- azw,gtking
|
||||
- azw,gtking-pro
|
||||
- hardkernel,odroid-n2
|
||||
- hardkernel,odroid-n2-plus
|
||||
- khadas,vim3
|
||||
- ugoos,am6
|
||||
- const: amlogic,s922x
|
||||
|
@ -171,4 +173,7 @@ properties:
|
|||
- enum:
|
||||
- amlogic,ad401
|
||||
- const: amlogic,a1
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -83,4 +83,6 @@ required:
|
|||
- compatible
|
||||
- core-module@10000000
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -120,4 +120,6 @@ required:
|
|||
- compatible
|
||||
- soc
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -68,4 +68,6 @@ required:
|
|||
- compatible
|
||||
- core-module@10000000
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -216,4 +216,6 @@ allOf:
|
|||
required:
|
||||
- arm,hbi
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -41,6 +41,7 @@ properties:
|
|||
- overkiz,kizboxmini-mb # Overkiz kizbox Mini Mother Board
|
||||
- overkiz,kizboxmini-rd # Overkiz kizbox Mini RailDIN
|
||||
- overkiz,smartkiz # Overkiz SmartKiz Board
|
||||
- gardena,smart-gateway-at91sam # GARDENA smart Gateway (Article No. 19000)
|
||||
- const: atmel,at91sam9g25
|
||||
- const: atmel,at91sam9x5
|
||||
- const: atmel,at91sam9
|
||||
|
@ -183,4 +184,6 @@ properties:
|
|||
- const: atmel,samv71
|
||||
- const: atmel,samv7
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -18,4 +18,6 @@ properties:
|
|||
- const: lsi,axm5516-amarillo
|
||||
- const: lsi,axm5516
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -51,4 +51,6 @@ properties:
|
|||
- raspberrypi,3-compute-module-lite
|
||||
- const: brcm,bcm2837
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -18,4 +18,6 @@ properties:
|
|||
- brcm,bcm28155-ap
|
||||
- const: brcm,bcm11351
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -18,4 +18,6 @@ properties:
|
|||
- brcm,bcm21664-garnet
|
||||
- const: brcm,bcm21664
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -18,4 +18,6 @@ properties:
|
|||
- brcm,bcm23550-sparrow
|
||||
- const: brcm,bcm23550
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -83,6 +83,11 @@ properties:
|
|||
- brcm,bcm953012er
|
||||
- brcm,bcm953012hr
|
||||
- brcm,bcm953012k
|
||||
- meraki,mr32
|
||||
- const: brcm,brcm53012
|
||||
- const: brcm,brcm53016
|
||||
- const: brcm,bcm4708
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -26,4 +26,6 @@ properties:
|
|||
- brcm,bcm58305
|
||||
- const: brcm,cygnus
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -25,4 +25,6 @@ properties:
|
|||
- const: brcm,bcm53342
|
||||
- const: brcm,hr2
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -20,4 +20,6 @@ properties:
|
|||
- brcm,ns2-xmc
|
||||
- const: brcm,ns2
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -33,4 +33,6 @@ properties:
|
|||
- brcm,bcm88312
|
||||
- const: brcm,nsp
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -21,4 +21,6 @@ properties:
|
|||
- brcm,bcm958802a802x
|
||||
- const: brcm,stingray
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -19,4 +19,6 @@ properties:
|
|||
- cavium,thunderx2-cn9900
|
||||
- const: brcm,vulcan-soc
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -17,4 +17,7 @@ properties:
|
|||
- enum:
|
||||
- bitmain,sophon-edge
|
||||
- const: bitmain,bm1880
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -20,3 +20,5 @@ properties:
|
|||
- enum:
|
||||
- calxeda,highbank
|
||||
- calxeda,ecx-2000
|
||||
|
||||
additionalProperties: true
|
||||
|
|
|
@ -15,4 +15,6 @@ properties:
|
|||
compatible:
|
||||
const: cnxt,cx92755
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -120,6 +120,7 @@ properties:
|
|||
- fsl,imx6q-sabrelite
|
||||
- fsl,imx6q-sabresd
|
||||
- kontron,imx6q-samx6i # Kontron i.MX6 Dual/Quad SMARC Module
|
||||
- logicpd,imx6q-logicpd
|
||||
- prt,prti6q # Protonic PRTI6Q board
|
||||
- prt,prtwd2 # Protonic WD2 board
|
||||
- technexion,imx6q-pico-dwarf # TechNexion i.MX6Q Pico-Dwarf
|
||||
|
@ -156,6 +157,21 @@ properties:
|
|||
- const: gw,ventana
|
||||
- const: fsl,imx6q
|
||||
|
||||
- description: i.MX6Q PHYTEC phyBOARD-Mira
|
||||
items:
|
||||
- enum:
|
||||
- phytec,imx6q-pbac06-emmc # PHYTEC phyBOARD-Mira eMMC RDK
|
||||
- phytec,imx6q-pbac06-nand # PHYTEC phyBOARD-Mira NAND RDK
|
||||
- const: phytec,imx6q-pbac06 # PHYTEC phyBOARD-Mira
|
||||
- const: phytec,imx6qdl-pcm058 # PHYTEC phyCORE-i.MX6
|
||||
- const: fsl,imx6q
|
||||
|
||||
- description: i.MX6Q PHYTEC phyFLEX-i.MX6
|
||||
items:
|
||||
- const: phytec,imx6q-pbab01 # PHYTEC phyFLEX carrier board
|
||||
- const: phytec,imx6q-pfla02 # PHYTEC phyFLEX-i.MX6 Quad
|
||||
- const: fsl,imx6q
|
||||
|
||||
- description: i.MX6QP based Boards
|
||||
items:
|
||||
- enum:
|
||||
|
@ -163,6 +179,13 @@ properties:
|
|||
- fsl,imx6qp-sabresd # i.MX6 Quad Plus SABRE Smart Device Board
|
||||
- const: fsl,imx6qp
|
||||
|
||||
- description: i.MX6QP PHYTEC phyBOARD-Mira
|
||||
items:
|
||||
- const: phytec,imx6qp-pbac06-nand
|
||||
- const: phytec,imx6qp-pbac06 # PHYTEC phyBOARD-Mira
|
||||
- const: phytec,imx6qdl-pcm058 # PHYTEC phyCORE-i.MX6
|
||||
- const: fsl,imx6qp
|
||||
|
||||
- description: i.MX6DL based Boards
|
||||
items:
|
||||
- enum:
|
||||
|
@ -188,6 +211,7 @@ properties:
|
|||
- toradex,colibri_imx6dl-v1_1-eval-v3 # Colibri iMX6 Module V1.1 on Colibri Evaluation Board V3
|
||||
- ysoft,imx6dl-yapp4-draco # i.MX6 DualLite Y Soft IOTA Draco board
|
||||
- ysoft,imx6dl-yapp4-hydra # i.MX6 DualLite Y Soft IOTA Hydra board
|
||||
- ysoft,imx6dl-yapp4-orion # i.MX6 DualLite Y Soft IOTA Orion board
|
||||
- ysoft,imx6dl-yapp4-ursa # i.MX6 Solo Y Soft IOTA Ursa board
|
||||
- const: fsl,imx6dl
|
||||
|
||||
|
@ -211,10 +235,26 @@ properties:
|
|||
- const: gw,ventana
|
||||
- const: fsl,imx6dl
|
||||
|
||||
- description: i.MX6DL PHYTEC phyBOARD-Mira
|
||||
items:
|
||||
- enum:
|
||||
- phytec,imx6dl-pbac06-emmc # PHYTEC phyBOARD-Mira eMMC RDK
|
||||
- phytec,imx6dl-pbac06-nand # PHYTEC phyBOARD-Mira NAND RDK
|
||||
- const: phytec,imx6dl-pbac06 # PHYTEC phyBOARD-Mira
|
||||
- const: phytec,imx6qdl-pcm058 # PHYTEC phyCORE-i.MX6
|
||||
- const: fsl,imx6dl
|
||||
|
||||
- description: i.MX6DL PHYTEC phyFLEX-i.MX6
|
||||
items:
|
||||
- const: phytec,imx6dl-pbab01 # PHYTEC phyFLEX carrier board
|
||||
- const: phytec,imx6dl-pfla02 # PHYTEC phyFLEX-i.MX6 Quad
|
||||
- const: fsl,imx6dl
|
||||
|
||||
- description: i.MX6SL based Boards
|
||||
items:
|
||||
- enum:
|
||||
- fsl,imx6sl-evk # i.MX6 SoloLite EVK Board
|
||||
- kobo,tolino-shine2hd
|
||||
- kobo,tolino-shine3
|
||||
- const: fsl,imx6sl
|
||||
|
||||
|
@ -246,6 +286,15 @@ properties:
|
|||
- technexion,imx6ul-pico-pi # TechNexion i.MX6UL Pico-Pi
|
||||
- const: fsl,imx6ul
|
||||
|
||||
- description: i.MX6UL PHYTEC phyBOARD-Segin
|
||||
items:
|
||||
- enum:
|
||||
- phytec,imx6ul-pbacd10-emmc
|
||||
- phytec,imx6ul-pbacd10-nand
|
||||
- const: phytec,imx6ul-pbacd10 # PHYTEC phyBOARD-Segin with i.MX6 UL
|
||||
- const: phytec,imx6ul-pcl063 # PHYTEC phyCORE-i.MX 6UL
|
||||
- const: fsl,imx6ul
|
||||
|
||||
- description: Kontron N6310 S Board
|
||||
items:
|
||||
- const: kontron,imx6ul-n6310-s
|
||||
|
@ -277,6 +326,15 @@ properties:
|
|||
- toradex,colibri-imx6ull-wifi-eval # Colibri iMX6ULL Wi-Fi / BT Module on Colibri Eval Board
|
||||
- const: fsl,imx6ull
|
||||
|
||||
- description: i.MX6ULL PHYTEC phyBOARD-Segin
|
||||
items:
|
||||
- enum:
|
||||
- phytec,imx6ull-pbacd10-emmc
|
||||
- phytec,imx6ull-pbacd10-nand
|
||||
- const: phytec,imx6ull-pbacd10 # PHYTEC phyBOARD-Segin with i.MX6 ULL
|
||||
- const: phytec,imx6ull-pcl063 # PHYTEC phyCORE-i.MX 6ULL
|
||||
- const: fsl,imx6ull
|
||||
|
||||
- description: Kontron N6411 S Board
|
||||
items:
|
||||
- const: kontron,imx6ull-n6411-s
|
||||
|
@ -344,7 +402,16 @@ properties:
|
|||
- description: i.MX8MM based Boards
|
||||
items:
|
||||
- enum:
|
||||
- beacon,imx8mm-beacon-kit # i.MX8MM Beacon Development Kit
|
||||
- fsl,imx8mm-ddr4-evk # i.MX8MM DDR4 EVK Board
|
||||
- fsl,imx8mm-evk # i.MX8MM EVK Board
|
||||
- variscite,var-som-mx8mm # i.MX8MM Variscite VAR-SOM-MX8MM module
|
||||
- const: fsl,imx8mm
|
||||
|
||||
- description: Variscite VAR-SOM-MX8MM based boards
|
||||
items:
|
||||
- const: variscite,var-som-mx8mm-symphony
|
||||
- const: variscite,var-som-mx8mm
|
||||
- const: fsl,imx8mm
|
||||
|
||||
- description: i.MX8MN based Boards
|
||||
|
@ -354,6 +421,12 @@ properties:
|
|||
- fsl,imx8mn-evk # i.MX8MN LPDDR4 EVK Board
|
||||
- const: fsl,imx8mn
|
||||
|
||||
- description: Variscite VAR-SOM-MX8MN based boards
|
||||
items:
|
||||
- const: variscite,var-som-mx8mn-symphony
|
||||
- const: variscite,var-som-mx8mn
|
||||
- const: fsl,imx8mn
|
||||
|
||||
- description: i.MX8MP based Boards
|
||||
items:
|
||||
- enum:
|
||||
|
@ -372,13 +445,35 @@ properties:
|
|||
- technexion,pico-pi-imx8m # TechNexion PICO-PI-8M evk
|
||||
- const: fsl,imx8mq
|
||||
|
||||
- description: Purism Librem5 phones
|
||||
items:
|
||||
- enum:
|
||||
- purism,librem5r2 # Purism Librem5 phone "Chestnut"
|
||||
- purism,librem5r3 # Purism Librem5 phone "Dogwood"
|
||||
- const: purism,librem5
|
||||
- const: fsl,imx8mq
|
||||
|
||||
- description: Zodiac Inflight Innovations Ultra Boards
|
||||
items:
|
||||
- enum:
|
||||
- zii,imx8mq-ultra-rmb3
|
||||
- zii,imx8mq-ultra-zest
|
||||
- const: zii,imx8mq-ultra
|
||||
- const: fsl,imx8mq
|
||||
|
||||
- description: i.MX8QXP based Boards
|
||||
items:
|
||||
- enum:
|
||||
- einfochips,imx8qxp-ai_ml # i.MX8QXP AI_ML Board
|
||||
- fsl,imx8qxp-mek # i.MX8QXP MEK Board
|
||||
- toradex,colibri-imx8x # Colibri iMX8X Module
|
||||
- const: fsl,imx8qxp
|
||||
|
||||
- description: Toradex Colibri i.MX8 Evaluation Board
|
||||
items:
|
||||
- enum:
|
||||
- toradex,colibri-imx8x-eval-v3 # Colibri iMX8X Module on Colibri Evaluation Board V3
|
||||
- const: toradex,colibri-imx8x
|
||||
- const: fsl,imx8qxp
|
||||
|
||||
- description:
|
||||
|
@ -526,4 +621,6 @@ properties:
|
|||
- fsl,s32v234-evb # S32V234-EVB2 Customer Evaluation Board
|
||||
- const: fsl,s32v234
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -64,4 +64,7 @@ properties:
|
|||
items:
|
||||
- const: H836ASDJ
|
||||
- const: hisilicon,sd5203
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -16,4 +16,7 @@ properties:
|
|||
- enum:
|
||||
- intel,keembay-evm
|
||||
- const: intel,keembay
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -22,3 +22,5 @@ properties:
|
|||
- enum:
|
||||
- gateworks,gw2358
|
||||
- const: intel,ixp43x
|
||||
|
||||
additionalProperties: true
|
||||
|
|
|
@ -42,3 +42,5 @@ properties:
|
|||
- description: TI-SCI processor id for the remote processor device
|
||||
- description: TI-SCI host id to which processor control ownership
|
||||
should be transferred to
|
||||
|
||||
additionalProperties: true
|
||||
|
|
|
@ -59,3 +59,5 @@ properties:
|
|||
- const: marvell,cn9130
|
||||
- const: marvell,armada-ap807-quad
|
||||
- const: marvell,armada-ap807
|
||||
|
||||
additionalProperties: true
|
||||
|
|
|
@ -119,4 +119,7 @@ properties:
|
|||
- const: google,krane-sku176
|
||||
- const: google,krane
|
||||
- const: mediatek,mt8183
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -62,4 +62,6 @@ required:
|
|||
- compatible
|
||||
- axi@600000000
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -16,4 +16,5 @@ properties:
|
|||
- const: moxa,moxart-uc-7112-lx
|
||||
- const: moxa,moxart
|
||||
|
||||
additionalProperties: true
|
||||
...
|
||||
|
|
|
@ -35,4 +35,7 @@ properties:
|
|||
- enum:
|
||||
- dell,wyse-ariel
|
||||
- const: marvell,mmp3
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -31,3 +31,5 @@ properties:
|
|||
- enum:
|
||||
- 70mai,midrived08 # 70mai midrive d08
|
||||
- const: mstar,mercury5
|
||||
|
||||
additionalProperties: true
|
||||
|
|
|
@ -21,4 +21,6 @@ properties:
|
|||
- ea,ea3250
|
||||
- phytec,phy3250
|
||||
- const: nxp,lpc3250
|
||||
|
||||
additionalProperties: true
|
||||
...
|
||||
|
|
|
@ -18,6 +18,7 @@ Required properties:
|
|||
(base address and length)
|
||||
|
||||
Optional properties:
|
||||
- #power-domain-cells: Should be 0 if the instance is a power domain provider.
|
||||
- #reset-cells: Should be 1 if the PRM instance in question supports resets.
|
||||
|
||||
Example:
|
||||
|
@ -25,5 +26,6 @@ Example:
|
|||
prm_dsp2: prm@1b00 {
|
||||
compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
|
||||
reg = <0x1b00 0x40>;
|
||||
#power-domain-cells = <0>;
|
||||
#reset-cells = <1>;
|
||||
};
|
||||
|
|
|
@ -40,6 +40,7 @@ description: |
|
|||
sdm630
|
||||
sdm660
|
||||
sdm845
|
||||
sm8250
|
||||
|
||||
The 'board' element must be one of the following strings:
|
||||
|
||||
|
@ -47,6 +48,8 @@ description: |
|
|||
cp01-c1
|
||||
dragonboard
|
||||
hk01
|
||||
hk10-c1
|
||||
hk10-c2
|
||||
idp
|
||||
liquid
|
||||
mtp
|
||||
|
@ -150,6 +153,8 @@ properties:
|
|||
- items:
|
||||
- enum:
|
||||
- qcom,ipq8074-hk01
|
||||
- qcom,ipq8074-hk10-c1
|
||||
- qcom,ipq8074-hk10-c2
|
||||
- const: qcom,ipq8074
|
||||
|
||||
- items:
|
||||
|
@ -167,4 +172,12 @@ properties:
|
|||
- qcom,ipq6018-cp01-c1
|
||||
- const: qcom,ipq6018
|
||||
|
||||
- items:
|
||||
- enum:
|
||||
- qcom,qrb5165-rb5
|
||||
- qcom,sm8250-mtp
|
||||
- const: qcom,sm8250
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -19,4 +19,6 @@ properties:
|
|||
- xunlong,orangepi-i96 # Orange Pi i96
|
||||
- const: rda,8810pl
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -54,4 +54,7 @@ properties:
|
|||
- enum:
|
||||
- realtek,mjolnir # Realtek Mjolnir EVB
|
||||
- const: realtek,rtd1619
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -281,10 +281,24 @@ properties:
|
|||
- renesas,draak # Draak (RTP0RC77995SEB0010S)
|
||||
- const: renesas,r8a77995
|
||||
|
||||
- description: R-Car V3U (R8A779A0)
|
||||
items:
|
||||
- enum:
|
||||
- renesas,falcon-cpu # Falcon CPU board (RTP0RC779A0CPB0010S)
|
||||
- const: renesas,r8a779a0
|
||||
|
||||
- items:
|
||||
- enum:
|
||||
- renesas,falcon-breakout # Falcon BreakOut board (RTP0RC779A0BOB0010S)
|
||||
- const: renesas,falcon-cpu
|
||||
- const: renesas,r8a779a0
|
||||
|
||||
- description: RZ/N1D (R9A06G032)
|
||||
items:
|
||||
- enum:
|
||||
- renesas,rzn1d400-db # RZN1D-DB (RZ/N1D Demo Board for the RZ/N1D 400 pins package)
|
||||
- const: renesas,r9a06g032
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -104,6 +104,11 @@ properties:
|
|||
- firefly,roc-rk3399-pc-mezzanine
|
||||
- const: rockchip,rk3399
|
||||
|
||||
- description: FriendlyElec NanoPi R2S
|
||||
items:
|
||||
- const: friendlyarm,nanopi-r2s
|
||||
- const: rockchip,rk3328
|
||||
|
||||
- description: FriendlyElec NanoPi4 series boards
|
||||
items:
|
||||
- enum:
|
||||
|
@ -430,8 +435,12 @@ properties:
|
|||
- const: radxa,rock
|
||||
- const: rockchip,rk3188
|
||||
|
||||
- description: Radxa ROCK Pi 4
|
||||
- description: Radxa ROCK Pi 4A/B/C
|
||||
items:
|
||||
- enum:
|
||||
- radxa,rockpi4a
|
||||
- radxa,rockpi4b
|
||||
- radxa,rockpi4c
|
||||
- const: radxa,rockpi4
|
||||
- const: rockchip,rk3399
|
||||
|
||||
|
@ -555,4 +564,12 @@ properties:
|
|||
items:
|
||||
- const: tronsmart,orion-r68-meta
|
||||
- const: rockchip,rk3368
|
||||
|
||||
- description: Zkmagic A95X Z2
|
||||
items:
|
||||
- const: zkmagic,a95x-z2
|
||||
- const: rockchip,rk3318
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -24,6 +24,7 @@ select:
|
|||
- samsung,exynos5420-pmu
|
||||
- samsung,exynos5433-pmu
|
||||
- samsung,exynos7-pmu
|
||||
- samsung-s5pv210-pmu
|
||||
required:
|
||||
- compatible
|
||||
|
||||
|
@ -40,6 +41,7 @@ properties:
|
|||
- samsung,exynos5420-pmu
|
||||
- samsung,exynos5433-pmu
|
||||
- samsung,exynos7-pmu
|
||||
- samsung-s5pv210-pmu
|
||||
- const: syscon
|
||||
|
||||
reg:
|
||||
|
@ -88,12 +90,28 @@ properties:
|
|||
required:
|
||||
- compatible
|
||||
- reg
|
||||
- '#clock-cells'
|
||||
- clock-names
|
||||
- clocks
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
allOf:
|
||||
- if:
|
||||
properties:
|
||||
compatible:
|
||||
contains:
|
||||
enum:
|
||||
- samsung,exynos3250-pmu
|
||||
- samsung,exynos4210-pmu
|
||||
- samsung,exynos4412-pmu
|
||||
- samsung,exynos5250-pmu
|
||||
- samsung,exynos5410-pmu
|
||||
- samsung,exynos5420-pmu
|
||||
- samsung,exynos5433-pmu
|
||||
then:
|
||||
required:
|
||||
- '#clock-cells'
|
||||
- clock-names
|
||||
- clocks
|
||||
|
||||
examples:
|
||||
- |
|
||||
#include <dt-bindings/clock/exynos5250.h>
|
||||
|
|
|
@ -180,3 +180,5 @@ properties:
|
|||
|
||||
required:
|
||||
- compatible
|
||||
|
||||
additionalProperties: true
|
||||
|
|
|
@ -24,4 +24,7 @@ properties:
|
|||
- items:
|
||||
- const: sirf,prima2-cb
|
||||
- const: sirf,prima2
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -19,4 +19,7 @@ properties:
|
|||
- enum:
|
||||
- socionext,milbeaut-m10v-evb
|
||||
- const: socionext,sc2000a
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -60,3 +60,5 @@ properties:
|
|||
- enum:
|
||||
- socionext,uniphier-pxs3-ref
|
||||
- const: socionext,uniphier-pxs3
|
||||
|
||||
additionalProperties: true
|
||||
|
|
|
@ -22,4 +22,7 @@ properties:
|
|||
- st,spear320
|
||||
- st,spear1310
|
||||
- st,spear1340
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -30,4 +30,6 @@ properties:
|
|||
- sprd,sp9863a-1h10
|
||||
- const: sprd,sc9863a
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -20,4 +20,7 @@ properties:
|
|||
- st,stih407
|
||||
- st,stih410
|
||||
- st,stih418
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -52,4 +52,13 @@ properties:
|
|||
- const: st,stm32mp157c-ev1
|
||||
- const: st,stm32mp157c-ed1
|
||||
- const: st,stm32mp157
|
||||
- description: Odyssey STM32MP1 SoM based Boards
|
||||
items:
|
||||
- enum:
|
||||
- seeed,stm32mp157c-odyssey
|
||||
- const: seeed,stm32mp157c-odyssey-som
|
||||
- const: st,stm32mp157
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -16,6 +16,11 @@ properties:
|
|||
compatible:
|
||||
oneOf:
|
||||
|
||||
- description: Allwinner A100 Perf1 Board
|
||||
items:
|
||||
- const: allwinner,a100-perf1
|
||||
- const: allwinner,sun50i-a100
|
||||
|
||||
- description: Allwinner A23 Evaluation Board
|
||||
items:
|
||||
- const: allwinner,sun8i-a23-evb
|
||||
|
@ -626,6 +631,11 @@ properties:
|
|||
- const: pine64,pine64-plus
|
||||
- const: allwinner,sun50i-a64
|
||||
|
||||
- description: Pine64 PineCube
|
||||
items:
|
||||
- const: pine64,pinecube
|
||||
- const: allwinner,sun8i-s3
|
||||
|
||||
- description: Pine64 PineH64 model A
|
||||
items:
|
||||
- const: pine64,pine-h64
|
||||
|
@ -883,3 +893,5 @@ properties:
|
|||
items:
|
||||
- const: xunlong,orangepi-zero-plus2-h3
|
||||
- const: allwinner,sun8i-h3
|
||||
|
||||
additionalProperties: true
|
||||
|
|
|
@ -121,3 +121,9 @@ properties:
|
|||
items:
|
||||
- const: nvidia,p3509-0000+p3668-0000
|
||||
- const: nvidia,tegra194
|
||||
- items:
|
||||
- enum:
|
||||
- nvidia,tegra234-vdk
|
||||
- const: nvidia,tegra234
|
||||
|
||||
additionalProperties: true
|
||||
|
|
|
@ -4,6 +4,7 @@ Required properties:
|
|||
- compatible: Should contain one of the following:
|
||||
- "nvidia,tegra186-pmc": for Tegra186
|
||||
- "nvidia,tegra194-pmc": for Tegra194
|
||||
- "nvidia,tegra234-pmc": for Tegra234
|
||||
- reg: Must contain an (offset, length) pair of the register set for each
|
||||
entry in reg-names.
|
||||
- reg-names: Must include the following entries:
|
||||
|
@ -11,7 +12,7 @@ Required properties:
|
|||
- "wake"
|
||||
- "aotag"
|
||||
- "scratch"
|
||||
- "misc" (Only for Tegra194)
|
||||
- "misc" (Only for Tegra194 and later)
|
||||
|
||||
Optional properties:
|
||||
- nvidia,invert-interrupt: If present, inverts the PMU interrupt signal.
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
Texas Instruments K3 Multicore SoC architecture device tree bindings
|
||||
--------------------------------------------------------------------
|
||||
|
||||
Platforms based on Texas Instruments K3 Multicore SoC architecture
|
||||
shall follow the following scheme:
|
||||
|
||||
SoCs
|
||||
----
|
||||
|
||||
Each device tree root node must specify which exact SoC in K3 Multicore SoC
|
||||
architecture it uses, using one of the following compatible values:
|
||||
|
||||
- AM654
|
||||
compatible = "ti,am654";
|
||||
|
||||
- J721E
|
||||
compatible = "ti,j721e";
|
||||
|
||||
Boards
|
||||
------
|
||||
|
||||
In addition, each device tree root node must specify which one or more
|
||||
of the following board-specific compatible values:
|
||||
|
||||
- AM654 EVM
|
||||
compatible = "ti,am654-evm", "ti,am654";
|
|
@ -0,0 +1,38 @@
|
|||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: http://devicetree.org/schemas/arm/ti/k3.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: Texas Instruments K3 Multicore SoC architecture device tree bindings
|
||||
|
||||
maintainers:
|
||||
- Nishanth Menon <nm@ti.com>
|
||||
|
||||
description: |
|
||||
Platforms based on Texas Instruments K3 Multicore SoC architecture
|
||||
shall have the following properties.
|
||||
|
||||
properties:
|
||||
$nodename:
|
||||
const: '/'
|
||||
compatible:
|
||||
oneOf:
|
||||
|
||||
- description: K3 AM654 SoC
|
||||
items:
|
||||
- enum:
|
||||
- ti,am654-evm
|
||||
- const: ti,am654
|
||||
|
||||
- description: K3 J721E SoC
|
||||
items:
|
||||
- const: ti,j721e
|
||||
|
||||
- description: K3 J7200 SoC
|
||||
items:
|
||||
- const: ti,j7200
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
|
@ -21,4 +21,7 @@ properties:
|
|||
- ti,nspire-tp
|
||||
# Clickpad models
|
||||
- ti,nspire-clp
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -23,4 +23,7 @@ properties:
|
|||
- enbw,cmc # EnBW AM1808 based CMC board
|
||||
- lego,ev3 # LEGO MINDSTORMS EV3 (AM1808 based)
|
||||
- const: ti,da850
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: http://devicetree.org/schemas/arm/toshiba.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: Toshiba Visconti Platform Device Tree Bindings
|
||||
|
||||
maintainers:
|
||||
- Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
|
||||
|
||||
properties:
|
||||
$nodename:
|
||||
const: '/'
|
||||
compatible:
|
||||
oneOf:
|
||||
- description: Visconti5 TMPV7708
|
||||
items:
|
||||
- enum:
|
||||
- toshiba,tmpv7708-rm-mbrc # TMPV7708 RM main board
|
||||
- const: toshiba,tmpv7708
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
|
@ -34,3 +34,5 @@ properties:
|
|||
items:
|
||||
- const: samsung,golden
|
||||
- const: st-ericsson,u8500
|
||||
|
||||
additionalProperties: true
|
||||
|
|
|
@ -21,3 +21,6 @@ properties:
|
|||
- wm,wm8650
|
||||
- wm,wm8750
|
||||
- wm,wm8850
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
|
|
|
@ -111,4 +111,6 @@ properties:
|
|||
- const: xlnx,zynqmp-zcu111
|
||||
- const: xlnx,zynqmp
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -23,4 +23,6 @@ properties:
|
|||
- zte,zx296718-evb
|
||||
- const: zte,zx296718
|
||||
|
||||
additionalProperties: true
|
||||
|
||||
...
|
||||
|
|
|
@ -10,7 +10,8 @@ Required properties:
|
|||
"brcm,bcm7038-gisb-arb" for 130nm chips
|
||||
- reg: specifies the base physical address and size of the registers
|
||||
- interrupts: specifies the two interrupts (timeout and TEA) to be used from
|
||||
the parent interrupt controller
|
||||
the parent interrupt controller. A third optional interrupt may be specified
|
||||
for breakpoints.
|
||||
|
||||
Optional properties:
|
||||
|
||||
|
|
|
@ -23,7 +23,9 @@ properties:
|
|||
- items:
|
||||
- const: allwinner,sun7i-a20-crypto
|
||||
- const: allwinner,sun4i-a10-crypto
|
||||
- const: allwinner,sun8i-a33-crypto
|
||||
- items:
|
||||
- const: allwinner,sun8i-v3s-crypto
|
||||
- const: allwinner,sun8i-a33-crypto
|
||||
|
||||
reg:
|
||||
|
@ -59,7 +61,9 @@ if:
|
|||
properties:
|
||||
compatible:
|
||||
contains:
|
||||
const: allwinner,sun6i-a31-crypto
|
||||
enum:
|
||||
- allwinner,sun6i-a31-crypto
|
||||
- allwinner,sun8i-a33-crypto
|
||||
|
||||
then:
|
||||
required:
|
||||
|
|
|
@ -7,17 +7,17 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
|
|||
title: Toshiba TC358775 DSI to LVDS bridge bindings
|
||||
|
||||
maintainers:
|
||||
- Vinay Simha BN <simhavcs@gmail.com>
|
||||
- Vinay Simha BN <simhavcs@gmail.com>
|
||||
|
||||
description: |
|
||||
This binding supports DSI to LVDS bridge TC358775
|
||||
This binding supports DSI to LVDS bridge TC358775
|
||||
|
||||
MIPI DSI-RX Data 4-lane, CLK 1-lane with data rates up to 800 Mbps/lane.
|
||||
Video frame size:
|
||||
Up to 1600x1200 24-bit/pixel resolution for single-link LVDS display panel
|
||||
limited by 135 MHz LVDS speed
|
||||
Up to WUXGA (1920x1200 24-bit pixels) resolution for dual-link LVDS display
|
||||
panel, limited by 270 MHz LVDS speed.
|
||||
MIPI DSI-RX Data 4-lane, CLK 1-lane with data rates up to 800 Mbps/lane.
|
||||
Video frame size:
|
||||
Up to 1600x1200 24-bit/pixel resolution for single-link LVDS display panel
|
||||
limited by 135 MHz LVDS speed
|
||||
Up to WUXGA (1920x1200 24-bit pixels) resolution for dual-link LVDS display
|
||||
panel, limited by 270 MHz LVDS speed.
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
|
@ -29,7 +29,7 @@ properties:
|
|||
|
||||
vdd-supply:
|
||||
maxItems: 1
|
||||
description: 1.2V LVDS Power Supply
|
||||
description: 1.2V LVDS Power Supply
|
||||
|
||||
vddio-supply:
|
||||
maxItems: 1
|
||||
|
@ -77,16 +77,18 @@ properties:
|
|||
- port@1
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
- vdd-supply
|
||||
- vddio-supply
|
||||
- stby-gpios
|
||||
- reset-gpios
|
||||
- ports
|
||||
- compatible
|
||||
- reg
|
||||
- vdd-supply
|
||||
- vddio-supply
|
||||
- stby-gpios
|
||||
- reset-gpios
|
||||
- ports
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
- |
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
|
||||
/* For single-link LVDS display panel */
|
||||
|
@ -147,7 +149,7 @@ examples:
|
|||
};
|
||||
};
|
||||
|
||||
- |
|
||||
- |
|
||||
/* For dual-link LVDS display panel */
|
||||
|
||||
i2c@78b8000 {
|
||||
|
|
|
@ -13,9 +13,8 @@ properties:
|
|||
compatible:
|
||||
items:
|
||||
- enum:
|
||||
- bananapi,lhr050h41
|
||||
- feixin,k101-im2byl02
|
||||
|
||||
- bananapi,lhr050h41
|
||||
- feixin,k101-im2byl02
|
||||
- const: ilitek,ili9881c
|
||||
|
||||
backlight: true
|
||||
|
|
|
@ -19,9 +19,12 @@ properties:
|
|||
description: The cell is the request line number.
|
||||
|
||||
compatible:
|
||||
enum:
|
||||
- allwinner,sun50i-a64-dma
|
||||
- allwinner,sun50i-h6-dma
|
||||
oneOf:
|
||||
- const: allwinner,sun50i-a64-dma
|
||||
- const: allwinner,sun50i-h6-dma
|
||||
- items:
|
||||
- const: allwinner,sun8i-r40-dma
|
||||
- const: allwinner,sun50i-a64-dma
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
|
|
@ -48,6 +48,7 @@ required:
|
|||
- "#address-cells"
|
||||
- "#size-cells"
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
|
|
|
@ -81,14 +81,14 @@ properties:
|
|||
at25,byte-len:
|
||||
$ref: /schemas/types.yaml#/definitions/uint32
|
||||
description:
|
||||
Total eeprom size in bytes. Deprecated, use "size" property instead.
|
||||
Total eeprom size in bytes. Deprecated, use "size" property instead.
|
||||
deprecated: true
|
||||
|
||||
at25,addr-mode:
|
||||
$ref: /schemas/types.yaml#/definitions/uint32
|
||||
description:
|
||||
Addr-mode flags, as defined in include/linux/spi/eeprom.h.
|
||||
Deprecated, use "address-width" property instead.
|
||||
Addr-mode flags, as defined in include/linux/spi/eeprom.h.
|
||||
Deprecated, use "address-width" property instead.
|
||||
deprecated: true
|
||||
|
||||
at25,page-size:
|
||||
|
|
|
@ -7,6 +7,7 @@ Required properties:
|
|||
For Tegra132 must contain "nvidia,tegra132-efuse", "nvidia,tegra124-efuse".
|
||||
For Tegra210 must contain "nvidia,tegra210-efuse". For Tegra186 must contain
|
||||
"nvidia,tegra186-efuse". For Tegra194 must contain "nvidia,tegra194-efuse".
|
||||
For Tegra234 must contain "nvidia,tegra234-efuse".
|
||||
Details:
|
||||
nvidia,tegra20-efuse: Tegra20 requires using APB DMA to read the fuse data
|
||||
due to a hardware bug. Tegra20 also lacks certain information which is
|
||||
|
|
|
@ -43,8 +43,8 @@ properties:
|
|||
gpio-controller: true
|
||||
|
||||
gpio-line-names:
|
||||
minItems: 1
|
||||
maxItems: 8
|
||||
minItems: 1
|
||||
maxItems: 8
|
||||
|
||||
required:
|
||||
- compatible
|
||||
|
|
|
@ -25,6 +25,7 @@ properties:
|
|||
- allwinner,sun4i-a10-mali
|
||||
- allwinner,sun7i-a20-mali
|
||||
- allwinner,sun8i-h3-mali
|
||||
- allwinner,sun8i-r40-mali
|
||||
- allwinner,sun50i-a64-mali
|
||||
- rockchip,rk3036-mali
|
||||
- rockchip,rk3066-mali
|
||||
|
@ -131,6 +132,7 @@ allOf:
|
|||
enum:
|
||||
- allwinner,sun4i-a10-mali
|
||||
- allwinner,sun7i-a20-mali
|
||||
- allwinner,sun8i-r40-mali
|
||||
- allwinner,sun50i-a64-mali
|
||||
- allwinner,sun50i-h5-mali
|
||||
- amlogic,meson8-mali
|
||||
|
|
|
@ -0,0 +1,66 @@
|
|||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
||||
%YAML 1.2
|
||||
---
|
||||
|
||||
$id: http://devicetree.org/schemas/i2c/google,cros-ec-i2c-tunnel.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: I2C bus that tunnels through the ChromeOS EC (cros-ec)
|
||||
|
||||
maintainers:
|
||||
- Doug Anderson <dianders@chromium.org>
|
||||
- Benson Leung <bleung@chromium.org>
|
||||
- Enric Balletbo i Serra <enric.balletbo@collabora.com>
|
||||
|
||||
description: |
|
||||
On some ChromeOS board designs we've got a connection to the EC
|
||||
(embedded controller) but no direct connection to some devices on the
|
||||
other side of the EC (like a battery and PMIC). To get access to
|
||||
those devices we need to tunnel our i2c commands through the EC.
|
||||
|
||||
The node for this device should be under a cros-ec node like
|
||||
google,cros-ec-spi or google,cros-ec-i2c.
|
||||
|
||||
allOf:
|
||||
- $ref: i2c-controller.yaml#
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
const: google,cros-ec-i2c-tunnel
|
||||
|
||||
google,remote-bus:
|
||||
description: The EC bus we'd like to talk to.
|
||||
$ref: /schemas/types.yaml#/definitions/uint32
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- google,remote-bus
|
||||
|
||||
unevaluatedProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
spi0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
cros-ec@0 {
|
||||
compatible = "google,cros-ec-spi";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <5000000>;
|
||||
|
||||
i2c-tunnel {
|
||||
compatible = "google,cros-ec-i2c-tunnel";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
google,remote-bus = <0>;
|
||||
|
||||
battery: sbs-battery@b {
|
||||
compatible = "sbs,sbs-battery";
|
||||
reg = <0xb>;
|
||||
sbs,poll-retry-count = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
|
@ -1,39 +0,0 @@
|
|||
I2C bus that tunnels through the ChromeOS EC (cros-ec)
|
||||
======================================================
|
||||
On some ChromeOS board designs we've got a connection to the EC (embedded
|
||||
controller) but no direct connection to some devices on the other side of
|
||||
the EC (like a battery and PMIC). To get access to those devices we need
|
||||
to tunnel our i2c commands through the EC.
|
||||
|
||||
The node for this device should be under a cros-ec node like google,cros-ec-spi
|
||||
or google,cros-ec-i2c.
|
||||
|
||||
|
||||
Required properties:
|
||||
- compatible: google,cros-ec-i2c-tunnel
|
||||
- google,remote-bus: The EC bus we'd like to talk to.
|
||||
|
||||
Optional child nodes:
|
||||
- One node per I2C device connected to the tunnelled I2C bus.
|
||||
|
||||
|
||||
Example:
|
||||
cros-ec@0 {
|
||||
compatible = "google,cros-ec-spi";
|
||||
|
||||
...
|
||||
|
||||
i2c-tunnel {
|
||||
compatible = "google,cros-ec-i2c-tunnel";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
google,remote-bus = <0>;
|
||||
|
||||
battery: sbs-battery@b {
|
||||
compatible = "sbs,sbs-battery";
|
||||
reg = <0xb>;
|
||||
sbs,poll-retry-count = <1>;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -19,11 +19,11 @@ properties:
|
|||
compatible:
|
||||
oneOf:
|
||||
- enum:
|
||||
- ingenic,jz4770-i2c
|
||||
- ingenic,x1000-i2c
|
||||
- ingenic,jz4770-i2c
|
||||
- ingenic,x1000-i2c
|
||||
- items:
|
||||
- const: ingenic,jz4780-i2c
|
||||
- const: ingenic,jz4770-i2c
|
||||
- const: ingenic,jz4780-i2c
|
||||
- const: ingenic,jz4770-i2c
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
|
|
@ -43,4 +43,5 @@ examples:
|
|||
vref-supply = <&adc_vref>;
|
||||
};
|
||||
};
|
||||
...
|
||||
...
|
||||
|
||||
|
|
|
@ -46,7 +46,8 @@ properties:
|
|||
spi-max-frequency: true
|
||||
|
||||
spi-cpol: true
|
||||
spi-cpha : true
|
||||
|
||||
spi-cpha: true
|
||||
|
||||
"#io-channel-cells":
|
||||
const: 1
|
||||
|
|
|
@ -22,8 +22,8 @@ properties:
|
|||
adc-reserved-channels:
|
||||
$ref: /schemas/types.yaml#/definitions/uint32
|
||||
description:
|
||||
Bitmask of reserved channels, i.e. channels that cannot be
|
||||
used by the OS.
|
||||
Bitmask of reserved channels, i.e. channels that cannot be
|
||||
used by the OS.
|
||||
|
||||
clocks:
|
||||
maxItems: 1
|
||||
|
|
|
@ -21,7 +21,7 @@ properties:
|
|||
|
||||
gpios:
|
||||
description:
|
||||
GPIO used for controlling the reset pin
|
||||
GPIO used for controlling the reset pin
|
||||
maxItems: 1
|
||||
|
||||
spi-max-frequency: true
|
||||
|
|
|
@ -28,6 +28,8 @@ required:
|
|||
- reg
|
||||
- vref-supply
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
i2c {
|
||||
|
|
|
@ -32,6 +32,8 @@ required:
|
|||
- compatible
|
||||
- reg
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
i2c0 {
|
||||
|
|
|
@ -0,0 +1,121 @@
|
|||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
||||
# Copyright 2019-2020 Artur Rojek
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: "http://devicetree.org/schemas/input/adc-joystick.yaml#"
|
||||
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
|
||||
|
||||
title: ADC attached joystick
|
||||
|
||||
maintainers:
|
||||
- Artur Rojek <contact@artur-rojek.eu>
|
||||
|
||||
description: >
|
||||
Bindings for joystick devices connected to ADC controllers supporting
|
||||
the Industrial I/O subsystem.
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
const: adc-joystick
|
||||
|
||||
io-channels:
|
||||
minItems: 1
|
||||
maxItems: 1024
|
||||
description: >
|
||||
List of phandle and IIO specifier pairs.
|
||||
Each pair defines one ADC channel to which a joystick axis is connected.
|
||||
See Documentation/devicetree/bindings/iio/iio-bindings.txt for details.
|
||||
|
||||
'#address-cells':
|
||||
const: 1
|
||||
|
||||
'#size-cells':
|
||||
const: 0
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- io-channels
|
||||
- '#address-cells'
|
||||
- '#size-cells'
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
patternProperties:
|
||||
"^axis@[0-9a-f]+$":
|
||||
type: object
|
||||
description: >
|
||||
Represents a joystick axis bound to the given ADC channel.
|
||||
For each entry in the io-channels list, one axis subnode with a matching
|
||||
reg property must be specified.
|
||||
|
||||
properties:
|
||||
reg:
|
||||
minimum: 0
|
||||
maximum: 1023
|
||||
description: Index of an io-channels list entry bound to this axis.
|
||||
|
||||
linux,code:
|
||||
$ref: /schemas/types.yaml#/definitions/uint32
|
||||
description: EV_ABS specific event code generated by the axis.
|
||||
|
||||
abs-range:
|
||||
allOf:
|
||||
- $ref: /schemas/types.yaml#/definitions/uint32-array
|
||||
- items:
|
||||
- description: minimum value
|
||||
- description: maximum value
|
||||
description: >
|
||||
Minimum and maximum values produced by the axis.
|
||||
For an ABS_X axis this will be the left-most and right-most
|
||||
inclination of the joystick. If min > max, it is left to userspace to
|
||||
treat the axis as inverted.
|
||||
This property is interpreted as two signed 32 bit values.
|
||||
|
||||
abs-fuzz:
|
||||
$ref: /schemas/types.yaml#/definitions/uint32
|
||||
description: >
|
||||
Amount of noise in the input value.
|
||||
Omitting this property indicates the axis is precise.
|
||||
|
||||
abs-flat:
|
||||
$ref: /schemas/types.yaml#/definitions/uint32
|
||||
description: >
|
||||
Axial "deadzone", or area around the center position, where the axis
|
||||
is considered to be at rest.
|
||||
Omitting this property indicates the axis always returns to exactly
|
||||
the center position.
|
||||
|
||||
required:
|
||||
- reg
|
||||
- linux,code
|
||||
- abs-range
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
#include <dt-bindings/iio/adc/ingenic,adc.h>
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
joystick: adc-joystick {
|
||||
compatible = "adc-joystick";
|
||||
io-channels = <&adc INGENIC_ADC_TOUCH_XP>,
|
||||
<&adc INGENIC_ADC_TOUCH_YP>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
axis@0 {
|
||||
reg = <0>;
|
||||
linux,code = <ABS_X>;
|
||||
abs-range = <3300 0>;
|
||||
abs-fuzz = <4>;
|
||||
abs-flat = <200>;
|
||||
};
|
||||
axis@1 {
|
||||
reg = <1>;
|
||||
linux,code = <ABS_Y>;
|
||||
abs-range = <0 3300>;
|
||||
abs-fuzz = <4>;
|
||||
abs-flat = <200>;
|
||||
};
|
||||
};
|
|
@ -1,72 +0,0 @@
|
|||
ChromeOS EC Keyboard
|
||||
|
||||
Google's ChromeOS EC Keyboard is a simple matrix keyboard implemented on
|
||||
a separate EC (Embedded Controller) device. It provides a message for reading
|
||||
key scans from the EC. These are then converted into keycodes for processing
|
||||
by the kernel.
|
||||
|
||||
This binding is based on matrix-keymap.txt and extends/modifies it as follows:
|
||||
|
||||
Required properties:
|
||||
- compatible: "google,cros-ec-keyb"
|
||||
|
||||
Optional properties:
|
||||
- google,needs-ghost-filter: True to enable a ghost filter for the matrix
|
||||
keyboard. This is recommended if the EC does not have its own logic or
|
||||
hardware for this.
|
||||
|
||||
|
||||
Example:
|
||||
|
||||
cros-ec-keyb {
|
||||
compatible = "google,cros-ec-keyb";
|
||||
keypad,num-rows = <8>;
|
||||
keypad,num-columns = <13>;
|
||||
google,needs-ghost-filter;
|
||||
/*
|
||||
* Keymap entries take the form of 0xRRCCKKKK where
|
||||
* RR=Row CC=Column KKKK=Key Code
|
||||
* The values below are for a US keyboard layout and
|
||||
* are taken from the Linux driver. Note that the
|
||||
* 102ND key is not used for US keyboards.
|
||||
*/
|
||||
linux,keymap = <
|
||||
/* CAPSLCK F1 B F10 */
|
||||
0x0001003a 0x0002003b 0x00030030 0x00040044
|
||||
/* N = R_ALT ESC */
|
||||
0x00060031 0x0008000d 0x000a0064 0x01010001
|
||||
/* F4 G F7 H */
|
||||
0x0102003e 0x01030022 0x01040041 0x01060023
|
||||
/* ' F9 BKSPACE L_CTRL */
|
||||
0x01080028 0x01090043 0x010b000e 0x0200001d
|
||||
/* TAB F3 T F6 */
|
||||
0x0201000f 0x0202003d 0x02030014 0x02040040
|
||||
/* ] Y 102ND [ */
|
||||
0x0205001b 0x02060015 0x02070056 0x0208001a
|
||||
/* F8 GRAVE F2 5 */
|
||||
0x02090042 0x03010029 0x0302003c 0x03030006
|
||||
/* F5 6 - \ */
|
||||
0x0304003f 0x03060007 0x0308000c 0x030b002b
|
||||
/* R_CTRL A D F */
|
||||
0x04000061 0x0401001e 0x04020020 0x04030021
|
||||
/* S K J ; */
|
||||
0x0404001f 0x04050025 0x04060024 0x04080027
|
||||
/* L ENTER Z C */
|
||||
0x04090026 0x040b001c 0x0501002c 0x0502002e
|
||||
/* V X , M */
|
||||
0x0503002f 0x0504002d 0x05050033 0x05060032
|
||||
/* L_SHIFT / . SPACE */
|
||||
0x0507002a 0x05080035 0x05090034 0x050B0039
|
||||
/* 1 3 4 2 */
|
||||
0x06010002 0x06020004 0x06030005 0x06040003
|
||||
/* 8 7 0 9 */
|
||||
0x06050009 0x06060008 0x0608000b 0x0609000a
|
||||
/* L_ALT DOWN RIGHT Q */
|
||||
0x060a0038 0x060b006c 0x060c006a 0x07010010
|
||||
/* E R W I */
|
||||
0x07020012 0x07030013 0x07040011 0x07050017
|
||||
/* U R_SHIFT P O */
|
||||
0x07060016 0x07070036 0x07080019 0x07090018
|
||||
/* UP LEFT */
|
||||
0x070b0067 0x070c0069>;
|
||||
};
|
|
@ -0,0 +1,92 @@
|
|||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
||||
%YAML 1.2
|
||||
---
|
||||
|
||||
$id: http://devicetree.org/schemas/input/google,cros-ec-keyb.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: ChromeOS EC Keyboard
|
||||
|
||||
maintainers:
|
||||
- Simon Glass <sjg@chromium.org>
|
||||
- Benson Leung <bleung@chromium.org>
|
||||
- Enric Balletbo i Serra <enric.balletbo@collabora.com>
|
||||
|
||||
description: |
|
||||
Google's ChromeOS EC Keyboard is a simple matrix keyboard
|
||||
implemented on a separate EC (Embedded Controller) device. It provides
|
||||
a message for reading key scans from the EC. These are then converted
|
||||
into keycodes for processing by the kernel.
|
||||
|
||||
allOf:
|
||||
- $ref: "/schemas/input/matrix-keymap.yaml#"
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
const: google,cros-ec-keyb
|
||||
|
||||
google,needs-ghost-filter:
|
||||
description:
|
||||
Enable a ghost filter for the matrix keyboard. This is recommended
|
||||
if the EC does not have its own logic or hardware for this.
|
||||
type: boolean
|
||||
|
||||
required:
|
||||
- compatible
|
||||
|
||||
unevaluatedProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
cros-ec-keyb {
|
||||
compatible = "google,cros-ec-keyb";
|
||||
keypad,num-rows = <8>;
|
||||
keypad,num-columns = <13>;
|
||||
google,needs-ghost-filter;
|
||||
/*
|
||||
* Keymap entries take the form of 0xRRCCKKKK where
|
||||
* RR=Row CC=Column KKKK=Key Code
|
||||
* The values below are for a US keyboard layout and
|
||||
* are taken from the Linux driver. Note that the
|
||||
* 102ND key is not used for US keyboards.
|
||||
*/
|
||||
linux,keymap = <
|
||||
/* CAPSLCK F1 B F10 */
|
||||
0x0001003a 0x0002003b 0x00030030 0x00040044
|
||||
/* N = R_ALT ESC */
|
||||
0x00060031 0x0008000d 0x000a0064 0x01010001
|
||||
/* F4 G F7 H */
|
||||
0x0102003e 0x01030022 0x01040041 0x01060023
|
||||
/* ' F9 BKSPACE L_CTRL */
|
||||
0x01080028 0x01090043 0x010b000e 0x0200001d
|
||||
/* TAB F3 T F6 */
|
||||
0x0201000f 0x0202003d 0x02030014 0x02040040
|
||||
/* ] Y 102ND [ */
|
||||
0x0205001b 0x02060015 0x02070056 0x0208001a
|
||||
/* F8 GRAVE F2 5 */
|
||||
0x02090042 0x03010029 0x0302003c 0x03030006
|
||||
/* F5 6 - \ */
|
||||
0x0304003f 0x03060007 0x0308000c 0x030b002b
|
||||
/* R_CTRL A D F */
|
||||
0x04000061 0x0401001e 0x04020020 0x04030021
|
||||
/* S K J ; */
|
||||
0x0404001f 0x04050025 0x04060024 0x04080027
|
||||
/* L ENTER Z C */
|
||||
0x04090026 0x040b001c 0x0501002c 0x0502002e
|
||||
/* V X , M */
|
||||
0x0503002f 0x0504002d 0x05050033 0x05060032
|
||||
/* L_SHIFT / . SPACE */
|
||||
0x0507002a 0x05080035 0x05090034 0x050B0039
|
||||
/* 1 3 4 2 */
|
||||
0x06010002 0x06020004 0x06030005 0x06040003
|
||||
/* 8 7 0 9 */
|
||||
0x06050009 0x06060008 0x0608000b 0x0609000a
|
||||
/* L_ALT DOWN RIGHT Q */
|
||||
0x060a0038 0x060b006c 0x060c006a 0x07010010
|
||||
/* E R W I */
|
||||
0x07020012 0x07030013 0x07040011 0x07050017
|
||||
/* U R_SHIFT P O */
|
||||
0x07060016 0x07070036 0x07080019 0x07090018
|
||||
/* UP LEFT */
|
||||
0x070b0067 0x070c0069>;
|
||||
};
|
|
@ -0,0 +1,40 @@
|
|||
Device tree bindings for Zinitx BT541 touchscreen controller
|
||||
|
||||
Required properties:
|
||||
|
||||
- compatible : Should be "zinitix,bt541"
|
||||
- reg : I2C address of the chip. Should be 0x20
|
||||
- interrupts : Interrupt to which the chip is connected
|
||||
|
||||
Optional properties:
|
||||
|
||||
- vdd-supply : Analog power supply regulator on VCCA pin
|
||||
- vddo-supply : Digital power supply regulator on VDD pin
|
||||
- zinitix,mode : Mode of reporting touch points. Some modes may not work
|
||||
with a particular ts firmware for unknown reasons. Available
|
||||
modes are 1 and 2. Mode 2 is the default and preferred.
|
||||
|
||||
The touchscreen-* properties are documented in touchscreen.txt in this
|
||||
directory.
|
||||
|
||||
Example:
|
||||
|
||||
i2c@00000000 {
|
||||
/* ... */
|
||||
|
||||
bt541@20 {
|
||||
compatible = "zinitix,bt541";
|
||||
reg = <0x20>;
|
||||
interrupt-parent = <&msmgpio>;
|
||||
interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&tsp_default>;
|
||||
vdd-supply = <®_vdd_tsp>;
|
||||
vddo-supply = <&pm8916_l6>;
|
||||
touchscreen-size-x = <540>;
|
||||
touchscreen-size-y = <960>;
|
||||
zinitix,mode = <2>;
|
||||
};
|
||||
|
||||
/* ... */
|
||||
};
|
|
@ -29,10 +29,13 @@ properties:
|
|||
- items:
|
||||
- const: allwinner,sun8i-a83t-r-intc
|
||||
- const: allwinner,sun6i-a31-r-intc
|
||||
- const: allwinner,sun9i-a80-sc-nmi
|
||||
- const: allwinner,sun9i-a80-nmi
|
||||
- items:
|
||||
- const: allwinner,sun50i-a64-r-intc
|
||||
- const: allwinner,sun6i-a31-r-intc
|
||||
- items:
|
||||
- const: allwinner,sun50i-a100-nmi
|
||||
- const: allwinner,sun9i-a80-nmi
|
||||
- items:
|
||||
- const: allwinner,sun50i-h6-r-intc
|
||||
- const: allwinner,sun6i-a31-r-intc
|
||||
|
|
|
@ -94,12 +94,12 @@ properties:
|
|||
instances.
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
- interrupts
|
||||
- interrupt-names
|
||||
- interrupt-controller
|
||||
- "#interrupt-cells"
|
||||
- compatible
|
||||
- reg
|
||||
- interrupts
|
||||
- interrupt-names
|
||||
- interrupt-controller
|
||||
- "#interrupt-cells"
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
|
|
|
@ -79,6 +79,8 @@ required:
|
|||
- ti,sci-dev-id
|
||||
- ti,interrupt-ranges
|
||||
|
||||
unevaluatedProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
bus {
|
||||
|
|
|
@ -88,6 +88,8 @@ required:
|
|||
- ti,sci-dev-id
|
||||
- ti,interrupt-ranges
|
||||
|
||||
unevaluatedProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
main_gpio_intr: interrupt-controller0 {
|
||||
|
|
|
@ -32,3 +32,5 @@ properties:
|
|||
that a LED can be made so bright that it gets damaged or causes damage
|
||||
due to restrictions in a specific system, such as mounting conditions.
|
||||
$ref: /schemas/types.yaml#definitions/uint32
|
||||
|
||||
additionalProperties: true
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue