summaryrefslogtreecommitdiffstats
path: root/meta-agl-refhw-gen3/recipes-kernel/linux/files/0001-add-agl-refhw.patch
AgeCommit message (Collapse)AuthorFilesLines
2021-10-27Updates for BSP v5.5.0marlin_12.93.0marlin_12.92.0marlin_12.91.0marlin_12.90.1marlin/12.93.0marlin/12.92.0marlin/12.91.0marlin/12.90.112.93.012.92.012.91.012.90.1Scott Murray1-1383/+0
Changes: - Kernel patches updated for the 5.10.41 linux-renesas kernel, most changes are for the upstream rename of the non-engineering sample H3 from r8a7795 to r8a77951. - The kernel patches have been renamed to match git format-patch / devtool naming conventions to be a bit more consistent and hopefully simplify future updates. - To maintain consistency with the other rcar3 boards, as part of the kernel patch updates the reference hardware devicetree has been renamed to r8a77951-agl-refhw, which does result in a user visible change in the .dtb name. - The upstreamed, then reverted upstream patch to arm-trusted-firmware to disable FDT generation has been replaced with a simpler patch to just put "renesas,unknown" in the compatible string instead of panic-ing. This should be easier to carry forward. - Documentation updated for new branch & tag. Bug-AGL: SPEC-4103 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I48b2cce5d55df3fff49e556821b27b8f516b98e1
2021-10-26Enable buffered-mode for accel/gyro sensorsHiroyuki Ishii1-7/+10
During asm330lhh's driver initialization, there is a kernel message which indicates failure of mapping irq like following: irq: type mismatch, failed to map hwirq-39 for interrupt-controller@f1010000! This is because of wrong statement in agl-refhw-common.dtsi and results disabling buffered-mode of asm330lhh. With this change, the irq can be correctly mapped and buffered-mode is enabled, i.e. buffer directory comes up like following: /sys/devices/platform/soc/e66d0000.i2c/i2c-3/3-006a/iio:device<n>/buffer * Updates from Scott Murray: - Changes merged into the main reference hardware patch as discussed in Gerrit. - st,drdy-int-pin declaration added to mark int1 pin as explicitly used, matching other users of the driver. - i2c3 bus speed increased to 400 KHz. The ASM330LHH is the only device on it and is 400 KHz capable, which testing bears out. If any of the higher ODRs will be used in buffered mode, this seems desirable. BUG-AGL: SPEC-4098 Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I598b1195a20d9e4611d2e505779ebeebfcbd8757
2021-09-24Fix CAN transceivers GPIO hog definitionsScott Murray1-3/+3
Update reference hardware support kernel patch to fix enabling the vehicle board CAN transceivers, I mistakenly set them to output-high instead of output-low when creating the GPIO hog definitions. The pins need to be low to disable standby mode on the transceivers. Bug-AGL: SPEC-4073 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I882bdac8c30e42a2271c169e3cf888a6505093de
2021-09-09Enable vehicle board CAN transceiversScott Murray1-5/+19
Update reference hardware support kernel patch to enable the vehicle board CAN transceivers by pulling them out of standby mode on power on. Bug-AGL: SPEC-4073 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I3f4f13fb261f9a2770b73e9f9d48240577357a70
2021-08-27Fix wrong USB1 pin settingito.yoshiki0011-1/+1
Since GP6_26 is used as USB1_PWEN, a collision occurs in the PFC settings and the HSCIF2 is not working. Also, GP6_27 is not used as USB1_OVC, and overcurrent detection is not working. This patch fixes the incorrect pin settings for usb1 as described above. Bug-AGL: SPEC-3658 Signed-off-by: ito.yoshiki001 <ito.yoshiki001@jp.panasonic.com> Change-Id: If488a7d5ca4be0f3469a98f332821aead911e050
2021-04-11Update sound device namemarlin_12.90.0marlin/12.90.0lamprey_11.92.0lamprey_11.91.0lamprey/11.92.0lamprey/11.91.0jellyfish_10.0.3jellyfish/10.0.312.90.011.92.011.91.010.0.3Scott Murray1-11/+8
Match change back to "ak4613" from "rcar-sound" for ULCB in BSP 4.70 so ALSA and WirePlumber configuration for ULCB will be picked up. Bug-AGL: SPEC-3878 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I50241c7fb991078e5df69ebc5ba845beda1b7157
2020-11-16Update agl refhw patches for kernel 5.4Raquel Medina1-89/+40
Rework agl refhw patches to apply to agl master branch (linux-renesas v5.4/rcar-4.0.0). Bug-AGL: SPEC-3658 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I0d69179c9acb9a28c9381c42927bda70a7589d61
2020-10-21Rework for AGL UCB integrationScott Murray1-0/+1418
Changes include: - The provided kernel patches have been reworked to not modify the salvator-x(s) devicetree source, but to introduce new files for the reference hardware instead. There is some possibility that the reference hardware devicetree could be based off the the salvator-x with some work and perhaps splitting of the salvator-x source, but for now the aim is to avoid breaking the salvator-x(s) with the reference hardware changes. - The modifications to the r8a7795 pinctrl driver have been replaced with a splitting of the USB interface OVC pins into their own pin groups, which has previously been done for other older Renesas hardware. This allows booting the reference hardware off of the same kernel as other H3 boards, at the expense of minor devicetree modifications for them (e.g. h3ulcb). There is likely some more work required if this needs to be upstreamed, as the ulcb.dtsi changes would mean that the pinctrl drivers for M3 would also need the new pin groups. - All changes for the ST asm330lhh driver addtion have been moved to that patch to the kernel. - A machine conf file has been added for "agl-refhw-h3", and the firmware documentation updated to document how to set up a build of the firmware using it. This is required due to the firmware options from this layer's arm-trusted-firmware bbappend not being compatible with other H3 boards (eMMC versus Hyperflash boot). A definition of the COMPATIBLE_MACHINE variable has been added to that bbappend to make sure that attempting to use it with another H3 machine will trigger an error. In AGL, the bbappend will need to be masked out with BBMASK for now. - The top-level README file has been updated to reflect the expected integration in AGL. Bug-AGL: SPEC-3658 Signed-off-by: Scott Murray <scott.murray@konsulko.com>