Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: p4wifi and glide dt-schema improvements #102

Closed
wants to merge 220 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
220 commits
Select commit Hold shift + click to select a range
8643c11
notifier: Add blocking_notifier_call_chain_empty()
digetx Oct 7, 2021
26a1628
notifier: Add atomic/blocking_notifier_has_unique_priority()
digetx Oct 17, 2021
f4e5ff1
reboot: Correct typo in a comment
digetx Oct 17, 2021
1b8cceb
reboot: Warn if restart handler has duplicated priority
digetx Oct 17, 2021
dea272f
reboot: Warn if unregister_restart_handler() fails
digetx Oct 18, 2021
67c8007
reboot: Remove extern annotation from function prototypes
digetx Oct 18, 2021
78fef1c
kernel: Add combined power-off+restart handler call chain API
digetx Oct 7, 2021
01f34ff
xen/x86: Use do_kernel_power_off()
digetx Oct 17, 2021
177a576
ARM: Use do_kernel_power_off()
digetx Oct 17, 2021
46582a6
arm64: Use do_kernel_power_off()
digetx Oct 17, 2021
90a7830
csky: Use do_kernel_power_off()
digetx Oct 17, 2021
830169d
ia64: Use do_kernel_power_off()
digetx Oct 17, 2021
3b9420b
mips: Use do_kernel_power_off()
digetx Oct 17, 2021
e2aaee7
nds32: Use do_kernel_power_off()
digetx Oct 17, 2021
8fba17f
parisc: Use do_kernel_power_off()
digetx Oct 17, 2021
f62780e
powerpc: Use do_kernel_power_off()
digetx Oct 17, 2021
1f4b541
riscv: Use do_kernel_power_off()
digetx Oct 17, 2021
f6fa7f2
sh: Use do_kernel_power_off()
digetx Oct 17, 2021
7e64e4a
x86: Use do_kernel_power_off()
digetx Oct 17, 2021
bb91270
m68k: Switch to new power-handler API
digetx Oct 18, 2021
15854f2
memory: emif: Use kernel_can_power_off()
digetx Oct 17, 2021
ac9400e
ACPI: power: Switch to power-handler API
digetx Oct 18, 2021
6b2efb0
regulator: pfuze100: Use devm_register_power_handler()
digetx Oct 20, 2021
5298e48
reboot: Remove pm_power_off_prepare()
digetx Oct 20, 2021
2113fe5
soc/tegra: pmc: Utilize power-handler API to power off Nexus 7 properly
digetx Oct 7, 2021
8649696
mfd: ntxec: Use devm_register_power_handler()
digetx Oct 18, 2021
d10a396
mfd: rn5t618: Use devm_register_power_handler()
digetx Oct 18, 2021
2dc1349
mfd: acer-a500: Use devm_register_power_handler()
digetx Oct 18, 2021
f52cb81
mfd: ene-kb3930: Use devm_register_power_handler()
digetx Oct 18, 2021
48844ef
mfd: axp20x: Use register_simple_power_off_handler()
digetx Oct 18, 2021
e7cd483
mfd: retu: Use devm_register_simple_power_off_handler()
digetx Oct 18, 2021
dfebe43
mfd: rk808: Use devm_register_simple_power_off_handler()
digetx Oct 18, 2021
358ead4
mfd: palmas: Use devm_register_simple_power_off_handler()
digetx Oct 18, 2021
1cb927c
mfd: max8907: Use devm_register_simple_power_off_handler()
digetx Oct 18, 2021
e4b333e
mfd: tps6586x: Use devm_register_simple_power_off_handler()
digetx Oct 18, 2021
854cf3d
mfd: tps65910: Use devm_register_simple_power_off_handler()
digetx Oct 18, 2021
e13c821
mfd: max77620: Use devm_register_simple_power_off_handler()
digetx Oct 7, 2021
543e1b3
mfd: dm355evm_msp: Use devm_register_trivial_power_off_handler()
digetx Oct 18, 2021
4110cd8
mfd: twl4030: Use devm_register_trivial_power_off_handler()
digetx Oct 18, 2021
008370e
mfd: ab8500: Use devm_register_trivial_power_off_handler()
digetx Oct 18, 2021
5f3441c
reset: ath79: Use devm_register_simple_restart_handler()
digetx Oct 18, 2021
6b06fb8
reset: intel-gw: Use devm_register_simple_restart_handler()
digetx Oct 18, 2021
4abd77d
reset: lpc18xx: Use devm_register_prioritized_restart_handler()
digetx Oct 18, 2021
33974de
reset: npcm: Use devm_register_prioritized_restart_handler()
digetx Oct 18, 2021
613896d
rtc: tps80031: Remove driver
digetx Oct 18, 2021
46acfd2
regulator: tps80031: Remove driver
digetx Oct 18, 2021
fa2a119
mfd: tps80031: Remove driver
digetx Oct 18, 2021
247ac9b
ARM: tegra: Name clock and regulator nodes according to DT-schema
okias Sep 17, 2021
29ec3c7
dt-bindings: display: simple: Add HannStar HSD101PWW2
clamor-s Aug 15, 2021
6651c4c
drm/panel: simple: Add support for HannStar HSD101PWW2 panel
clamor-s Aug 13, 2021
225ad6c
dt-bindings: ARM: tegra: Document ASUS Transformers
clamor-s Jun 1, 2020
808fda2
dt-bindings: ARM: tegra: Document Pegatron Chagall
okias Sep 11, 2021
e9a8c1f
ARM: tegra: Add device-tree for ASUS Transformer EeePad TF101
mnidza Mar 25, 2021
836a0bc
ARM: tegra: Add device-tree for ASUS Transformer Prime TF201
clamor-s Mar 9, 2021
3140c87
ARM: tegra: Add device-tree for ASUS Transformer Pad TF300T
osctobe Mar 9, 2021
6231c6f
ARM: tegra: Add device-tree for ASUS Transformer Pad TF300TG
clamor-s May 7, 2021
141076a
ARM: tegra: Add device-tree for ASUS Transformer Infinity TF700T
clamor-s Jan 24, 2021
b60cedd
ARM: tegra: Add device-tree for Pegatron Chagall tablet
clamor-s Mar 9, 2021
d669d57
soc/tegra: Enable runtime PM during OPP state-syncing
digetx Oct 21, 2021
e115832
soc/tegra: Add devm_tegra_core_dev_init_opp_table_common()
digetx Jun 30, 2021
496aadc
soc/tegra: Don't print error message when OPPs not available
digetx Jun 30, 2021
065e825
dt-bindings: clock: tegra-car: Document new clock sub-nodes
digetx Dec 25, 2020
6a7ea4b
clk: tegra: Support runtime PM and power domain
digetx Nov 22, 2020
801510d
dt-bindings: host1x: Document OPP and power domain properties
digetx Nov 2, 2020
bab5fb6
dt-bindings: host1x: Document Memory Client resets of Host1x, GR2D an…
digetx Dec 20, 2020
f23779d
gpu: host1x: Add runtime PM and OPP support
digetx Nov 2, 2020
2d60fcb
gpu: host1x: Add host1x_channel_stop()
digetx Dec 2, 2020
620d479
drm/tegra: dc: Support OPP and SoC core voltage scaling
digetx Nov 1, 2020
f5679d8
drm/tegra: hdmi: Add OPP support
digetx Jun 30, 2021
85da053
drm/tegra: gr2d: Support generic power domain and runtime PM
digetx Nov 1, 2020
e00eea7
drm/tegra: gr3d: Support generic power domain and runtime PM
digetx Nov 1, 2020
91517cf
drm/tegra: vic: Support system suspend
digetx Dec 2, 2020
4eafdca
drm/tegra: nvdec: Support system suspend
digetx Oct 21, 2021
efe3a78
drm/tegra: submit: Remove pm_runtime_enabled() checks
digetx Oct 21, 2021
08a159f
drm/tegra: submit: Add missing pm_runtime_mark_last_busy()
digetx Oct 21, 2021
d3362a3
usb: chipidea: tegra: Add runtime PM and OPP support
digetx Jun 30, 2021
e44bbce
bus: tegra-gmi: Add runtime PM and OPP support
digetx Jun 30, 2021
764d728
pwm: tegra: Add runtime PM and OPP support
digetx Jun 30, 2021
79027ab
mmc: sdhci-tegra: Add runtime PM and OPP support
digetx Sep 12, 2021
9b670e7
mtd: rawnand: tegra: Add runtime PM and OPP support
digetx Jun 30, 2021
780f4ba
spi: tegra20-slink: Disable runtime PM synchronously
digetx Oct 13, 2021
5899011
spi: tegra210-quad: Disable runtime PM synchronously
digetx Oct 22, 2021
b5e7b25
spi: tegra20-slink: Add OPP support
digetx Jun 30, 2021
137c72a
media: dt: bindings: tegra-vde: Convert to schema
digetx Nov 2, 2020
e4ddbab
media: dt: bindings: tegra-vde: Document OPP and power domain
digetx Apr 5, 2021
c868905
media: staging: tegra-vde: Support generic power domain
digetx Nov 2, 2020
c43d1b8
soc/tegra: fuse: Reset hardware
digetx Aug 13, 2021
491a0a2
soc/tegra: fuse: Use resource-managed helpers
digetx Aug 14, 2021
3e2f0fc
soc/tegra: regulators: Prepare for suspend
digetx Jul 27, 2021
c36f68e
soc/tegra: pmc: Rename 3d power domains
digetx Sep 19, 2021
fb89013
soc/tegra: pmc: Rename core power domain
digetx Aug 19, 2021
de6a574
soc/tegra: pmc: Enable core domain support for Tegra20 and Tegra30
digetx Jun 30, 2021
8d40f2f
ARM: tegra: Rename CPU and EMC OPP table device-tree nodes
digetx Oct 16, 2021
4e26bfd
ARM: tegra: Add 500MHz entry to memory OPP table
digetx Oct 23, 2021
d88ad47
ARM: tegra: Add OPP tables and power domains to Tegra20 device-trees
digetx Nov 23, 2020
810089f
ARM: tegra: Add OPP tables and power domains to Tegra30 device-trees
digetx Nov 23, 2020
106ee44
ARM: tegra: Add Memory Client resets to Tegra20 GR2D, GR3D and Host1x
digetx Feb 20, 2018
abdac57
ARM: tegra: Add Memory Client resets to Tegra30 GR2D, GR3D and Host1x
digetx Feb 20, 2018
099216a
ARM: tegra20/30: Disable unused host1x hardware
digetx Jul 26, 2021
ef09011
iommu/tegra-smmu: Change debugfs directory name
digetx Apr 6, 2021
6925eaa
iommu/tegra-smmu: Defer attachment of display clients
digetx Mar 26, 2021
d01ba4f
iommu/tegra-smmu: Revert workaround that was needed for Nyan Big Chro…
digetx Mar 26, 2021
b6b5af2
gpu: host1x: Add back arm_iommu_detach_device()
digetx Mar 28, 2021
c312176
drm/tegra: Add back arm_iommu_detach_device()
digetx Mar 28, 2021
5cdc328
drm/tegra: plane: Accept all format-modifiers
digetx Aug 18, 2018
d56c343
PM / devfreq: tegra30: Use tracepoints for debugging
digetx Jun 26, 2019
547b0a7
memory: tegra: Block DMA for clients HW on a faulty memory access
digetx May 8, 2018
df3f3bc
ARM: dts: tegra20: Add IOMMU nodes to Host1x clients
digetx May 6, 2018
e6ede15
xxx: mmc: core: Add quirk for NVIDIA Tegra20 EMMC
digetx Oct 6, 2015
4eebebc
Revert "xxx: mmc: core: Add quirk for NVIDIA Tegra20 EMMC"
digetx Nov 24, 2019
78f5ca5
xxx: iommu: tegra-gart: Expose as system-wide IOMMU
digetx Dec 14, 2019
4216c03
xxx: staging: android: Add legacy ram-console
digetx Oct 4, 2018
f330f10
mmc: Support non-standard gpt_sector cmdline parameter
digetx Jul 22, 2021
3b4b2ce
partitions: Support NVIDIA Tegra Partition Table
digetx Jul 22, 2021
6f3c8a7
soc/tegra: Expose Boot Configuration Table via sysfs
digetx May 14, 2020
b32c687
xxx: partitions/tegra: Enable debug by default
digetx Jul 5, 2020
4a4074c
ARM: tegra_defconfig: Enable CONFIG_ARM_APPENDED_DTB
digetx Mar 30, 2020
cb07db4
PCI: disable nv_msi_ht_cap_quirk_leaf quirk on arm/arm64
kwizart Sep 14, 2018
27fda54
drm/tegra: dc: Add legacy BO tiling compatibility
digetx May 5, 2020
ad9e2b8
XXX: drm: Add generic colorkey properties for display planes
May 25, 2018
c34f1cb
WIP: drm/grate: Add Host1x and DRM drivers with experimental changes
digetx Dec 20, 2020
4e83b67
ARM: dts: qcom: apq8064-nexus7: Add SMB345 battery charger
okias Oct 17, 2016
ae04974
ASoC: dt-bindings: tegra: Add binding for RT5631
clamor-s Jan 26, 2021
e528307
ASoC: tegra: Support RT5631 by machine driver
clamor-s Jan 25, 2021
5f0a976
drm/tegra: rgb: Hacks for S6E63M0
cerg2010cerg2010 Jan 26, 2019
f3dbdde
drm/tegra: Temporary pixel format fix for i927
cerg2010cerg2010 Jun 14, 2021
d7b3dd0
drm/panel: s6e63m0: disable rotation
cerg2010cerg2010 Feb 9, 2019
2189ec9
drm/panel: s6e63m0: Increase back porch
cerg2010cerg2010 Feb 9, 2019
4b22a34
drm/panel: s6e63m0: Workaround screen corruption on boot
cerg2010cerg2010 Jul 14, 2019
fbc01ed
XXX: WIP: leds: Add led class support isa1200 vibration motor
Decatf Oct 31, 2017
e34c2a3
dt-bindings: input: Add binding for Imagis ISA1200 Haptic Driver
okias Sep 12, 2021
11ae802
Input: stmpe-keypad - add STMPE1801 support
cerg2010cerg2010 Jan 26, 2019
b267bd9
dt-bindings: input: Add binding for MELFAS MCS touchscreens
okias Sep 12, 2021
72b6b75
Input: mcs_touchkey: Support device tree
Aug 12, 2013
671f52b
input: keyboard: mcs_touchkey:Convert to devm_* managed functions
Oct 13, 2014
f41334f
input: keyboard: mcs_touchkey: LED support
Nov 15, 2010
33ad6e3
ASoC: tegra: Add driver for WM8994
Decatf Apr 21, 2018
bc91524
power: supply: Add regulator to max8903 charger for VBUS control
cerg2010cerg2010 Jun 20, 2019
408b7dc
ARM: tegra: Add device-tree for tegra20-glide Samsung SGH-I927
cerg2010cerg2010 Jan 26, 2019
f1757ac
WIP: dt-bindings: ARM: tegra: Document Samsung I927 Captivate Glide
okias Sep 11, 2021
09d7ea2
soc/tegra: fuse: Drop Kconfig dependency on TEGRA20_APB_DMA
digetx Sep 19, 2020
8f91c5e
PM / devfreq: tegra30: Tune up Tegra124 configuration
digetx Nov 15, 2020
b7256c8
XXX: Add downstream pinmux debug info
digetx Apr 24, 2019
3e9673c
cpufreq: tegra20: Improve performance during frequency transition
digetx Dec 24, 2020
887686b
Revert "cpufreq: tegra20: Improve performance during frequency transi…
digetx Jan 8, 2021
b066929
WIP: ARM: tegra: Add stub for core regulator of power management cont…
digetx Mar 30, 2021
4bba24d
XXX: WIP: drm: Universal display rotation on Nexus 7
digetx Jun 13, 2020
87837fd
drm/tegra: dsi: Assert hardware reset on power-up
digetx Jan 27, 2021
340444f
soc/tegra: fuse: Print out CPU, GPU and SoC Speedo IDs
digetx Jan 23, 2021
bbf5d33
dt-bindings: i2c: Add binding for i2c-hotplug-gpio
clamor-s Jun 5, 2021
4abfb74
i2c: Add GPIO-based hotplug gate
osctobe Sep 3, 2017
1a8d19c
dt-bindings: mfd: Add Asus Transformer Embedded Controller binding
clamor-s Jun 5, 2021
679a7e0
dt-bindings: misc: Add DT schema for asus-dockram
clamor-s Aug 9, 2021
0a0016c
misc: Support Asus Transformer EC access device
osctobe Dec 7, 2019
6e3437a
mfd: Add driver for Asus Transformer embedded controller
osctobe Dec 7, 2019
966ce41
input: Add driver for Asus Transformer dock keyboard and touchpad
osctobe Dec 7, 2019
240a9a0
input: Add driver for Asus Transformer dock multimedia keys
osctobe Dec 7, 2019
97b7527
leds: Add driver for Asus Transformer LEDs
osctobe Oct 4, 2017
4e2c5a4
power/supply: Add driver for Asus Transformer battery
osctobe Oct 4, 2017
e9e9a74
power/supply: Add charger driver for Asus Transformer Dock
clamor-s Jun 23, 2021
e8d5c9d
WIP: ARM: tegra: transformers: Add embedded controller
digetx Sep 29, 2021
6dd17dd
WIP: ARM: tegra: transformers: Add RT5631 sound
digetx Sep 29, 2021
8739497
dt-bindings: mfd: Add binding for Cypress CG7153AM Embedded Controller
clamor-s Aug 7, 2021
d4ae584
power/supply: Add driver for Pegatron Chagall battery
clamor-s Jul 13, 2021
4cf4cfd
WIP: ARM: tegra: chagall: Add embedded controller
digetx Sep 29, 2021
4d12ddc
HACK: drm: panel: simple: Disable non-continuous mode for vvx10f004b00
digetx Apr 19, 2021
57d53d7
Revert "HACK: drm: panel: simple: Disable non-continuous mode for vvx…
digetx Sep 30, 2021
e285dc5
WIP: extcon: p4wifi: Add p4wifi USB connector driver
Decatf Apr 21, 2018
c107b2a
WIP: drm: panel: Add CMC6230R LCD driver
Decatf Oct 22, 2018
dc2ccd1
WIP: staging: Add p4wifi directory
Decatf Apr 1, 2018
c5df75a
WIP: staging: p4wifi: Add sec_jack driver
Decatf Apr 1, 2018
35a0d15
WIP: staging: p4wifi: Add misc p4wifi init functions
Decatf Aug 28, 2018
9958e7a
WIP: staging: p4wifi: Convert to platform driver
digetx Mar 10, 2021
3817bc3
WIP: HACK: tps6586x: Disable Charger LDO mode, Dynamic Timer Function…
Decatf Apr 16, 2018
8423794
iio: ak8975: Add AK8975C device id
Decatf Sep 8, 2018
51f8105
WIP: ARM: tegra: Add device-tree for Samsung Galaxy Tab 10.1
Decatf May 26, 2018
0dff649
WIP: dt-bindings: ARM: tegra: Document Samsung Galaxy Tab 10.1
okias Sep 10, 2021
d2d503b
WIP: Add defconfig for Samsung Galaxy Tab 10.1
gaudeo May 7, 2020
1980c15
ARM: dts: elpida_ecb240abacn: Change Elpida compatible
digetx Oct 6, 2021
827c7b7
WIP: ARM: tegra: asus-tf101: Add embedded controller node
digetx Oct 22, 2021
d2ca155
ARM: tegra: paz00: Add emc-tables for ram-code 1
kwizart Mar 18, 2021
c49c94d
WIP: ARM: tegra: Add device-tree for Lenovo IdeaTab A2109A
KaiJan57 Apr 8, 2021
a5b0e53
WIP: dt-bindings: ARM: tegra: Document Lenovo IdeaTab A2109A
okias Sep 12, 2021
22142af
brcmfmac: Work around potential firmware crash on BCM4329
digetx May 26, 2021
4a773ee
XXX: usb: phy: tegra: Ensure that clock is disabled on suspend
digetx Dec 16, 2020
874ec34
memory: tegra: Don't error out DMA flushing
digetx Jun 30, 2021
db980f4
dt-bindigs: display: extend the LVDS codec with Triple 10-BIT LVDS Tr…
okias Sep 18, 2021
bac6270
WIP: Add ACPI Parking Protocol for ARM32 devices
LeanderGlanda Feb 21, 2021
50d8d85
ARM: tegra30: Add phandles for controller nodes
osctobe Nov 10, 2018
e63dc4d
WIP: ARM: tegra: Add initial device-tree for Microsoft Surface RT
jonasschwoebel Jul 2, 2021
e252476
WIP: ARM: tegra: Add device-tree for EFI booting Surface RT
jenneron Jul 2, 2021
9ce8abd
WIP: ARM: tegra: surface-rt: Battery and Charger support
jonasschwoebel Aug 9, 2021
9242f20
WIP: ARM: tegra: surface-rt: Add sound support
jonasschwoebel Sep 9, 2021
17ea56b
HID: microsoft: fix tCover 2nd gen
jonasschwoebel Oct 6, 2021
3ad9d9c
WIP: dt-bindings: ARM: tegra: Document Microsoft Surface RT
okias Sep 11, 2021
a684f0a
ARM: tegra: Add device-tree for Tegra20 QEMU
digetx Aug 12, 2018
f8c2b03
dt-bindings: ARM: tegra: Document Tegra20 QEMU
okias Sep 11, 2021
3ae845c
CI: github: deploy
okias Jul 9, 2021
e27f5ee
ARM: tegra_defconfig: Enable options needed by WIP devices
digetx Jul 14, 2021
9ff1899
ARM: grate_defconfig: Add defconfig
jenneron Aug 5, 2021
d371fcb
ARM: pmos.config: Add defconfig
jenneron Aug 5, 2021
2c3892e
thermal/core: Export thermal_cooling_device_stats_update()
digetx Apr 13, 2021
6e0f62d
WIP: thermal/drivers/tegra30: Support CPU DIV2 frequency throttling
digetx Jun 15, 2021
6cd8af5
i2c: tegra: Ensure that device is suspended before driver is removed
digetx Oct 12, 2021
7a4c81c
dt-bindings: opp: Allow multi-worded OPP entry name
digetx Oct 17, 2021
65bd632
regulator: Don't error out fixed regulator in regulator_sync_voltage()
digetx Oct 17, 2021
92fa568
ARM: tegra: nexus7: Drop clock-frequency from NFC node
okias Oct 17, 2021
40964ac
usb: xhci: tegra: Check padctrl interrupt presence in device tree
digetx Oct 20, 2021
1b39b3f
clk: tegra: Make vde a child of pll_p on tegra114
digetx Oct 23, 2021
ead9b64
media: staging: tegra-vde: Support reference picture marking
thierryreding Apr 20, 2018
0aa8aae
media: staging: tegra-vde: Properly mark invalid entries
thierryreding Apr 20, 2018
452725e
media: staging: tegra-vde: Reorder misc device registration
digetx Oct 22, 2021
8c5f091
dt-bindings: sharp,lq101r1sx01: Add compatible for LQ101R1SX03
jenneron Oct 22, 2021
a4b761a
drm/panel: sharp: lq101r1sx01: Support LQ101R1SX03
jenneron Oct 22, 2021
b7e660a
dt-bindings: ARM: tegra: Document Asus Transformer Pad TF701T
jenneron Oct 22, 2021
4795469
ARM: tegra: Add more labels to tegra114.dtsi
jenneron Oct 22, 2021
14dec0c
ARM: tegra: Add device-tree for Asus Transformer Pad TF701T
jenneron Oct 22, 2021
e48ecb2
ARM: tegra: Enable video decoder on Tegra114
jenneron Oct 22, 2021
6378636
fixup! ARM: tegra: Add device-tree for tegra20-glide Samsung SGH-I927
okias Oct 22, 2021
75039fb
fixup! WIP: ARM: tegra: Add device-tree for Samsung Galaxy Tab 10.1
okias Oct 22, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
72 changes: 72 additions & 0 deletions .github/workflows/QA.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# SPDX-License-Identifier: GPL-2.0-or-later
name: Quality assurance
on: [pull_request]
jobs:
checkpatch:
name: checkpatch
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 150
- name: Run checkpatch review
uses: webispy/checkpatch-action@master
env:
CHECKPATCH_COMMAND: checkpatch.pl --no-tree --strict

