This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 805fec0c5aa2f1c11d7859a3995ae0e5c74e3355 Mon Sep 17 00:00:00 2001 | |
From: Chris Morgan <[email protected]> | |
Date: Mon, 28 Mar 2022 15:53:11 -0500 | |
Subject: [PATCH] i2c: mv64xxx: Add atomic_xfer method to driver | |
Add an atomic_xfer method to the driver so that it behaves correctly | |
when controlling a PMIC that is responsible for device shutdown. | |
The atomic_xfer method added is similar to the one from the i2c-rk3x | |
driver. When running an atomic_xfer is sets a bool flag in the driver |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Automatically generated file; DO NOT EDIT. | |
# U-Boot 2022.04-rc4 Configuration | |
# | |
# | |
# Compiler: aarch64-linux-gnu-gcc (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0 | |
# | |
CONFIG_CREATE_ARCH_SYMLINK=y | |
CONFIG_SYS_CACHE_SHIFT_6=y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Journal begins at Fri 2022-03-11 22:39:16 UTC, ends at Fri 2022-03-11 22:42:02 UTC. -- | |
Mar 11 22:39:16 CHIP kernel: Booting Linux on physical CPU 0x0 | |
Mar 11 22:39:16 CHIP kernel: Linux version 5.15.0-0.bpo.2-armmp ([email protected]) (arm-linux-gnueabihf-gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 Debian 5.15.5-2~bpo11+1 (2022-01-02) | |
Mar 11 22:39:16 CHIP kernel: CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d | |
Mar 11 22:39:16 CHIP kernel: CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache | |
Mar 11 22:39:16 CHIP kernel: OF: fdt: Machine model: NextThing C.H.I.P. | |
Mar 11 22:39:16 CHIP kernel: Memory policy: Data cache writeback | |
Mar 11 22:39:16 CHIP kernel: Reserved memory: created CMA memory pool at 0x4a000000, size 96 MiB | |
Mar 11 22:39:16 CHIP kernel: OF: reserved mem: initialized node default-pool, compatible id shared-dma-pool | |
Mar 11 22:39:16 CHIP kernel: Zone ranges: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From a7520c24bb1589bb424b6e9dc75ba7691040566d Mon Sep 17 00:00:00 2001 | |
From: Chris Morgan <[email protected]> | |
Date: Tue, 15 Feb 2022 15:23:28 -0600 | |
Subject: [PATCH v5 0/4] power: supply: Add Support for RK817 Charger | |
This series is to add support for the Rockchip rk817 battery charger | |
which is present in all Rockchip RK817 PMICs. The driver was written | |
as a joint effort by Maya Matuszczyk <[email protected]> and | |
myself Chris Morgan <[email protected]>. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Automatically generated file; DO NOT EDIT. | |
# coreboot configuration | |
# | |
# | |
# General setup | |
# | |
CONFIG_COREBOOT_BUILD=y | |
CONFIG_LOCALVERSION="" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/dts-v1/; | |
/ { | |
MP_256; | |
model = "Qualcomm Technologies, Inc. IPQ6018/AP-CP02-C1"; | |
compatible = "qcom,ipq6018-cp02", "qcom,ipq6018"; | |
qcom,msm-id = <0x192 0x00>; | |
#address-cells = <0x02>; | |
#size-cells = <0x02>; | |
interrupt-parent = <0x01>; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/mfd/rk808.yaml | |
SCHEMA Documentation/devicetree/bindings/processed-schema.json | |
DTC arch/arm64/boot/dts/rockchip/px30-evb.dt.yaml | |
CHECK arch/arm64/boot/dts/rockchip/px30-evb.dt.yaml | |
/data/Source/upstream-linux/arch/arm64/boot/dts/rockchip/px30-evb.dt.yaml: pmic@20: #clock-cells:0:0: 1 was expected | |
From schema: /data/Source/upstream-linux/Documentation/devicetree/bindings/mfd/rk808.yaml | |
/data/Source/upstream-linux/arch/arm64/boot/dts/rockchip/px30-evb.dt.yaml: pmic@20: 'regulators', 'vcc5-supply', 'vcc6-supply', 'vcc7-supply', 'vcc8-supply', 'vcc9-supply' do not match any of the regexes: '^vcc[1-4]-supply$', 'pinctrl-[0-9]+' | |
From schema: /data/Source/upstream-linux/Documentation/devicetree/bindings/mfd/rk808.yaml | |
DTC arch/arm64/boot/dts/rockchip/px30-engicam-px30-core-ctouch2.dt.yaml |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
odroid@OdroidGoAdvance:~$ sudo flashrom -p linux_mtd -w flash.rom | |
flashrom v1.2 on Linux 5.13.0-rc5+ (aarch64) | |
flashrom is free software, get the source code at https://flashrom.org | |
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns). | |
Opened /dev/mtd0 successfully | |
Found Programmer flash chip "Opaque flash chip" (16384 kB, Programmer-specific) on linux_mtd. | |
Reading old flash chip contents... [ 202.344250] rockchip-sfc ff3a0000.spi: addr.nbytes=3(x2) dummy.nbytes=1(x2) | |
[ 202.355463] rockchip-sfc ff3a0000.spi: ctrl=1402 cmd=100044bb addr=0 len=1000 | |
[ 202.363539] rockchip-sfc ff3a0000.spi: xfer_dma len=1000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
odroid@OdroidGoAdvance:~$ dd if=/dev/urandom of=rand.img bs=4M count=1 | |
1+0 records in | |
1+0 records out | |
4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.172739 s, 24.3 MB/s | |
odroid@OdroidGoAdvance:~$ ls | |
modified rand.img upstream | |
odroid@OdroidGoAdvance:~$ sudo dd if=rand.img of=/dev/mtdblock0 bs=4096 seek=3072 | |
[sudo] password for odroid: | |
[ 570.220991] rockchip-sfc ff3a0000.spi: addr.nbytes=3(x2) dummy.nbytes=1(x2) | |
[ 570.228879] rockchip-sfc ff3a0000.spi: ctrl=1402 cmd=100044bb addr=c00000 len=1000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From a9c0bbfa6ee0c759805cfe47301394cbe1456c41 Mon Sep 17 00:00:00 2001 | |
From: Chris Morgan <[email protected]> | |
Date: Thu, 13 May 2021 21:39:54 -0500 | |
Subject: [PATCH] Add Rockchip SFC Driver and create devicetree bindings for | |
it. | |
Signed-off-by: Chris Morgan <[email protected]> | |
--- | |
arch/arm/dts/px30.dtsi | 31 + | |
arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi | 10 +- |