-
Notifications
You must be signed in to change notification settings - Fork 26
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
Upgrade to v5.14 and some fixes #2
Commits on Aug 8, 2021
-
RISC-V: Use SBI SRST extension when available
The SBI SRST extension provides a standard way to poweroff and reboot the system irrespective to whether Linux RISC-V S-mode is running natively (HS-mode) or inside Guest/VM (VS-mode). The SBI SRST extension is available in latest SBI v0.3-draft specification at: https://github.com/riscv/riscv-sbi-doc. This patch extends Linux RISC-V SBI implementation to detect and use SBI SRST extension. Signed-off-by: Anup Patel <[email protected]> Reviewed-by: Atish Patra <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fd555dc - Browse repository at this point
Copy the full SHA fd555dcView commit details -
RISC-V: Enable CPU_IDLE drivers
We force select CPU_PM and provide asm/cpuidle.h so that we can use CPU IDLE drivers for Linux RISC-V kernel. Signed-off-by: Anup Patel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a8f9da3 - Browse repository at this point
Copy the full SHA a8f9da3View commit details -
RISC-V: Rename relocate() and make it global
The low-level relocate() function enables mmu and relocates execution to link-time addresses. We rename relocate() function to relocate_enable_mmu() function which is more informative. Also, the relocate_enable_mmu() function will be used in the resume path when a CPU wakes-up from a non-retentive suspend so we make it global symbol. Signed-off-by: Anup Patel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7a44e45 - Browse repository at this point
Copy the full SHA 7a44e45View commit details -
RISC-V: Add arch functions for non-retentive suspend entry/exit
The hart registers and CSRs are not preserved in non-retentative suspend state so we provide arch specific helper functions which will save/restore hart context upon entry/exit to non-retentive suspend state. These helper functions can be used by cpuidle drivers for non-retentive suspend entry/exit. Signed-off-by: Anup Patel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e9b62bc - Browse repository at this point
Copy the full SHA e9b62bcView commit details -
RISC-V: Add SBI HSM suspend related defines
We add defines related to SBI HSM suspend call and also update HSM states naming as-per latest SBI specification. Signed-off-by: Anup Patel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7c99495 - Browse repository at this point
Copy the full SHA 7c99495View commit details -
cpuidle: Factor-out power domain related code from PSCI domain driver
The generic power domain related code in PSCI domain driver is largely independent of PSCI and can be shared with RISC-V SBI domain driver hence we factor-out this code into dt_idle_genpd.c and dt_idle_genpd.h. Signed-off-by: Anup Patel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e87de21 - Browse repository at this point
Copy the full SHA e87de21View commit details -
cpuidle: Add RISC-V SBI CPU idle driver
The RISC-V SBI HSM extension provides HSM suspend call which can be used by Linux RISC-V to enter platform specific low-power state. This patch adds a CPU idle driver based on RISC-V SBI calls which will populate idle states from device tree and use SBI calls to entry these idle states. Signed-off-by: Anup Patel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2aeeefb - Browse repository at this point
Copy the full SHA 2aeeefbView commit details -
cpuidle: sbi: Fix build with !CONFIG_SMP
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b3f391d - Browse repository at this point
Copy the full SHA b3f391dView commit details -
dt-bindings: Add common bindings for ARM and RISC-V idle states
The RISC-V CPU idle states will be described in under the /cpus/idle-states DT node in the same way as ARM CPU idle states. This patch adds common bindings documentation for both ARM and RISC-V idle states. Signed-off-by: Anup Patel <[email protected]> Reviewed-by: Rob Herring <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for afd096c - Browse repository at this point
Copy the full SHA afd096cView commit details -
RISC-V: Enable RISC-V SBI CPU Idle driver for QEMU virt machine
We enable RISC-V SBI CPU Idle driver for QEMU virt machine to test SBI HSM Supend on QEMU. Signed-off-by: Anup Patel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d0042e8 - Browse repository at this point
Copy the full SHA d0042e8View commit details -
riscv: Introduce CONFIG_RELOCATABLE
This config allows to compile 64b kernel as PIE and to relocate it at any virtual address at runtime: this paves the way to KASLR. Runtime relocation is possible since relocation metadata are embedded into the kernel. Note that relocating at runtime introduces an overhead even if the kernel is loaded at the same address it was linked at and that the compiler options are those used in arm64 which uses the same RELA relocation format. Signed-off-by: Alexandre Ghiti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 904f70f - Browse repository at this point
Copy the full SHA 904f70fView commit details -
powerpc: Move script to check relocations at compile time in scripts/
Relocating kernel at runtime is done very early in the boot process, so it is not convenient to check for relocations there and react in case a relocation was not expected. Powerpc architecture has a script that allows to check at compile time for such unexpected relocations: extract the common logic to scripts/ so that other architectures can take advantage of it. Signed-off-by: Alexandre Ghiti <[email protected]> Reviewed-by: Anup Patel <[email protected]> Acked-by: Michael Ellerman <[email protected]> (powerpc)
Configuration menu - View commit details
-
Copy full SHA for 57aadbd - Browse repository at this point
Copy the full SHA 57aadbdView commit details -
riscv: Check relocations at compile time
Relocating kernel at runtime is done very early in the boot process, so it is not convenient to check for relocations there and react in case a relocation was not expected. There exists a script in scripts/ that extracts the relocations from vmlinux that is then used at postlink to check the relocations. Signed-off-by: Alexandre Ghiti <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 37d4140 - Browse repository at this point
Copy the full SHA 37d4140View commit details -
riscv: pgtable: Fixup _PAGE_CHG_MASK usage
We should masks all attributes BITS first, and then using '>> _PAGE_PFN_SHIFT' to get the final PFN value. Adding '& _PAGE_CHG_MASK' makes the code semantics more accurate. Signed-off-by: Guo Ren <[email protected]> Signed-off-by: Liu Shaohua <[email protected]> Cc: Anup Patel <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Chen-Yu Tsai <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Drew Fustini <[email protected]> Cc: Maxime Ripard <[email protected]> Cc: Palmer Dabbelt <[email protected]> Cc: Wei Fu <[email protected]> Cc: Wei Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1197dbd - Browse repository at this point
Copy the full SHA 1197dbdView commit details -
riscv: pgtable: Add custom protection_map init
Some RISC-V CPU vendors have defined their own PTE attributes to solve non-coherent DMA bus problems. That makes _P/SXXX definitions contain global variables which could be initialized at the early boot stage before setup_vm. This patch is similar to 316d097 (x86/pti: Filter at vma->vm_page_prot population) which give a choice for arch custom implementation. Signed-off-by: Guo Ren <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Palmer Dabbelt <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 036c88f - Browse repository at this point
Copy the full SHA 036c88fView commit details -
riscv: pgtable: Add DMA_COHERENT with custom PTE attributes
The dma-noncoherent SOCs need different virtual memory mappings with different attributes: - noncached + Strong Order (for IO/DMA descriptor) - noncached + Weak Order (for writecombine usage, eg: frame buffer) All above base on PTE attributes by MMU hardware. That means address attributes are determined by PTE entry, not PMA. RISC-V soc vendors have defined their own custom PTE attributes for dma-noncoherency. Signed-off-by: Guo Ren <[email protected]> Signed-off-by: Liu Shaohua <[email protected]> Cc: Palmer Dabbelt <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Anup Patel <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Drew Fustini <[email protected]> Cc: Wei Fu <[email protected]> Cc: Wei Wu <[email protected]> Cc: Chen-Yu Tsai <[email protected]> Cc: Maxime Ripard <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b789c51 - Browse repository at this point
Copy the full SHA b789c51View commit details -
riscv: cmo: Add dma-noncoherency support
To support DMA device in a non-coherent interconnect SOC system, we need the below facilities: - Changing a virtual memory mapping region attributes from cacheable to noncache + strong order which used in DMA descriptors. - Add noncache + weakorder virtual memory attributes for dma mapping. - Syncing the cache with memory before DMA start and after DMA end with vendor custom CMO instructions. This patch enables linux kernel generic dma-noncoherency infrastructure and introduces new sbi_ecall API for dma_sync. @@ -27,6 +27,7 @@ enum sbi_ext_id { + SBI_EXT_DMA = 0xAB150401, Signed-off-by: Guo Ren <[email protected]> Signed-off-by: Liu Shaohua <[email protected]> Cc: Palmer Dabbelt <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Anup Patel <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Drew Fustini <[email protected]> Cc: Wei Fu <[email protected]> Cc: Wei Wu <[email protected]> Cc: Chen-Yu Tsai <[email protected]> Cc: Maxime Ripard <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 01a3fe9 - Browse repository at this point
Copy the full SHA 01a3fe9View commit details -
riscv: cmo: Add vendor custom icache sync
It's a draft version to show you how T-HEAD C9xx work with the icache sync (We use hardware broadcast mechanism, and our icache is VIPT): - icache.i(v/p)a will broadcast all harts' icache invalidtion - sync.is will broadcast all harts' pipeline flush and ensure all broadcasts finished. This patch could improve the performance of OpenJDK on JIT and reduce flush_icache_all in linux. Epecially: static inline void set_pte_at(struct mm_struct *mm, unsigned long addr, pte_t *ptep, pte_t pteval) { if (pte_present(pteval) && pte_exec(pteval)) flush_icache_pte(pteval); set_pte(ptep, pteval); } Different from sbi_dma_sync, it can't be hidden in SBI and we must set up a framework to hold all vendors' implementations in linux/arch/riscv. Signed-off-by: Guo Ren <[email protected]> Signed-off-by: Liu Shaohua <[email protected]> Cc: Anup Patel <[email protected]> Cc: Atish Patra <[email protected]> Cc: Palmer Dabbelt <[email protected]> Cc: Chen-Yu Tsai <[email protected]> Cc: Drew Fustini <[email protected]> Cc: Maxime Ripard <[email protected]> Cc: Palmer Dabbelt <[email protected]> Cc: Wei Fu <[email protected]> Cc: Wei Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0100aa7 - Browse repository at this point
Copy the full SHA 0100aa7View commit details -
[HACK] Enable T-HEAD MMU extensions unconditionally
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b3f6800 - Browse repository at this point
Copy the full SHA b3f6800View commit details -
riscv: cacheinfo: Remind myself to fix this
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d1e94c7 - Browse repository at this point
Copy the full SHA d1e94c7View commit details -
bus: sun50i-de2: Use devm_of_platform_populate
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c193219 - Browse repository at this point
Copy the full SHA c193219View commit details -
dt-bindings: clk: sunxi-ccu: Add compatibles for D1 CCUs
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 885ac1d - Browse repository at this point
Copy the full SHA 885ac1dView commit details -
clk: sunxi-ng: Add missing dependency for A83T CCU
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 21cd100 - Browse repository at this point
Copy the full SHA 21cd100View commit details -
clk: sunxi-ng: div: Add macros using CLK_HW_INIT_HWS
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4c39efc - Browse repository at this point
Copy the full SHA 4c39efcView commit details -
clk: sunxi-ng: Add macros for gates with fixed dividers
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4718a73 - Browse repository at this point
Copy the full SHA 4718a73View commit details -
clk: sunxi-ng: mux: Remove unused field
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9c03f58 - Browse repository at this point
Copy the full SHA 9c03f58View commit details -
clk: sunxi-ng: Allow muxes to have keys
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4bf6056 - Browse repository at this point
Copy the full SHA 4bf6056View commit details -
clk: sunxi-ng: Add support for newer sun50i RTCs
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9510ca9 - Browse repository at this point
Copy the full SHA 9510ca9View commit details -
clk: sunxi-ng: Add support for the D1 SoC clocks
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f4fea1b - Browse repository at this point
Copy the full SHA f4fea1bView commit details -
clocksource: riscv: Prefer it over MMIO clocksources
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d989270 - Browse repository at this point
Copy the full SHA d989270View commit details -
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cea41b6 - Browse repository at this point
Copy the full SHA cea41b6View commit details -
cpufreq: sun50i: add efuse_xlate to get efuse version.
It's better to use efuse_xlate to extract the differentiated part regarding different SoC. Signed-off-by: Shuosheng Huang <[email protected]> Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 195547d - Browse repository at this point
Copy the full SHA 195547dView commit details -
cpufreq: sun50i: add A100 cpufreq support
Add nvmem based cpufreq for Allwinner A100 SoC, which is similar to H6. Signed-off-by: Shuosheng Huang <[email protected]> Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 338d56d - Browse repository at this point
Copy the full SHA 338d56dView commit details -
cpufreq: sun50i: Move out of ARM-specific section
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a6ffa79 - Browse repository at this point
Copy the full SHA a6ffa79View commit details -
[STUB] cpufreq: sun50i: Add D1 cpufreq support
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 68d5f6c - Browse repository at this point
Copy the full SHA 68d5f6cView commit details -
crypto: sun8i-ce: add support for sun20i-d1
The Allwinner D1 SoC has a crypto engine compatible with sun8i-ce. Add support for it. Signed-off-by: Corentin Labbe <[email protected]> Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3cccee5 - Browse repository at this point
Copy the full SHA 3cccee5View commit details -
dt-bindings: dma: Add Allwinner D1 compatible
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7d6ba1d - Browse repository at this point
Copy the full SHA 7d6ba1dView commit details -
dmaengine: sun6i: Add support for 34-bit physical addresses
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1d8c2dd - Browse repository at this point
Copy the full SHA 1d8c2ddView commit details -
dmaengine: sun6i: Stop using virt_to_phys
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5d7149f - Browse repository at this point
Copy the full SHA 5d7149fView commit details -
dmaengine: sun6i: Changes from BSP
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2fbfb06 - Browse repository at this point
Copy the full SHA 2fbfb06View commit details -
dmaengine: sun6i: Add support for D1 DMA
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1a3ca84 - Browse repository at this point
Copy the full SHA 1a3ca84View commit details -
hwspinlock: sun6i: Update driver to match binding
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3a1011d - Browse repository at this point
Copy the full SHA 3a1011dView commit details -
hwspinlock: sun6i: Register layout is known
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fc70767 - Browse repository at this point
Copy the full SHA fc70767View commit details -
hwspinlock: sun6i: Fix debugfs leak
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d06bc35 - Browse repository at this point
Copy the full SHA d06bc35View commit details -
dt-bindings: input: Add D1 support to LRADC keys
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c1acad0 - Browse repository at this point
Copy the full SHA c1acad0View commit details -
Input: sun4i-lradc-keys: Add clock/reset support for D1
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aeddd11 - Browse repository at this point
Copy the full SHA aeddd11View commit details -
Input: sun4i-lradc-keys: Add support for D1
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5806ca1 - Browse repository at this point
Copy the full SHA 5806ca1View commit details -
dt-bindings: iommu: Add compatible for D1 IOMMU
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5da41e9 - Browse repository at this point
Copy the full SHA 5da41e9View commit details -
[WIP] iommu/sun50i: Add support for D1 IOMMU
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d796e5f - Browse repository at this point
Copy the full SHA d796e5fView commit details -
irqchip/sun20i: Add an Allwinner D1 stacked driver
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6038cb9 - Browse repository at this point
Copy the full SHA 6038cb9View commit details -
leds-sun20i: New driver for the sun20i internal LED controller
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a7088e0 - Browse repository at this point
Copy the full SHA a7088e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ad05ba - Browse repository at this point
Copy the full SHA 1ad05baView commit details -
dt-bindings: media: Add compatible for D1 video engine
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 96ee3f8 - Browse repository at this point
Copy the full SHA 96ee3f8View commit details -
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d867a5c - Browse repository at this point
Copy the full SHA d867a5cView commit details -
dt-bindings: mmc: sunxi: Add D1 MMC and eMMC compatibles
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 982b375 - Browse repository at this point
Copy the full SHA 982b375View commit details -
mmc: sunxi-mmc: Correct the maximum transfer size
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 09b0cf6 - Browse repository at this point
Copy the full SHA 09b0cf6View commit details -
mmc: sunxi-mmc: Fix DMA descriptors above 32 bits
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b8630c8 - Browse repository at this point
Copy the full SHA b8630c8View commit details -
mmc: sunxi-mmc: Add D1 MMC compatible
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d65ada5 - Browse repository at this point
Copy the full SHA d65ada5View commit details -
mmc: sunxi-mmc: Add more registers
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0e00698 - Browse repository at this point
Copy the full SHA 0e00698View commit details -
net: stmmac: dwmac-sun8i: Add D1 variant
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d4c8de1 - Browse repository at this point
Copy the full SHA d4c8de1View commit details -
nvmem: sunxi_sid: Add D1 variant
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 56df1ca - Browse repository at this point
Copy the full SHA 56df1caView commit details -
of/irq: Use interrupts-extended to find parent
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9c8d031 - Browse repository at this point
Copy the full SHA 9c8d031View commit details -
phy: sun4i-usb: Rework HCI PHY (aka. "pmu_unk1") handling
As Icenowy pointed out, newer manuals (starting with H6) actually document the register block at offset 0x800 as "HCI controller and PHY interface", also describe the bits in our "PMU_UNK1" register. Let's put proper names to those "unknown" variables and symbols. While we are at it, generalise the existing code by allowing a bitmap of bits to clear and set, to cover newer SoCs: The A100 and H616 use a different bit for the SIDDQ control. Signed-off-by: Andre Przywara <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 41eb276 - Browse repository at this point
Copy the full SHA 41eb276View commit details -
phy: sun4i-usb: Remove disc_thresh where not applicable
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4826f27 - Browse repository at this point
Copy the full SHA 4826f27View commit details -
phy: sun4i-usb: Add D1 variant
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ba22d61 - Browse repository at this point
Copy the full SHA ba22d61View commit details -
dt-bindings: pinctrl: Add compatible for Allwinner D1
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for de2b245 - Browse repository at this point
Copy the full SHA de2b245View commit details -
pinctrl: sunxi: Support new 2.5V I/O bias mode
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3bd5882 - Browse repository at this point
Copy the full SHA 3bd5882View commit details -
[HACK] pinctrl: sunxi: Adapt for D1 register layout
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b44da17 - Browse repository at this point
Copy the full SHA b44da17View commit details -
pinctrl: sunxi: Add support for Allwinner D1 SoC
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1d89790 - Browse repository at this point
Copy the full SHA 1d89790View commit details -
pwm: sun8i-v536: document device tree bindings
This adds binding documentation for sun8i-v536 SoC PWM driver. Signed-off-by: Ban Tao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0f0a827 - Browse repository at this point
Copy the full SHA 0f0a827View commit details -
pwm: sunxi: Add Allwinner SoC PWM controller driver
The Allwinner R818, A133, R329, V536 and V833 has a new PWM controller IP compared to the older Allwinner SoCs. Signed-off-by: Ban Tao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3de9d17 - Browse repository at this point
Copy the full SHA 3de9d17View commit details -
Configuration menu - View commit details
-
Copy full SHA for ecc0e91 - Browse repository at this point
Copy the full SHA ecc0e91View commit details -
pwm: sun8i-v536: Add support for the Allwinner D1
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a39d672 - Browse repository at this point
Copy the full SHA a39d672View commit details -
remoteproc: sun8i-dsp: Add a driver for the DSPs in sunxi SoCs
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d5b2dfc - Browse repository at this point
Copy the full SHA d5b2dfcView commit details -
rtc: sun6i: Add support for linear day storage
Newer versions of the Allwinner RTC, as for instance found in the H616 SoC, no longer store a broken-down day/month/year representation in the RTC_DAY_REG, but just a linear day number. The user manual does not give any indication about the expected epoch time of this day count, but the BSP kernel uses the UNIX epoch, which allows easy support due to existing conversion functions in the kernel. Allow tagging a compatible string with a flag, and use that to mark those new RTCs. Then convert between a UNIX day number (converted into seconds) and the broken-down day representation using mktime64() and time64_to_tm() in the set_time/get_time functions. That enables support for the RTC in those new chips. Reviewed-by: Andre Przywara <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3524ea0 - Browse repository at this point
Copy the full SHA 3524ea0View commit details -
rtc: sun6i: Add Allwinner H616 support
The H616 RTC changes its day storage to the newly introduced linear day scheme, so pair the new compatible string with this feature flag. So far the clock parts seem to be the same as the H6, so combine the compatible string with the existing H6 support bits. Signed-off-by: Andre Przywara <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3d4e09a - Browse repository at this point
Copy the full SHA 3d4e09aView commit details -
[WIP] rtc: sun6i: Make fw_devlink happy
This doesn't work, but it is good enough to let clock consumers probe. Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6744fe8 - Browse repository at this point
Copy the full SHA 6744fe8View commit details -
soc: sunxi: sram: Actually marked claimed regions as claimed
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4406d2e - Browse repository at this point
Copy the full SHA 4406d2eView commit details -
soc: sunxi: sram: Map SRAM back to CPU on release
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for de67022 - Browse repository at this point
Copy the full SHA de67022View commit details -
soc: sunxi: sram: Fix debugfs file leak
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9ac742b - Browse repository at this point
Copy the full SHA 9ac742bView commit details -
soc: sunxi: sram: Use devm_of_platform_populate
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 368ec7b - Browse repository at this point
Copy the full SHA 368ec7bView commit details -
soc: sunxi: sram: Add support for D1 LDOs
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7e6a802 - Browse repository at this point
Copy the full SHA 7e6a802View commit details -
soc: sunxi: sram: Fix debugfs for A64 SRAM C
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7117844 - Browse repository at this point
Copy the full SHA 7117844View commit details -
soc: sunxi: sram: Add D1 DSP SRAM
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 292cc81 - Browse repository at this point
Copy the full SHA 292cc81View commit details -
soc: sunxi: sram: Add D1 syscon variant
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d61e28a - Browse repository at this point
Copy the full SHA d61e28aView commit details -
spi: spi-sun6i: Use a struct for quirks
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a13eb4a - Browse repository at this point
Copy the full SHA a13eb4aView commit details -
spi: spi-sun6i: Add Allwinner R329 support
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b203363 - Browse repository at this point
Copy the full SHA b203363View commit details -
thermal/of: Remove duplicate null check
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3e272aa - Browse repository at this point
Copy the full SHA 3e272aaView commit details -
dt-bindings: thermal: sun8i: Add compatible for D1 thermal sensor
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1f563b3 - Browse repository at this point
Copy the full SHA 1f563b3View commit details -
thermal: sun8i: Fill in the unknown field name
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b569c6e - Browse repository at this point
Copy the full SHA b569c6eView commit details -
thermal: sun8i: Set the event type for new samples
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2070d3d - Browse repository at this point
Copy the full SHA 2070d3dView commit details -
thermal: sun8i: Use optional clock/reset getters
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 53df343 - Browse repository at this point
Copy the full SHA 53df343View commit details -
thermal: sun8i: Ensure vref is powered
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f5f58e8 - Browse repository at this point
Copy the full SHA f5f58e8View commit details -
thermal: sun8i: Add support for the D1 thermal sensor
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9f05fdd - Browse repository at this point
Copy the full SHA 9f05fddView commit details -
dt-bindings: watchdog: Add compatible for Allwinner D1
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 496cfd0 - Browse repository at this point
Copy the full SHA 496cfd0View commit details -
watchdog: sunxi_wdt: Add support for the D1 SoC
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ed37440 - Browse repository at this point
Copy the full SHA ed37440View commit details -
ASoC: simple-card-utils: Fix overallocation of DLCs
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 78b13a9 - Browse repository at this point
Copy the full SHA 78b13a9View commit details -
ASoC: sun4i-i2s: Correct registers for multiple data pins
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1b1e31b - Browse repository at this point
Copy the full SHA 1b1e31bView commit details -
ASoC: sun4i-i2s: Also set capture DMA width
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2455f65 - Browse repository at this point
Copy the full SHA 2455f65View commit details -
ASoC: sun4i-i2s: Add D1 variant
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 601976d - Browse repository at this point
Copy the full SHA 601976dView commit details -
[WIP] ASoC: sun4i-spdif: Add support for separate resets
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1251376 - Browse repository at this point
Copy the full SHA 1251376View commit details -
[WIP] ASoC: sun4i-spdif: Add support for separate clocks
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8d7e577 - Browse repository at this point
Copy the full SHA 8d7e577View commit details -
[WIP] ASoC: sun4i-spdif: Add D1 variant
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 527e685 - Browse repository at this point
Copy the full SHA 527e685View commit details -
ASoC: sun20i-codec: New driver for D1 internal codec
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5087f1f - Browse repository at this point
Copy the full SHA 5087f1fView commit details -
[WIP] ASoC: sun20i-codec: What is this ramp thing?
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 589dbed - Browse repository at this point
Copy the full SHA 589dbedView commit details -
[SPLIT] dt-bindings: Add compatibles for D1
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 407dfbe - Browse repository at this point
Copy the full SHA 407dfbeView commit details -
[SPLIT] treewide: ARCH_SUNXI += SOC_SUNXI
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7841e5c - Browse repository at this point
Copy the full SHA 7841e5cView commit details -
dt-bindings: riscv: Add compatible for D1 PLIC
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9451b65 - Browse repository at this point
Copy the full SHA 9451b65View commit details -
dt-bindings: riscv: Add compatible for T-HEAD C906
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 139b576 - Browse repository at this point
Copy the full SHA 139b576View commit details -
[WIP] riscv: Add Allwinner D1 SoC support
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4bb15bb - Browse repository at this point
Copy the full SHA 4bb15bbView commit details
Commits on Aug 9, 2021
-
[WIP] riscv: Add Allwinner D1 SoC device tree
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7e062d9 - Browse repository at this point
Copy the full SHA 7e062d9View commit details -
[TEMP] Add static memory info to the D1 device tree
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eccf985 - Browse repository at this point
Copy the full SHA eccf985View commit details -
[WIP] riscv: Add D1 Nezha board device tree
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 29457d2 - Browse repository at this point
Copy the full SHA 29457d2View commit details -
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8e6d0e6 - Browse repository at this point
Copy the full SHA 8e6d0e6View commit details -
[WIP] spi: spi-sun6i: Dual/Quad RX Support
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d895cf7 - Browse repository at this point
Copy the full SHA d895cf7View commit details -
[DO NOT MERGE] Add a defconfig for the NeZha
Signed-off-by: Samuel Holland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 319b62e - Browse repository at this point
Copy the full SHA 319b62eView commit details
Commits on Oct 12, 2021
-
pinctrl: sunxi: sunxi_pinctrl_irq_ack avoid build warning
Avoid a build warning drivers/pinctrl/sunxi/pinctrl-sunxi.c: In function ‘sunxi_pinctrl_irq_ack’: drivers/pinctrl/sunxi/pinctrl-sunxi.c:1035:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1035 | u32 new = readl(pctl->membase + status_reg); | ^~~ Signed-off-by: Heinrich Schuchardt <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 012f5a3 - Browse repository at this point
Copy the full SHA 012f5a3View commit details
Commits on Oct 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6677454 - Browse repository at this point
Copy the full SHA 6677454View commit details -
Configuration menu - View commit details
-
Copy full SHA for bae5890 - Browse repository at this point
Copy the full SHA bae5890View commit details -
Configuration menu - View commit details
-
Copy full SHA for d45fe47 - Browse repository at this point
Copy the full SHA d45fe47View commit details -
Configuration menu - View commit details
-
Copy full SHA for e635dfa - Browse repository at this point
Copy the full SHA e635dfaView commit details -
Revert "PTE workaround, now pthread works"
This reverts commit e635dfa.
Configuration menu - View commit details
-
Copy full SHA for a57d71b - Browse repository at this point
Copy the full SHA a57d71bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ed5834 - Browse repository at this point
Copy the full SHA 1ed5834View commit details