yamllint:
name: yamllint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 150
- name: Install yamllint
run: |
sudo apt-get -qq update > /dev/null
sudo apt-get -qq install python3-pip > /dev/null
pip install yamllint

- id: files
uses: jitterbit/get-changed-files@v1
- name: Run yamllint review
run: |
YAMLS="${{ steps.files.outputs.added_modified }}"
touch out.txt
for item in ${YAMLS}; do
if [[ "${item}" != **/*yaml ]]; then
continue
fi
yamllint -d "{rules: {line-length: {level: warning, max: 100}}}" \
-f github ${item}
yamllint -d "{rules: {line-length: {level: warning, max: 100}}}" \
-f standard ${item} >> out.txt
done
cat out.txt

dt-doc-validate:
name: dt-doc-validate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 150
- name: Install dt-schema
run: |
sudo apt-get -qq update > /dev/null
sudo apt-get -qq install python3-pip > /dev/null
pip install git+https://github.com/devicetree-org/dt-schema.git@master

- id: files
uses: jitterbit/get-changed-files@v1
- name: Run dt-doc-validate review
run: |
YAMLS="${{ steps.files.outputs.added_modified }}"
for item in ${YAMLS}; do
if [[ "${item}" != **/*yaml ]]; then
continue
fi
# remove warning about URL
dt-doc-validate "${item}" #2>&1 | grep -v \
#"\$id: relative path/filename doesn't match actual path or filename\|expected:.*yaml#"
done
156 changes: 156 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
# SPDX-License-Identifier: GPL-2.0-or-later
name: Build

