Lines Matching +full:cmd +full:- +full:dat +full:- +full:pins
1 diff --git a/include/drm/bridge/analogix_dp.h b/include/drm/bridge/analogix_dp.h
3 --- a/include/drm/bridge/analogix_dp.h
5 @@ -8,6 +8,7 @@
9 +#include <sound/hdmi-codec.h>
13 @@ -25,21 +26,32 @@ static inline bool is_rockchip(enum analogix_dp_devtype type)
46 @@ -50,4 +62,13 @@ void analogix_dp_remove(struct analogix_dp_device *dp);
60 diff --git a/include/drm/bridge/dw_hdmi.h b/include/drm/bridge/dw_hdmi.h
62 --- a/include/drm/bridge/dw_hdmi.h
64 @@ -6,12 +6,15 @@
69 #include <sound/hdmi-codec.h>
80 @@ -92,6 +95,13 @@ enum dw_hdmi_phy_type {
94 @@ -112,6 +122,15 @@ struct dw_hdmi_phy_config {
110 @@ -123,12 +142,48 @@ struct dw_hdmi_phy_ops {
159 @@ -137,22 +192,55 @@ struct dw_hdmi_plat_data {
162 /* Platform-specific mode validation (optional). */
163 - enum drm_mode_status (*mode_valid)(struct dw_hdmi *hdmi, void *data,
216 @@ -161,8 +249,9 @@ void dw_hdmi_remove(struct dw_hdmi *hdmi);
220 - const struct dw_hdmi_plat_data *plat_data);
227 @@ -192,5 +281,31 @@ enum drm_connector_status dw_hdmi_phy_read_hpd(struct dw_hdmi *hdmi,
259 diff --git a/include/drm/bridge/dw_mipi_dsi.h b/include/drm/bridge/dw_mipi_dsi.h
261 --- a/include/drm/bridge/dw_mipi_dsi.h
263 @@ -66,5 +66,6 @@ void dw_mipi_dsi_remove(struct dw_mipi_dsi *dsi);
270 diff --git a/include/drm/drm_auth.h b/include/drm/drm_auth.h
272 --- a/include/drm/drm_auth.h
274 @@ -107,7 +107,6 @@ struct drm_master {
278 -struct drm_master *drm_file_get_master(struct drm_file *file_priv);
282 diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h
284 --- a/include/drm/drm_connector.h
286 @@ -175,6 +175,48 @@ struct drm_scdc {
292 + * struct drm_hdmi_dsc_cap - DSC capabilities of HDMI sink
334 * struct drm_hdmi_info - runtime information about the connected HDMI sink
335 @@ -207,6 +249,17 @@ struct drm_hdmi_info {
353 @@ -1596,6 +1649,7 @@ drm_connector_is_unregistered(struct drm_connector *connector)
361 diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
363 --- a/include/drm/drm_crtc.h
365 @@ -287,7 +287,16 @@ struct drm_crtc_state {
369 -
383 diff --git a/include/drm/drm_drv.h b/include/drm/drm_drv.h
385 --- a/include/drm/drm_drv.h
387 @@ -29,6 +29,7 @@
395 @@ -460,6 +461,15 @@ struct drm_driver {
411 diff --git a/include/drm/drm_edid.h b/include/drm/drm_edid.h
413 --- a/include/drm/drm_edid.h
415 @@ -229,6 +229,38 @@ struct detailed_timing {
454 @@ -359,8 +391,6 @@ drm_load_edid_firmware(struct drm_connector *connector)
458 -bool drm_edid_are_equal(const struct edid *edid1, const struct edid *edid2);
459 -
463 @@ -483,35 +513,99 @@ struct edid *drm_do_get_edid(struct drm_connector *connector,
467 -struct edid *drm_get_edid(struct drm_connector *connector,
468 - struct i2c_adapter *adapter);
471 -struct edid *drm_edid_duplicate(const struct edid *edid);
472 -int drm_add_edid_modes(struct drm_connector *connector, struct edid *edid);
473 -int drm_add_override_edid_modes(struct drm_connector *connector);
475 -u8 drm_match_cea_mode(const struct drm_display_mode *to_match);
477 -bool drm_detect_monitor_audio(struct edid *edid);
480 -int drm_add_modes_noedid(struct drm_connector *connector,
481 - int hdisplay, int vdisplay);
488 -bool drm_edid_is_valid(struct edid *edid);
510 -struct drm_display_mode *
511 -drm_display_mode_from_cea_vic(struct drm_device *dev,
512 - u8 video_code);
576 diff --git a/include/drm/drm_file.h b/include/drm/drm_file.h
578 --- a/include/drm/drm_file.h
580 @@ -226,27 +226,15 @@ struct drm_file {
584 - * Master this node is currently associated with. Protected by struct
585 - * &drm_device.master_mutex, and serialized by @master_lookup_lock.
586 - *
587 - * Only relevant if drm_is_primary_client() returns true. Note that
588 - * this only matches &drm_device.master if the master is the currently
589 - * active one.
590 - *
591 - * When dereferencing this pointer, either hold struct
592 - * &drm_device.master_mutex for the duration of the pointer's use, or
593 - * use drm_file_get_master() if struct &drm_device.master_mutex is not
594 - * currently held and there is no other need to hold it. This prevents
595 - * @master from being freed during use.
605 - /** @master_lock: Serializes @master. */
606 - spinlock_t master_lookup_lock;
607 -
611 @@ -411,6 +399,9 @@ void drm_event_cancel_free(struct drm_device *dev,
621 diff --git a/include/drm/drm_mipi_dsi.h b/include/drm/drm_mipi_dsi.h
623 --- a/include/drm/drm_mipi_dsi.h
625 @@ -19,12 +19,18 @@ struct drm_dsc_picture_parameter_set;
635 * struct mipi_dsi_msg - read/write DSI buffer
644 @@ -34,6 +40,8 @@ struct mipi_dsi_msg {
653 @@ -132,6 +140,10 @@ struct mipi_dsi_host *of_find_mipi_dsi_host_by_node(struct device_node *node);
664 diff --git a/include/drm/drm_mode_config.h b/include/drm/drm_mode_config.h
666 --- a/include/drm/drm_mode_config.h
668 @@ -794,6 +794,19 @@ struct drm_mode_config {
680 + * 3D LUT as supported by the driver (read-only).
688 diff --git a/include/drm/drm_mode_object.h b/include/drm/drm_mode_object.h
690 --- a/include/drm/drm_mode_object.h
692 @@ -60,7 +60,7 @@ struct drm_mode_object {
696 -#define DRM_OBJECT_MAX_PROPERTY 24
699 * struct drm_object_properties - property tracking for &drm_mode_object
701 diff --git a/include/drm/drm_prime.h b/include/drm/drm_prime.h
703 --- a/include/drm/drm_prime.h
705 @@ -107,5 +107,6 @@ void drm_prime_gem_destroy(struct drm_gem_object *obj, struct sg_table *sg);
712 diff --git a/include/dt-bindings/clock/rk3399-cru.h b/include/dt-bindings/clock/rk3399-cru.h
714 --- a/include/dt-bindings/clock/rk3399-cru.h
715 +++ b/include/dt-bindings/clock/rk3399-cru.h
716 @@ -7,6 +7,8 @@
725 @@ -19,6 +21,7 @@
733 @@ -122,9 +125,18 @@
737 -#define SCLK_DDRC 168
738 -#define SCLK_TESTCLKOUT1 169
739 -#define SCLK_TESTCLKOUT2 170
755 @@ -351,6 +363,7 @@
763 @@ -421,7 +434,7 @@
767 -#define SRST_L2_B_T 43
772 @@ -594,13 +607,13 @@
776 -#define SRST_P_SPI3 217
777 -#define SRST_P_SPI4 218
783 -#define SRST_SPI3 222
784 -#define SRST_SPI4 223
790 @@ -722,8 +735,8 @@
794 -#define SRST_P_SPI6 6
795 -#define SRST_SPI6 7
801 diff --git a/include/dt-bindings/soc/rockchip,boot-mode.h b/include/dt-bindings/soc/rockchip,boot-m…
803 --- a/include/dt-bindings/soc/rockchip,boot-mode.h
804 +++ b/include/dt-bindings/soc/rockchip,boot-mode.h
805 @@ -10,7 +10,15 @@
809 - /* enter fastboot mode */
822 diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h
824 --- a/include/linux/blk_types.h
826 @@ -46,6 +46,7 @@ struct block_device {
834 diff --git a/include/linux/bpf.h b/include/linux/bpf.h
836 --- a/include/linux/bpf.h
838 @@ -173,7 +173,7 @@ struct bpf_map {
842 - atomic64_t writecnt;
847 @@ -1333,7 +1333,6 @@ void bpf_map_charge_move(struct bpf_map_memory *dst,
851 -bool bpf_map_write_active(const struct bpf_map *map);
855 diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
857 --- a/include/linux/cgroup.h
859 @@ -676,6 +676,8 @@ static inline struct psi_group *cgroup_psi(struct cgroup *cgrp)
860 return &cgrp->psi;
868 @@ -735,6 +737,11 @@ static inline struct psi_group *cgroup_psi(struct cgroup *cgrp)
880 @@ -816,13 +823,33 @@ static inline void cgroup_account_cputime_field(struct task_struct *task,
895 - return skcd->cgroup;
900 + * @skcd->val is 64bit but the following is safe on 32bit too as we
903 + v = READ_ONCE(skcd->val);
910 + return (struct cgroup *)(unsigned long)skcd->val;
915 diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
917 --- a/include/linux/clk-provider.h
918 +++ b/include/linux/clk-provider.h
919 @@ -599,6 +599,7 @@ struct clk_divider {
927 @@ -936,6 +937,8 @@ void clk_hw_unregister_fixed_factor(struct clk_hw *hw);
928 * CLK_FRAC_DIVIDER_BIG_ENDIAN - By default little endian register accesses are
931 + * CLK_FRAC_DIVIDER_NO_LIMIT - not need to follow the 20 times limit on
936 @@ -947,6 +950,7 @@ struct clk_fractional_divider {
944 @@ -957,6 +961,7 @@ struct clk_fractional_divider {
952 @@ -1017,6 +1022,9 @@ extern const struct clk_ops clk_multiplier_ops;
953 * @mux_hw: handle between composite and hardware-specific mux clock
954 * @rate_hw: handle between composite and hardware-specific rate clock
955 * @gate_hw: handle between composite and hardware-specific gate clock
958 + * common and hardware-specific interfaces
962 @@ -1028,6 +1036,7 @@ struct clk_composite {
970 diff --git a/include/linux/cpuset.h b/include/linux/cpuset.h
972 --- a/include/linux/cpuset.h
974 @@ -15,6 +15,7 @@
982 @@ -162,6 +163,8 @@ static inline void set_mems_allowed(nodemask_t nodemask)
991 @@ -184,7 +187,7 @@ static inline void cpuset_read_unlock(void) { }
995 - cpumask_copy(mask, cpu_possible_mask);
1000 @@ -280,6 +283,8 @@ static inline bool read_mems_allowed_retry(unsigned int seq)
1009 diff --git a/include/linux/dma-buf.h b/include/linux/dma-buf.h
1011 --- a/include/linux/dma-buf.h
1012 +++ b/include/linux/dma-buf.h
1013 @@ -209,6 +209,41 @@ struct dma_buf_ops {
1022 + * available for cpu access - the exporter might need to allocate or
1023 + * swap-in and pin the backing storage.
1035 + * de-factor mlock rights to userspace) and for the kernel-internal
1038 + * there's no in-kernel users of the kmap interfaces yet this isn't a
1045 + * return -ERESTARTSYS or -EINTR when the call has been interrupted and
1055 @@ -228,6 +263,28 @@ struct dma_buf_ops {
1074 + * -ERESTARTSYS or -EINTR when the call has been interrupted and needs
1084 @@ -267,6 +324,35 @@ struct dma_buf_ops {
1120 @@ -297,6 +383,9 @@ struct dma_buf_ops {
1130 @@ -341,7 +430,12 @@ struct dma_buf {
1143 @@ -392,6 +486,9 @@ struct dma_buf_attach_ops {
1153 @@ -412,6 +509,14 @@ struct dma_buf_attachment {
1168 @@ -489,6 +594,9 @@ dma_buf_attachment_is_dynamic(struct dma_buf_attachment *attach)
1169 return !!attach->importer_ops;
1178 @@ -513,13 +621,21 @@ void dma_buf_unmap_attachment(struct dma_buf_attachment *, struct sg_table *,
1200 diff --git a/include/linux/dma-fence.h b/include/linux/dma-fence.h
1202 --- a/include/linux/dma-fence.h
1203 +++ b/include/linux/dma-fence.h
1204 @@ -372,6 +372,9 @@ static inline void __dma_fence_might_wait(void) {}
1214 diff --git a/include/linux/dma-heap.h b/include/linux/dma-heap.h
1216 --- a/include/linux/dma-heap.h
1217 +++ b/include/linux/dma-heap.h
1218 @@ -16,15 +16,17 @@ struct dma_heap;
1221 * struct dma_heap_ops - ops to operate on a given heap
1222 - * @allocate: allocate dmabuf and return fd
1226 - * allocate returns dmabuf fd on success, -errno on error.
1227 + * allocate returns dmabuf on success, ERR_PTR(-errno) on error.
1230 - int (*allocate)(struct dma_heap *heap,
1239 @@ -50,6 +52,15 @@ struct dma_heap_export_info {
1244 + * dma_heap_get_dev() - get device struct for the heap
1245 + * @heap: DMA-Heap to retrieve device struct from
1253 * dma_heap_get_name() - get heap name
1254 * @heap: DMA-Heap to retrieve private data for
1255 @@ -65,4 +76,49 @@ const char *dma_heap_get_name(struct dma_heap *heap);
1260 + * dma_heap_put - drops a reference to a dmabuf heaps, potentially freeing it
1266 + * dma_heap_find - Returns the registered dma_heap with the specified name
1275 + * dma_heap_buffer_alloc - Allocate dma-buf from a dma_heap
1278 + * @fd_flags: flags to set on returned dma-buf fd
1281 + * This is for internal dma-buf allocations only.
1287 +/** dma_heap_buffer_free - Free dma_buf allocated by dma_heap_buffer_alloc
1295 + * dma_heap_bufferfd_alloc - Allocate dma-buf fd from a dma_heap
1298 + * @fd_flags: flags to set on returned dma-buf fd
1305 diff --git a/include/linux/dma-iommu.h b/include/linux/dma-iommu.h
1307 --- a/include/linux/dma-iommu.h
1308 +++ b/include/linux/dma-iommu.h
1309 @@ -37,6 +37,11 @@ void iommu_dma_compose_msi_msg(struct msi_desc *desc,
1321 @@ -78,5 +83,16 @@ static inline void iommu_dma_get_resv_regions(struct device *dev, struct list_he
1328 + return -ENODEV;
1333 + return -ENODEV;
1338 diff --git a/include/linux/dma-map-ops.h b/include/linux/dma-map-ops.h
1340 --- a/include/linux/dma-map-ops.h
1341 +++ b/include/linux/dma-map-ops.h
1342 @@ -258,6 +258,14 @@ void arch_dma_free(struct device *dev, size_t size, void *cpu_addr,
1357 diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h
1359 --- a/include/linux/dma-mapping.h
1360 +++ b/include/linux/dma-mapping.h
1361 @@ -61,6 +61,23 @@
1369 + * devices that are non-coherent, but can use the system cache.
1377 + * useful for buffers that are being mapped for devices that are non-coherent,
1385 diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
1387 --- a/include/linux/dmaengine.h
1389 @@ -418,6 +418,9 @@ enum dma_slave_buswidth {
1399 @@ -443,6 +446,8 @@ struct dma_slave_config {
1408 diff --git a/include/linux/energy_model.h b/include/linux/energy_model.h
1410 --- a/include/linux/energy_model.h
1412 @@ -29,6 +29,8 @@ struct em_perf_state {
1413 * em_perf_domain - Performance domain
1416 + * @milliwatts: Flag indicating the power values are in milli-Watts
1421 @@ -43,6 +45,7 @@ struct em_perf_state {
1429 @@ -95,7 +98,8 @@ struct em_data_callback {
1433 - struct em_data_callback *cb, cpumask_t *span);
1439 @@ -119,6 +123,9 @@ static inline unsigned long em_cpu_energy(struct em_perf_domain *pd,
1449 @@ -202,7 +209,8 @@ struct em_data_callback {};
1453 - struct em_data_callback *cb, cpumask_t *span)
1457 return -EINVAL;
1459 diff --git a/include/linux/extcon.h b/include/linux/extcon.h
1461 --- a/include/linux/extcon.h
1463 @@ -37,6 +37,7 @@
1471 diff --git a/include/linux/freezer.h b/include/linux/freezer.h
1473 --- a/include/linux/freezer.h
1475 @@ -27,6 +27,11 @@ static inline bool frozen(struct task_struct *p)
1476 return p->flags & PF_FROZEN;
1481 + return p->flags & (PF_FROZEN | PF_FREEZER_SKIP);
1487 @@ -270,6 +275,7 @@ static inline int freezable_schedule_hrtimeout_range(ktime_t *expires,
1495 diff --git a/include/linux/iommu.h b/include/linux/iommu.h
1497 --- a/include/linux/iommu.h
1499 @@ -31,6 +31,26 @@
1504 + * Non-coherent masters can use this page protection flag to set cacheable
1506 + * the last-level or system cache.
1510 + * Non-coherent masters can use this page protection flag to set cacheable
1512 + * transparent outer level of cache, also known as the last-level or system
1526 @@ -190,7 +210,12 @@ struct iommu_iotlb_gather {
1532 + * @map_sg: map a scatter-gather list of physically contiguous chunks to
1539 @@ -241,10 +266,20 @@ struct iommu_ops {
1555 - void (*iotlb_sync_map)(struct iommu_domain *domain);
1561 @@ -561,6 +596,8 @@ static inline void iommu_iotlb_gather_add_page(struct iommu_domain *domain,
1567 /* FSL-MC device grouping function */
1570 @@ -1069,6 +1106,14 @@ static inline struct iommu_fwspec *dev_iommu_fwspec_get(struct device *dev)
1585 diff --git a/include/linux/iova.h b/include/linux/iova.h
1587 --- a/include/linux/iova.h
1589 @@ -95,6 +95,7 @@ struct iova_domain {
1590 flush-queues */
1597 diff --git a/include/linux/irqchip/arm-gic-v3.h b/include/linux/irqchip/arm-gic-v3.h
1599 --- a/include/linux/irqchip/arm-gic-v3.h
1600 +++ b/include/linux/irqchip/arm-gic-v3.h
1601 @@ -708,6 +708,8 @@ static inline bool gic_enable_sre(void)
1610 diff --git a/include/linux/irqchip/arm-gic-v4.h b/include/linux/irqchip/arm-gic-v4.h
1612 --- a/include/linux/irqchip/arm-gic-v4.h
1613 +++ b/include/linux/irqchip/arm-gic-v4.h
1614 @@ -39,6 +39,8 @@ struct its_vpe {
1623 @@ -104,6 +106,7 @@ enum its_vcpu_info_cmd_type {
1631 @@ -129,6 +132,7 @@ int its_alloc_vcpu_irqs(struct its_vm *vm);
1639 diff --git a/include/linux/memblock.h b/include/linux/memblock.h
1641 --- a/include/linux/memblock.h
1643 @@ -25,6 +25,10 @@ extern unsigned long max_pfn;
1652 * enum memblock_flags - definition of memory region attributes
1654 @@ -404,13 +408,13 @@ void *memblock_alloc_try_nid(phys_addr_t size, phys_addr_t align,
1658 -static inline void * __init memblock_alloc(phys_addr_t size, phys_addr_t align)
1665 -static inline void * __init memblock_alloc_raw(phys_addr_t size,
1670 @@ -418,7 +422,7 @@ static inline void * __init memblock_alloc_raw(phys_addr_t size,
1674 -static inline void * __init memblock_alloc_from(phys_addr_t size,
1679 @@ -426,33 +430,33 @@ static inline void * __init memblock_alloc_from(phys_addr_t size,
1683 -static inline void * __init memblock_alloc_low(phys_addr_t size,
1691 -static inline void * __init memblock_alloc_node(phys_addr_t size,
1699 -static inline void __init memblock_free_early(phys_addr_t base,
1706 -static inline void __init memblock_free_early_nid(phys_addr_t base,
1713 -static inline void __init memblock_free_late(phys_addr_t base, phys_addr_t size)
1718 @@ -460,7 +464,7 @@ static inline void __init memblock_free_late(phys_addr_t base, phys_addr_t size)
1720 * Set the allocation direction to bottom-up or top-down.
1722 -static inline void __init memblock_set_bottom_up(bool enable)
1727 @@ -470,7 +474,7 @@ static inline void __init memblock_set_bottom_up(bool enable)
1729 * in bottom-up direction.
1731 -static inline bool memblock_bottom_up(void)
1736 diff --git a/include/linux/mfd/rk808.h b/include/linux/mfd/rk808.h
1738 --- a/include/linux/mfd/rk808.h
1740 @@ -113,6 +113,235 @@ enum rk808_reg {
1976 @@ -138,6 +367,8 @@ enum rk818_reg {
1985 @@ -190,7 +421,84 @@ enum rk818_reg {
2070 @@ -255,14 +563,22 @@ enum rk805_reg {
2074 -#define RK805_IRQ_PWRON_RISE 0
2081 -#define RK805_IRQ_PWRON_FALL 7
2084 + * When PMIC irq occurs, regmap-irq.c will traverse all PMIC child
2095 @@ -289,6 +605,16 @@ enum rk805_reg {
2099 +#define RK805_SLP_LDO_EN_OFFSET -1
2112 @@ -348,6 +674,107 @@ enum rk805_reg {
2220 @@ -381,7 +808,10 @@ enum rk805_reg {
2231 @@ -391,6 +821,7 @@ enum rk805_reg {
2239 @@ -436,6 +867,10 @@ enum rk809_reg_id {
2250 @@ -462,6 +897,9 @@ enum rk809_reg_id {
2260 @@ -609,16 +1047,27 @@ enum {
2285 + struct rk808_pin_info *pins;
2288 diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
2290 --- a/include/linux/mmc/host.h
2292 @@ -141,6 +141,7 @@ struct mmc_host_ops {
2294 /* Check if the card is pulling dat[0:3] low */
2300 @@ -483,6 +484,9 @@ void mmc_free_host(struct mmc_host *);
2309 return (void *)host->private;
2310 diff --git a/include/linux/mmu_context.h b/include/linux/mmu_context.h
2312 --- a/include/linux/mmu_context.h
2314 @@ -14,4 +14,12 @@
2327 diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h
2329 --- a/include/linux/power_supply.h
2331 @@ -49,6 +49,12 @@ enum {
2344 @@ -386,12 +392,22 @@ extern void power_supply_put(struct power_supply *psy);
2367 @@ -426,9 +442,16 @@ static inline int power_supply_is_system_supplied(void) { return -ENOSYS; }
2384 diff --git a/include/linux/psi_types.h b/include/linux/psi_types.h
2386 --- a/include/linux/psi_types.h
2388 @@ -154,6 +154,7 @@ struct psi_group {
2396 diff --git a/include/linux/pwm.h b/include/linux/pwm.h
2398 --- a/include/linux/pwm.h
2400 @@ -59,6 +59,9 @@ struct pwm_state {
2410 diff --git a/include/linux/reboot.h b/include/linux/reboot.h
2412 --- a/include/linux/reboot.h
2414 @@ -49,6 +49,26 @@ extern int register_restart_handler(struct notifier_block *);
2416 extern void do_kernel_restart(char *cmd);
2421 +extern void do_kernel_pre_restart(char *cmd);
2433 +static inline void do_kernel_pre_restart(char *cmd)
2439 * Architecture-specific implementations of sys_reboot commands.
2441 diff --git a/include/linux/regulator/driver.h b/include/linux/regulator/driver.h
2443 --- a/include/linux/regulator/driver.h
2445 @@ -223,6 +223,8 @@ enum regulator_type {
2454 @@ -314,6 +316,7 @@ struct regulator_desc {
2462 diff --git a/include/linux/regulator/fan53555.h b/include/linux/regulator/fan53555.h
2464 --- a/include/linux/regulator/fan53555.h
2466 @@ -52,6 +52,8 @@ struct fan53555_platform_data {
2475 diff --git a/include/linux/sched.h b/include/linux/sched.h
2477 --- a/include/linux/sched.h
2479 @@ -1366,7 +1366,7 @@ struct task_struct {
2483 -#ifdef CONFIG_KASAN
2488 @@ -1702,11 +1702,9 @@ extern struct pid *cad_pid;
2492 -
2496 -
2500 diff --git a/include/linux/sched/hotplug.h b/include/linux/sched/hotplug.h
2502 --- a/include/linux/sched/hotplug.h
2504 @@ -8,7 +8,11 @@
2516 diff --git a/include/linux/sched/isolation.h b/include/linux/sched/isolation.h
2518 --- a/include/linux/sched/isolation.h
2520 @@ -28,25 +28,10 @@ extern void __init housekeeping_init(void);
2524 -#ifdef CONFIG_CPU_ISOLATION_OPT
2525 -static inline int housekeeping_any_cpu(enum hk_flags flags)
2526 -{
2527 - cpumask_t available;
2528 - int cpu;
2529 -
2530 - cpumask_andnot(&available, cpu_online_mask, cpu_isolated_mask);
2531 - cpu = cpumask_any(&available);
2532 - if (cpu >= nr_cpu_ids)
2533 - cpu = smp_processor_id();
2534 -
2535 - return cpu;
2536 -}
2537 -#else
2542 -#endif
2546 @@ -69,11 +54,7 @@ static inline bool housekeeping_cpu(int cpu, enum hk_flags flags)
2550 -#ifdef CONFIG_CPU_ISOLATION_OPT
2551 - return !cpu_isolated(cpu);
2552 -#else
2554 -#endif
2558 diff --git a/include/linux/sched/wake_q.h b/include/linux/sched/wake_q.h
2560 --- a/include/linux/sched/wake_q.h
2562 @@ -38,6 +38,7 @@
2570 @@ -49,6 +50,7 @@ static inline void wake_q_init(struct wake_q_head *head)
2572 head->first = WAKE_Q_TAIL;
2573 head->lastp = &head->first;
2574 + head->count = 0;
2578 diff --git a/include/linux/sched/xacct.h b/include/linux/sched/xacct.h
2580 --- a/include/linux/sched/xacct.h
2582 @@ -28,6 +28,11 @@ static inline void inc_syscw(struct task_struct *tsk)
2584 tsk->ioac.syscw++;
2589 + tsk->ioac.syscfs++;
2594 @@ -44,6 +49,10 @@ static inline void inc_syscr(struct task_struct *tsk)
2605 diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h
2607 --- a/include/linux/stmmac.h
2609 @@ -183,6 +183,7 @@ struct plat_stmmacenet_data {
2617 diff --git a/include/linux/thermal.h b/include/linux/thermal.h
2619 --- a/include/linux/thermal.h
2621 @@ -399,6 +399,7 @@ void thermal_cdev_update(struct thermal_cooling_device *);
2629 @@ -453,6 +454,10 @@ static inline int thermal_zone_device_enable(struct thermal_zone_device *tz)
2632 { return -ENODEV; }
2636 +{ return -ENODEV; }
2640 diff --git a/include/linux/usb/audio-v2.h b/include/linux/usb/audio-v2.h
2642 --- a/include/linux/usb/audio-v2.h
2643 +++ b/include/linux/usb/audio-v2.h
2644 @@ -168,6 +168,20 @@ struct uac2_effect_unit_descriptor {
2662 /* 4.9.2 Class-Specific AS Interface Descriptor */
2665 @@ -331,6 +345,9 @@ struct uac2_interrupt_data_msg {
2669 +#define UAC2_CONTROL_BIT_RO(CS) (0x01 << (((CS) - 1) << 1))
2670 +#define UAC2_CONTROL_BIT_RW(CS) (0x03 << (((CS) - 1) << 1))
2675 diff --git a/include/linux/usb/audio.h b/include/linux/usb/audio.h
2677 --- a/include/linux/usb/audio.h
2679 @@ -31,6 +31,7 @@ struct usb_audio_control {
2681 int (*set)(struct usb_audio_control *con, u8 cmd, int value);
2682 int (*get)(struct usb_audio_control *con, u8 cmd);
2687 diff --git a/include/linux/usb/ch9.h b/include/linux/usb/ch9.h
2689 --- a/include/linux/usb/ch9.h
2691 @@ -36,62 +36,24 @@
2695 -/**
2696 - * usb_ep_type_string() - Returns human readable-name of the endpoint type.
2697 - * @ep_type: The endpoint type to return human-readable name for. If it's not
2698 - * any of the types: USB_ENDPOINT_XFER_{CONTROL, ISOC, BULK, INT},
2699 - * usually got by usb_endpoint_type(), the string 'unknown' will be returned.
2700 - */
2701 -extern const char *usb_ep_type_string(int ep_type);
2704 -/**
2705 - * usb_speed_string() - Returns human readable-name of the speed.
2706 - * @speed: The speed to return human-readable name for. If it's not
2707 - * any of the speeds defined in usb_device_speed enum, string for
2708 - * USB_SPEED_UNKNOWN will be returned.
2709 - */
2710 -extern const char *usb_speed_string(enum usb_device_speed speed);
2718 -/**
2719 - * usb_get_maximum_speed - Get maximum requested speed for a given USB
2720 - * controller.
2721 - * @dev: Pointer to the given USB controller device
2722 - *
2723 - * The function gets the maximum speed string from property "maximum-speed",
2724 - * and returns the corresponding enum usb_device_speed.
2725 - */
2729 -
2730 -/**
2731 - * usb_state_string - Returns human readable name for the state.
2732 - * @state: The state to return a human-readable name for. If it's not
2733 - * any of the states devices in usb_device_state_string enum,
2734 - * the string UNKNOWN will be returned.
2735 - */
2742 -/**
2743 - * usb_decode_ctrl - Returns human readable representation of control request.
2744 - * @str: buffer to return a human-readable representation of control request.
2745 - * This buffer should have about 200 bytes.
2746 - * @size: size of str buffer.
2747 - * @bRequestType: matches the USB bmRequestType field
2748 - * @bRequest: matches the USB bRequest field
2749 - * @wValue: matches the USB wValue field (CPU byte order)
2750 - * @wIndex: matches the USB wIndex field (CPU byte order)
2751 - * @wLength: matches the USB wLength field (CPU byte order)
2752 - *
2753 - * Function returns decoded, formatted and human-readable description of
2754 - * control request packet.
2755 - *
2756 - * The usage scenario for this is for tracepoints, so function as a return
2757 - * use the same value as in parameters. This approach allows to use this
2758 - * function in TP_printk
2759 - *
2760 - * Important: wValue, wIndex, wLength parameters before invoking this function
2761 - * should be processed by le16_to_cpu macro.
2762 - */
2766 diff --git a/include/linux/usb/composite.h b/include/linux/usb/composite.h
2768 --- a/include/linux/usb/composite.h
2770 @@ -525,6 +525,8 @@ extern struct usb_string *usb_gstrings_attach(struct usb_composite_dev *cdev,
2779 @@ -590,6 +592,7 @@ struct usb_function_instance {
2787 diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h
2789 --- a/include/linux/usb/gadget.h
2791 @@ -217,6 +217,7 @@ struct usb_ep_caps {
2798 * gadget->ep_list. the control endpoint (gadget->ep0) is not in that list,
2799 @@ -240,6 +241,9 @@ struct usb_ep {
2808 /*-------------------------------------------------------------------------*/
2809 @@ -323,6 +327,8 @@ struct usb_gadget_ops {
2818 @@ -339,6 +345,10 @@ struct usb_gadget_ops {
2829 @@ -406,6 +416,11 @@ struct usb_gadget {
2841 diff --git a/include/linux/usb/pd.h b/include/linux/usb/pd.h
2843 --- a/include/linux/usb/pd.h
2845 @@ -225,6 +225,7 @@ enum pd_pdo_type {
2853 @@ -466,6 +467,7 @@ static inline unsigned int rdo_max_power(u32 rdo)
2857 +#define PD_T_PS_SOURCE_ON_PRS 450 /* 390 - 480ms */
2861 @@ -478,14 +480,19 @@ static inline unsigned int rdo_max_power(u32 rdo)
2864 #define PD_T_BIST_CONT_MODE 50 /* 30 - 60 ms */
2865 +#define PD_T_SINK_TX 16 /* 16 - 20 ms */
2866 +#define PD_T_CHUNK_NOT_SUPP 42 /* 40 - 50 ms */
2868 #define PD_T_DRP_TRY 100 /* 75 - 150 ms */
2869 #define PD_T_DRP_TRYWAIT 600 /* 400 - 800 ms */
2871 #define PD_T_CC_DEBOUNCE 200 /* 100 - 200 ms */
2872 #define PD_T_PD_DEBOUNCE 20 /* 10 - 20 ms */
2873 +#define PD_T_TRY_CC_DEBOUNCE 15 /* 10 - 20 ms */
2881 diff --git a/include/linux/usb/pd_ext_sdb.h b/include/linux/usb/pd_ext_sdb.h
2883 --- a/include/linux/usb/pd_ext_sdb.h
2885 @@ -24,8 +24,4 @@ enum usb_pd_ext_sdb_fields {
2889 -#define USB_PD_EXT_SDB_PPS_EVENTS (USB_PD_EXT_SDB_EVENT_OCP | \
2890 - USB_PD_EXT_SDB_EVENT_OTP | \
2891 - USB_PD_EXT_SDB_EVENT_OVP)
2892 -
2894 diff --git a/include/linux/usb/pd_vdo.h b/include/linux/usb/pd_vdo.h
2896 --- a/include/linux/usb/pd_vdo.h
2898 @@ -21,22 +21,24 @@
2899 * ----------
2902 - * <14:13> :: Structured VDM version (can only be 00 == 1.0 currently)
2905 * <10:8> :: object position (1-7 valid ... used for enter/exit mode only)
2910 -#define VDO(vid, type, custom) \
2925 @@ -74,6 +76,7 @@
2933 @@ -103,25 +106,50 @@
2934 * --------------------
2937 - * <29:27> :: product type
2940 - * <25:16> :: Reserved, Shall be set to zero
2944 * <15:0> :: USB-IF assigned VID for this cable vendor
2961 -#define IDH_PTYPE_AMA 5
2964 -#define VDO_IDH(usbh, usbd, ptype, is_modal, vid) \
2965 - ((usbh) << 31 | (usbd) << 30 | ((ptype) & 0x7) << 27 \
2966 - | (is_modal) << 26 | ((vid) & 0xffff))
2990 @@ -129,6 +157,7 @@
2991 * <31:0> : USB-IF assigned XID for this cable
2998 @@ -140,77 +169,270 @@
3002 - * UFP VDO1
3004 * --------
3008 - * <23:6> :: Reserved
3017 -#define PD_VDO1_UFP_DEVCAP(vdo) (((vdo) & GENMASK(27, 24)) >> 24)
3068 - * DFP VDO
3070 * --------
3074 - * <23:5> :: Reserved
3093 - * Cable VDO
3095 * ---------
3099 - * <19:18> :: type-C to Type-A/B/C (00b == A, 01 == B, 10 == C)
3100 - * <17> :: Type-C to Plug/Receptacle (0b == plug, 1b == receptacle)
3101 + * <19:18> :: type-C to Type-A/B/C/Captive (00b == A, 01 == B, 10 == C, 11 == Captive)
3109 - * <6:5> :: Vbus current handling capability
3116 + * ---------
3121 + * <19:18> :: Type-C to Type-C/Captive (10b == C, 11b == Captive)
3132 + * ---------
3155 -#define CABLE_PLUG 0
3156 -#define CABLE_RECEPTACLE 1
3157 -#define CABLE_CURR_1A5 0
3197 -#define VDO_CABLE(hw, fw, cbl, gdr, lat, term, tx1d, tx2d, rx1d, rx2d, cur,\
3198 - vps, sopp, usbss) \
3199 - (((hw) & 0x7) << 28 | ((fw) & 0x7) << 24 | ((cbl) & 0x3) << 18 \
3200 - | (gdr) << 17 | ((lat) & 0x7) << 13 | ((term) & 0x3) << 11 \
3201 - | (tx1d) << 10 | (tx2d) << 9 | (rx1d) << 8 | (rx2d) << 7 \
3202 - | ((cur) & 0x3) << 5 | (vps) << 4 | (sopp) << 3 \
3203 - | ((usbss) & 0x7))
3230 + * ---------
3284 - * AMA VDO
3286 * ---------
3289 @@ -233,18 +455,40 @@
3293 -#define AMA_VCONN_PWR_1W 0
3294 -#define AMA_VCONN_PWR_1W5 1
3295 -#define AMA_VCONN_PWR_2W 2
3296 -#define AMA_VCONN_PWR_3W 3
3297 -#define AMA_VCONN_PWR_4W 4
3298 -#define AMA_VCONN_PWR_5W 5
3299 -#define AMA_VCONN_PWR_6W 6
3307 + * ---------
3335 * SVDM Discover SVIDs request -> response
3337 diff --git a/include/linux/usb/quirks.h b/include/linux/usb/quirks.h
3339 --- a/include/linux/usb/quirks.h
3341 @@ -72,4 +72,7 @@
3349 diff --git a/include/linux/usb/tcpm.h b/include/linux/usb/tcpm.h
3351 --- a/include/linux/usb/tcpm.h
3353 @@ -19,6 +19,10 @@ enum typec_cc_status {
3364 @@ -62,6 +66,8 @@ enum tcpm_transmit_type {
3367 * @set_cc: Called to set value of CC pins
3373 @@ -83,6 +89,39 @@ enum tcpm_transmit_type {
3401 + * (e.g. D+/- or SS Tx/Rx). Called to notify the status of the bit.
3403 + * Optional; The callback is called when CC pins report open status
3405 + * expected to check for contaminant and re-enable toggling if
3413 @@ -91,6 +130,8 @@ struct tcpc_dev {
3422 @@ -106,9 +147,16 @@ struct tcpc_dev {
3426 - const struct pd_message *msg);
3440 @@ -116,6 +164,10 @@ struct tcpm_port;
3451 @@ -126,5 +178,7 @@ void tcpm_pd_transmit_complete(struct tcpm_port *port,
3459 diff --git a/include/linux/usb/typec.h b/include/linux/usb/typec.h
3461 --- a/include/linux/usb/typec.h
3463 @@ -126,9 +126,12 @@ struct typec_altmode_desc {
3476 @@ -162,6 +165,7 @@ struct typec_plug_desc {
3482 * Represents USB Type-C Cable attached to USB Type-C port.
3484 @@ -169,6 +173,8 @@ struct typec_cable_desc {
3493 @@ -176,15 +182,22 @@ struct typec_cable_desc {
3499 * Details about a partner that is attached to USB Type-C port. If @identity
3516 @@ -204,12 +217,19 @@ struct typec_operations {
3527 * struct typec_capability - USB Type-C Port Capabilities
3530 * @revision: USB Type-C Specification release. Binary coded decimal
3536 @@ -223,6 +243,7 @@ struct typec_capability {
3544 @@ -273,4 +294,8 @@ int typec_find_orientation(const char *name);
3553 diff --git a/include/linux/usb/typec_altmode.h b/include/linux/usb/typec_altmode.h
3555 --- a/include/linux/usb/typec_altmode.h
3557 @@ -132,6 +132,16 @@ typec_altmode_get_orientation(struct typec_altmode *altmode)
3562 + * typec_altmode_get_svdm_version - Get negotiated SVDM version
3572 * struct typec_altmode_driver - USB Type-C alternate mode device driver
3574 diff --git a/include/linux/usb/typec_tbt.h b/include/linux/usb/typec_tbt.h
3576 --- a/include/linux/usb/typec_tbt.h
3578 @@ -39,12 +39,16 @@ struct typec_thunderbolt_data {
3582 -#define TBT_CABLE_ROUNDED BIT(19)
3596 diff --git a/include/linux/usb/usbnet.h b/include/linux/usb/usbnet.h
3598 --- a/include/linux/usb/usbnet.h
3600 @@ -83,8 +83,6 @@ struct usbnet {
3604 - u32 rx_speed; /* in bps - NOT Mbps */
3605 - u32 tx_speed; /* in bps - NOT Mbps */
3609 diff --git a/include/media/v4l2-async.h b/include/media/v4l2-async.h
3611 --- a/include/media/v4l2-async.h
3612 +++ b/include/media/v4l2-async.h
3613 @@ -266,6 +266,21 @@ int v4l2_async_notifier_register(struct v4l2_device *v4l2_dev,
3618 + * v4l2_async_notifier_clr_unready_dev - remove unready subdevice
3633 * v4l2_async_notifier_unregister - unregisters a subdevice
3635 diff --git a/include/soc/rockchip/rockchip_sip.h b/include/soc/rockchip/rockchip_sip.h
3637 --- a/include/soc/rockchip/rockchip_sip.h
3639 @@ -15,6 +15,12 @@
3643 -#define ROCKCHIP_SIP_CONFIG_DRAM_SET_ODT_PD 0x08
3653 diff --git a/include/sound/hdmi-codec.h b/include/sound/hdmi-codec.h
3655 --- a/include/sound/hdmi-codec.h
3656 +++ b/include/sound/hdmi-codec.h
3657 @@ -34,6 +34,11 @@ struct hdmi_codec_daifmt {
3669 @@ -60,12 +65,22 @@ struct hdmi_codec_ops {
3672 * Configures HDMI-encoder for audio stream.
3673 - * Mandatory
3681 + * Configures HDMI-encoder for audio stream. Can be called
3693 diff --git a/include/trace/events/cpuhp.h b/include/trace/events/cpuhp.h
3695 --- a/include/trace/events/cpuhp.h
3697 @@ -89,6 +89,28 @@ TRACE_EVENT(cpuhp_exit,
3698 __entry->cpu, __entry->state, __entry->idx, __entry->ret)
3714 + __entry->cpus = cpumask_bits(cpus)[0];
3715 + __entry->active_cpus = cpumask_bits(cpu_active_mask)[0];
3716 + __entry->time = div64_u64(sched_clock() - start_time, 1000);
3717 + __entry->pause = pause;
3721 + __entry->cpus, __entry->active_cpus, __entry->time, __entry->pause)
3726 diff --git a/include/trace/events/sched.h b/include/trace/events/sched.h
3728 --- a/include/trace/events/sched.h
3730 @@ -203,6 +203,7 @@ TRACE_EVENT(sched_migrate_task,
3738 @@ -211,11 +212,13 @@ TRACE_EVENT(sched_migrate_task,
3739 __entry->prio = p->prio; /* XXX SCHED_DEADLINE */
3740 __entry->orig_cpu = task_cpu(p);
3741 __entry->dest_cpu = dest_cpu;
3742 + __entry->running = (p->state == TASK_RUNNING);
3745 - TP_printk("comm=%s pid=%d prio=%d orig_cpu=%d dest_cpu=%d",
3747 __entry->comm, __entry->pid, __entry->prio,
3748 - __entry->orig_cpu, __entry->dest_cpu)
3749 + __entry->orig_cpu, __entry->dest_cpu,
3750 + __entry->running)
3754 diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h
3756 --- a/include/uapi/drm/drm_fourcc.h
3758 @@ -242,6 +242,8 @@ extern "C" {
3763 +#define DRM_FORMAT_NV30 fourcc_code('N', 'V', '3', '0') /* non-subsampled Cr:Cb plane */
3767 diff --git a/include/uapi/linux/media-bus-format.h b/include/uapi/linux/media-bus-format.h
3769 --- a/include/uapi/linux/media-bus-format.h
3770 +++ b/include/uapi/linux/media-bus-format.h
3771 @@ -34,7 +34,7 @@
3775 -/* RGB - next is 0x101d */
3776 +/* RGB - next is 0x1024 */
3780 @@ -63,6 +63,10 @@
3789 /* YUV (including grey) - next is 0x202e */
3791 diff --git a/include/uapi/linux/serial_reg.h b/include/uapi/linux/serial_reg.h
3793 --- a/include/uapi/linux/serial_reg.h
3795 @@ -30,6 +30,7 @@
3803 diff --git a/include/uapi/linux/usb/ch9.h b/include/uapi/linux/usb/ch9.h
3805 --- a/include/uapi/linux/usb/ch9.h
3807 @@ -968,9 +968,22 @@ struct usb_ssp_cap_descriptor {
3830 diff --git a/include/uapi/linux/usb/f_accessory.h b/include/uapi/linux/usb/f_accessory.h
3833 --- /dev/null
3835 @@ -0,0 +1,146 @@
3962 + * value: 0 - no audio
3963 + * 1 - device to host, 44100 16-bit stereo PCM
3982 diff --git a/include/uapi/linux/usb/g_uvc.h b/include/uapi/linux/usb/g_uvc.h
3984 --- a/include/uapi/linux/usb/g_uvc.h
3986 @@ -19,7 +19,9 @@
3990 -#define UVC_EVENT_LAST (V4L2_EVENT_PRIVATE_START + 5)
3997 diff --git a/include/uapi/linux/usb/video.h b/include/uapi/linux/usb/video.h
3999 --- a/include/uapi/linux/usb/video.h
4001 @@ -567,5 +567,63 @@ struct UVC_FRAME_MJPEG(n) { \
4005 +/* Frame Based Payload - 3.1.1. Frame Based Video Format Descriptor */
4024 +/* Frame Based Payload - 3.1.2. Frame Based Video Frame Descriptor */
4065 diff --git a/include/uapi/linux/v4l2-controls.h b/include/uapi/linux/v4l2-controls.h
4067 --- a/include/uapi/linux/v4l2-controls.h
4068 +++ b/include/uapi/linux/v4l2-controls.h
4069 @@ -188,6 +188,12 @@ enum v4l2_colorfx {
4082 diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
4084 --- a/include/uapi/linux/videodev2.h
4086 @@ -689,6 +689,7 @@ struct v4l2_pix_format {
4089 #define V4L2_PIX_FMT_MPEG v4l2_fourcc('M', 'P', 'E', 'G') /* MPEG-1/2/4 Multiplexed */