pub/scm/linux/kernel/git/tomba/linux-dt.git  about / heads / tags
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux-dt.git/
$ git log --pretty=format:'%h %s (%cs)%d'
a1a1390 system_test: recipe: Fix the device tree overlay recipe tag (2021-01-21)
	(HEAD -> master)
c8d6289 Merge pull request #19 in LCPDPUB/ti-upstream-tools from ~A0272616/ti-upstream-tools:5_10_updates to master (2020-11-18)
0fafaf7 configs: arm: Add additional flags to prune file (2020-11-17)
d3eb50f configs: arm64: Add additional ARCH flags to prune file (2020-11-17)
67384b1 Merge pull request #18 in LCPDPUB/ti-upstream-tools from ~A0875516/ti-upstream-tools:uart to master (2020-10-15)
f8f69ec ARM: dts: am33xx: beaglebone: Enable UART1 (2020-10-15)
f8073e6 system_test: Add build label as an argument for naming modules (2020-10-13)
3f36f66 Merge pull request #17 in LCPDPUB/ti-upstream-tools from ~A0132425/ti-upstream-tools:dev to master (2020-10-07)
5107699 arm64: dts: ti: k3-am654-idk: Add GPIO decoder node (2020-10-07)
1d62c1c Update system_test/system_test_recipe (2020-10-05)
...

$ git cat-file blob HEAD:README.md
# Upstream DT Overlays and TI kernel config fragments

This is a repository for DT overlays and TI kernel config fragments.

## Branches

`master` branch is the development branch and works with Linus' upstream `master` branch.

When Linus tags a new kernel version, a branch will be created for that kernel version, e.g. `linux-5.7.y`. If stable releases for that kernel version will cause breakage with DT or configs, which is unlikely but possible, the patches can be added to `linux-5.7.y` to make it work with latest stable of that version.

`ti-linux-x.y.z` branch is the development branch that works with the TI productized `ti-linux-x.y.z` kernel branch. When the kernel ti-linux branch is tagged this repo and branch will be tagged with the corresponding tag.

Patches to the overlays should always be submitted to the `master` branch and if applicable back ported to the `ti-linux-x.y.z` branch. Only patches that are applicable to the `ti-linux-x.y.z` features should be submitted to that branch.

## DT Overlays

The makefile does two things:

- Compiles a pre-defined set of dts files with symbols enabled, taken from the kernel source tree
- Compiles DT overlays in this repository

Linux directory can be given with `LINUX=dir`. If LINUX is undefined, Makefile will look for Linux directory from the current dir or `<projectdir>/../linux/`

dtc compiler will be taken from `$LINUX/scripts/dtc/dtc` but can be overridden with DTC variable. Note that if you use dtc from the kernel directory, you need to have built it first (e.g. `make dtbs` in kernel).

Output path can be given the same way as when building the kernel, with `O=dir`

ARCH variable can be used to build a single arch instead of all, e.g. `ARCH=arm64`

## Testing DT Overlays

The Makefile has `test` target which applies overlays to base dtb using `fdtapply` and reports if the apply succeeded. The Makefile has a list of base-dts + overlay-dtbos to define how to apply the overlays.

This provides an easy way to test if overlays apply correctly. When adding new overlays, also add new test targets to the Makefile.

## Config fragments

config directory contains defconfig_builder.sh. The Linux directory can be given with -k option. If Linux directory is not given, the script will look for Linux directory from the current dir or `<projectdir>/../linux/`

## Example developer workflow

Linux sources in ~/work/linux and this project in ~/work/linux-dt

```
$ cd ~/work/linux
$ ../linux-dt/config/defconfig_builder.sh
(select a defconfig)
$ make ti_sdk_dra7x_debug_defconfig
$ make
$ make -C ../linux-dt

The symbol-enabled dtbs and dtbos are now under ~/work/linux-dt/arch/...
```

# heads (aka `branches'):
$ git for-each-ref --sort=-creatordate refs/heads \
	--format='%(HEAD) %(refname:short) %(subject) (%(creatordate:short))'
  fpd-hacks    Add J7 OV5640 overlay (2023-04-04)
  multistream-v9 Add AM654x EVM FPDLink overlay (2021-10-06)
  multistream-milestone-3.1 Add AM654x EVM FPDLink overlay (2021-06-03)
  multistream-milestone-3 arm64: dts: ti: k3-am654-evm-hdmi: Comply with upstream DT bindings (2021-04-30)
  multistream/work Add AM654x EVM FPDLink overlay (2021-04-21)
  fpdlink-20210222 AM6: split fpdlink cameras to separate files (2021-02-19)
  multistream-milestone-2 AM6: split fpdlink cameras to separate files (2021-02-19)
* master       system_test: recipe: Fix the device tree overlay recipe tag (2021-01-21)

# tags:
$ git for-each-ref --sort=-creatordate refs/tags \
	--format='%(refname:short) %(subject) (%(creatordate:short))'
# no tags, yet...