env:
KERNEL_NAME: grate
KBUILD_DEFCONFIG: tegra_defconfig
CROSS_COMPILE: arm-linux-gnueabihf- # build for armv7
ARCH_SPEC_PKGS: crossbuild-essential-armhf
ARCH: arm # build for armv7
SCCACHE_CACHE_SIZE: 2G
SCCACHE_DIR: /home/runner/.cache/sccache
BUILD_PATH: /home/runner/.cache/tuxmake/builds/1

on:
push:
pull_request:
workflow_dispatch:

jobs:
build:
strategy:
fail-fast: false
matrix:
config: ['tegra_defconfig', 'grate_defconfig']
option: ['default'] # , 'thumb2'] # FIXME after action-automatic-releases gets fixed https://github.com/marvinpinto/actions/issues/19
cc: [gcc, clang]
include:
- config: 'tegra_defconfig'
additional_params: ''
- config: 'grate_defconfig'
additional_params: '-K pmos.config'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install sccache
env:
LINK: https://github.com/mozilla/sccache/releases/download
SCCACHE_VERSION: 0.2.15
run: |
export SCCACHE_FILE=sccache-v$SCCACHE_VERSION-x86_64-unknown-linux-musl
mkdir -p $HOME/.local/bin
curl -L "$LINK/v$SCCACHE_VERSION/$SCCACHE_FILE.tar.gz" | tar xz
mv -f $SCCACHE_FILE/sccache $HOME/.local/bin/sccache
chmod +x $HOME/.local/bin/sccache
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Enable cache
uses: actions/cache@v2
continue-on-error: false
with:
path: ${{ env.SCCACHE_DIR }}
key: ${{ env.KERNEL_NAME }}-${{ matrix.config }}-${{ matrix.option }}-${{ matrix.cc }}
- name: Start sccache server
run: sccache --start-server
- name: Install dependencies
run: |
sudo apt-get -qq update > /dev/null
sudo apt-get -qq install -y --no-install-recommends -o=Dpkg::Use-Pty=0 ${{ env.ARCH_SPEC_PKGS }} git build-essential binutils-multiarch device-tree-compiler fakeroot libncurses5-dev libssl-dev bison flex libelf-dev dwarves python3-pip socat > /dev/null
pip3 install -U --user tuxmake
- name: Build
run: |
if [ "${{ matrix.option }}" = "thumb2" ]; then
export TUXMAKE_KCONFIG_OPTS="-K CONFIG_THUMB2_KERNEL=y"
fi
tuxmake --directory ./ -w sccache --target-arch=arm -k ${{ matrix.config }} ${{ matrix.additional_params }} ${TUXMAKE_KCONFIG_OPTS} | sed "s|^/home/runner/work/linux/linux/|::error::|"
export ERRS=`grep "errors" "${BUILD_PATH}"/metadata.json | cut -d":" -f2 | tr -d " ,"`
export WARNS=`grep "warnings" "${BUILD_PATH}"/metadata.json | cut -d":" -f2 | tr -d " ,"`
RET=0
if [ "$ERRS" -gt 0 ]; then
echo "::error::Compilation failed due to $ERRS errors, please fix them."
RET=1
fi
if [ "$WARNS" -gt 0 ]; then
echo "::error::$WARNS warnings found, please fix them."
RET=1
fi
if [ $RET -eq 1 ]; then
exit 1
fi
mv /home/runner/.cache/tuxmake/builds/1/vmlinux.xz ./debug-vmlinux.xz
tar -cf linux-grate-${{ matrix.config }}-${{ matrix.cc }}.tar -C /home/runner/.cache/tuxmake/builds/1 .
- name: Stop sccache server
run: sccache --stop-server || true
- uses: "marvinpinto/action-automatic-releases@latest"
if: ${{!startsWith(github.ref, 'refs/pull')}}
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "${{ env.KERNEL_NAME }}-${{ matrix.config }}-${{ matrix.option }}-${{ matrix.cc }}"
prerelease: true
title: "Binary of ${{ matrix.config }} + ${{ matrix.option }} build with ${{ matrix.cc }}"
files: |
*.tar
*.xz
dtbs:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get -qq update > /dev/null
sudo apt-get -qq install -y --no-install-recommends -o=Dpkg::Use-Pty=0 ${{ env.ARCH_SPEC_PKGS }} libyaml-dev git build-essential binutils-multiarch device-tree-compiler fakeroot libncurses5-dev libssl-dev bison flex libelf-dev dwarves python3-pip socat > /dev/null
pip3 install -U --user git+https://github.com/devicetree-org/dt-schema.git@master
- name: Build
run: |
make grate_defconfig # verify against grate instead KBUILD_DEFCONFIG, since tegra builds lot of non-required stuff
status=0
make -j3 dtbs || echo "dtbs " > status
make -j3 dtbs_check 2> warn.log || echo "dtbs_check" > status

- name: Evaluate warnings
run: |
warn=$(wc -l warn.log| cut -f1 -d" ")
if [ "$warn" -gt "0" ]; then
cat warn.log
echo "::warning :: $warn warnings"
fi

- name: Evaluate critical warnings
run: |
grep -v "failed to match any schema with compatible:" warn.log > warn_crit.log || exit 0
warn_crit=$(wc -l warn_crit.log| cut -f1 -d" ")
if [ "$warn_crit" -gt "0" ]; then
cat warn_crit.log
echo "::warning :: $warn_crit critical warnings"
fi
exit 1
- name: Evaluate success
run: |
if [ -f status ]; then
echo ":: failed on: "
cat status
exit 1
fi

dt_bindings_check:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get -qq update > /dev/null
sudo apt-get -qq install -y --no-install-recommends -o=Dpkg::Use-Pty=0 ${{ env.ARCH_SPEC_PKGS }} libyaml-dev git build-essential binutils-multiarch device-tree-compiler fakeroot libncurses5-dev libssl-dev bison flex libelf-dev dwarves python3-pip socat > /dev/null
pip3 install -U --user git+https://github.com/devicetree-org/dt-schema.git@master
- name: Build
run: |
make -j8 dt_binding_check 2> >(tee warn.log >&2) > /dev/null
- name: Evaluate warnings
run: |
warn=$(wc -l warn.log| cut -f1 -d" ")
if [ "$warn" -gt "0" ]; then
cat warn.log
echo "::warning :: $warn warnings"
fi
35 changes: 35 additions & 0 deletions Documentation/devicetree/bindings/arm/tegra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ properties:
- enum:
- compal,paz00
- compulab,trimslice
- grate,qemu
- nvidia,harmony
- nvidia,seaboard
- nvidia,ventana
Expand All @@ -36,9 +37,18 @@ properties:
- toradex,colibri_t20-iris
- const: toradex,colibri_t20
- const: nvidia,tegra20
- items:
- const: asus,tf101
- const: nvidia,tegra20
- items:
- const: acer,picasso
- const: nvidia,tegra20
- items:
- const: samsung,i927
- const: nvidia,tegra20
- items:
- const: samsung,p4wifi
- const: nvidia,tegra20
- items:
- enum:
- nvidia,beaver
Expand All @@ -49,6 +59,17 @@ properties:
- nvidia,cardhu-a04
- const: nvidia,cardhu
- const: nvidia,tegra30
- items:
- const: asus,tf201
- const: nvidia,tegra30
- items:
- enum:
- asus,tf300t
- asus,tf300tg
- const: nvidia,tegra30
- items:
- const: asus,tf700t
- const: nvidia,tegra30
- items:
- const: toradex,apalis_t30-eval
- const: toradex,apalis_t30
Expand All @@ -71,11 +92,25 @@ properties:
- const: asus,tilapia
- const: asus,grouper
- const: nvidia,tegra30
- items:
- const: lenovo,cl2n
- const: nvidia,tegra30
- items:
- const: microsoft,surface-rt
- const: nvidia,tegra30
- items:
- const: microsoft,surface-rt-efi
- const: microsoft,surface-rt
- const: nvidia,tegra30
- items:
- const: ouya,ouya
- const: nvidia,tegra30
- items:
- const: pegatron,chagall
- const: nvidia,tegra30
- items:
- enum:
- asus,tf701t
- nvidia,dalmore
- nvidia,roth
- nvidia,tn7
Expand Down
37 changes: 37 additions & 0 deletions Documentation/devicetree/bindings/clock/nvidia,tegra20-car.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,36 @@ properties:
"#reset-cells":
const: 1