# associated public inboxes:
# (number on the left is used for dev purposes)
          4 lkml
          4 linux-devicetree
          2 qemu-devel
          2 netdev
          2 linux-arm-kernel
          2 linux-rdma
          2 linuxppc-dev
          2 kvm
          2 linux-kbuild
          2 lustre-devel
          2 soc
          1 linux-samsung-soc
          1 linux-fscrypt
          1 linux-wireless
          1 linux-mtd
          1 cocci
          1 linux-block
          1 linux-riscv
          1 linux-nvme
          1 linux-xfs
          1 live-patching
          1 bpf
          1 linux-nfs
          1 linux-mediatek
          1 linux-crypto
          1 linux-efi
          1 linux-acpi
          1 netfilter-devel
          1 linux-integrity
          1 linux-fsdevel
          1 linux-edac
          1 linux-cifs
          1 linux-arm-msm
          1 linux-amlogic
          1 linux-erofs
          1 linux-mm
          1 linux-nvdimm
          1 linux-iommu
          1 linux-media
          1 xen-devel
          1 stable
          1 linux-snps-arc
          1 linux-mips
          1 fstests
          1 linux-pm
          1 linux-hwmon
          1 linux-rtc
          1 linux-input
          1 alsa-devel
          1 linux-scsi
          1 linux-btrfs
          1 kvmarm
          1 driverdev-devel
          1 linux-usb
          1 linux-renesas-soc
          1 linux-kselftest
          1 selinux
          1 kernel-hardening
          1 linux-clk
          1 linux-iio
          1 linux-gpio
          1 dmaengine
          1 linux-next
          1 linux-parisc
          1 linux-ext4
          1 dpdk-dev
          1 linux-leds
          1 linux-security-module
          1 linux-pci
          1 linux-f2fs-devel
          1 linux-modules
          1 kernelnewbies
          1 linux-rt-users
          1 linux-bluetooth
          1 linux-sgx
          1 linux-ide
          1 linux-serial
          1 linux-watchdog
          1 linux-trace-devel
          1 linux-hyperv
          1 workflows
          1 rcu
          1 linux-m68k
          1 linux-i3c
          1 util-linux
          1 linux-spdx
          1 linux-wpan
          1 ksummit-discuss
          1 wireguard
          1 backports
          1 io-uring
          1 linux-kernel-mentees
          1 linux-doc
          1 git
          1 linux-csky
          1 linux-man
          1 linux-mmc
          1 amd-gfx
          1 dri-devel
          1 intel-gfx
          1 tpmdd-devel
          1 linux-unionfs
          1 linux-firmware
          1 linux-api
          1 cip-dev
          1 linux-omap
          1 linux-audit
          1 linux-spi
          1 linux-i2c
          1 linux-remoteproc
          1 linux-dash
          1 linux-bcache
          1 linux-sparse
          1 mm-commits
          1 linux-pwm
          1 linux-tegra
          1 lttng-dev
          1 virtualization
          1 linux-fpga
          1 ceph-devel
          1 linux-arch
          1 linux-can
          1 containers
          1 linux-rockchip
          1 linux-raid
          1 xdp-newbies
          1 platform-driver-x86
          1 phone-devel
          1 openbmc
          1 linux-hardening
          1 dash
          1 dm-devel
          1 keyrings
          1 linux-fbdev
          1 linux-sctp
          1 linux-cxl
          1 linux-perf-users
          1 target-devel
          1 linux-sh
          1 ocfs2-devel
          1 rust-for-linux
          1 ath10k
          1 ath11k
          1 nouveau
          1 linux-phy
          1 linux-s390
          1 kernel-janitors
          1 sparclinux
          1 linux-staging
          1 linux-sunxi
          1 mptcp
          1 linux-coco
          1 regressions
          1 ksummit
          1 b43-dev
          1 nvdimm
          1 linux-nfc
          1 u-boot
          1 linux-bcachefs
          1 ath9k-devel
          1 buildroot
          1 ntfs3
          1 llvm
          1 fio
          1 iwd
          1 ell
          1 ofono
          1 ltp
          1 yocto
          1 yocto-meta-freescale
          1 openembedded-core
          1 yocto-toaster
          1 yocto-meta-arm
          1 yocto-docs
          1 openembedded-devel
          1 bitbake-devel
          1 linux-patches
          1 yocto-meta-virtualization
          1 chrome-platform
          1 ntb
          1 yocto-meta-ti
          1 yocto-meta-arago
          1 outreachy
          1 xenomai
          1 damon
          1 asahi
          1 openrisc
          1 intel-wired-lan
          1 kexec
          1 loongarch
          1 imx
          1 ath12k
          1 b4-sent
          1 linux-trace-kernel
          1 oe-linux-nfc
          1 oe-kbuild-all
          1 oe-chipsec
          1 batman
          1 intel-xe
          1 linux-um
          1 virtio-dev
          1 virtio-comment
          1 v9fs
          1 ecryptfs
          1 poky
          1 qemu-riscv
          1 linux-ia64
          1 cluster-devel
          1 grub-devel
          1 kbd
          1 autofs
          1 cpufreq
          1 dccp
          1 cgroups
          1 devicetree-spec
          1 devicetree-compiler
          1 initramfs
          1 kvm-ppc
          1 hail-devel
          1 kvm-ia64
          1 linux-8086
          1 kernel-testers
          1 linux-alpha
          1 linux-btrace
          1 linux-embedded
          1 linux-hams
          1 linux-hexagon
          1 linux-hotplug
          1 linux-laptop
          1 linux-sound
          1 trinity
          1 reiserfs-devel
          1 linux-metag
          1 linux-x25
          1 linux-nilfs
          1 lvs-devel
          1 netfilter
          1 linux-oxnas
          1 u-boot-amlogic
          1 lm-sensors
          1 lvm-devel
          1 acpica-devel
          1 perfbook
          1 virtio-fs
          1 smatch
          1 ../../../../../../../fuego
          1 ../../../../../../../wireless-regdb
          1 ../../../../../../../igt-dev
          1 ../../../../../../../powertop

git clone https://yhbt.net/lore/pub/scm/linux/kernel/git/tomba/linux-dt.git