patternProperties:
"^(sclk)|(pll-[cem])$":
type: object
properties:
compatible:
enum:
- nvidia,tegra20-sclk
- nvidia,tegra30-sclk
- nvidia,tegra30-pllc
- nvidia,tegra30-plle
- nvidia,tegra30-pllm

operating-points-v2: true

clocks:
items:
- description: node's clock

power-domains:
maxItems: 1
description: phandle to the core SoC power domain

required:
- compatible
- operating-points-v2
- clocks
- power-domains

additionalProperties: false

required:
- compatible
- reg
Expand All @@ -59,6 +89,13 @@ examples:
reg = <0x60006000 0x1000>;
#clock-cells = <1>;
#reset-cells = <1>;

sclk {
compatible = "nvidia,tegra20-sclk";
operating-points-v2 = <&opp_table>;
clocks = <&tegra_car TEGRA20_CLK_SCLK>;
power-domains = <&domain>;
};
};

usb-controller@c5004000 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ properties:
oneOf:
- items:
- enum:
- idt,v103 # For the Triple 10-BIT LVDS Transmitter
- ti,ds90c185 # For the TI DS90C185 FPD-Link Serializer
- ti,ds90c187 # For the TI DS90C187 FPD-Link Serializer
- ti,sn75lvds83 # For the TI SN75LVDS83 FlatLink transmitter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ properties:
- giantplus,gpm940b0
# HannStar Display Corp. HSD070PWW1 7.0" WXGA TFT LCD panel
- hannstar,hsd070pww1
# HannStar Display Corp. HSD101PWW2 10.1" WXGA (1280x800) LVDS panel
- hannstar,hsd101pww2
# HannStar Display Corp. HSD100PXN1 10.1" XGA LVDS panel
- hannstar,hsd100pxn1
# Hitachi Ltd. Corporation 9" WVGA (800x480) TFT LCD panel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ allOf:

properties:
compatible:
const: sharp,lq101r1sx01
enum:
- sharp,lq101r1sx01
- sharp,lq101r1sx03

reg: true
power-supply: true
Expand Down
Loading