- Apr 17, 2023
-
-
John Clark authored
Add gpio-range properties to the pinctrl gpio nodes in rk356x.dtsi Signed-off-by:
John Clark <inindev@gmail.com> Link: https://lore.kernel.org/r/20230413170337.6815-1-inindev@gmail.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
- Apr 12, 2023
-
-
Chris Morgan authored
Add support for the newly mainlined panel to the RG353 series of devices. Signed-off-by:
Chris Morgan <macromorgan@hotmail.com> Link: https://lore.kernel.org/r/20221126011432.22891-2-macroalpha82@gmail.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
- Apr 06, 2023
-
-
Krzysztof Kozlowski authored
The Anbernic and Odroid Go have different panels and take differently named supplies, so move all the supplies to DTS defining actual panel to fix warnings like: rk3326-odroid-go3.dtb: panel@0: 'IOVCC-supply' is a required property rk3326-odroid-go3.dtb: panel@0: 'iovcc-supply', 'vdd-supply' do not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by:
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20230326204520.80859-1-krzysztof.kozlowski@linaro.org Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Cristian Ciocaltea authored
Add the necessary DT nodes for the Rock 5B board to enable the analog audio support provided by the Everest Semi ES8316 codec. Signed-off-by:
Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Reviewed-by:
Christopher Obbard <chris.obbard@collabora.com> Link: https://lore.kernel.org/r/20230402095054.384739-6-cristian.ciocaltea@collabora.com [adapted to the fan addition I applied slightly earlier] Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Cristian Ciocaltea authored
In addition to the five I2S/PCM/TDM controllers and the two I2S/PCM controllers shared between the RK3588 and RK3588S SoCs, RK3588 provides another group of four I2S/PCM/TDM controllers. Add the DT nodes corresponding to the additional controllers. Signed-off-by:
Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Link: https://lore.kernel.org/r/20230402095054.384739-5-cristian.ciocaltea@collabora.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Cristian Ciocaltea authored
There are five I2S/PCM/TDM controllers and two I2S/PCM controllers embedded in the RK3588 and RK3588S SoCs. Add the DT nodes corresponding to the above mentioned Rockchip controllers. Also note RK3588 SoC contains four additional I2S/PCM/TDM controllers, which are handled via a separate patch. Signed-off-by:
Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Link: https://lore.kernel.org/r/20230402095054.384739-4-cristian.ciocaltea@collabora.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Cristian Ciocaltea authored
The clock rate for PLL_PPLL has been wrongly initialized to 100 MHz instead of 1.1 GHz. Fix it. Fixes: c9211fa2 ("arm64: dts: rockchip: Add base DT for rk3588 SoC") Reported-by:
Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by:
Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Link: https://lore.kernel.org/r/20230402095054.384739-3-cristian.ciocaltea@collabora.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Cristian Ciocaltea authored
Since commit df4fdd0d ("dt-bindings: firmware: arm,scmi: Restrict protocol child node properties") the following dtbs_check warning is shown: rk3588-rock-5b.dtb: scmi: protocol@14: Unevaluated properties are not allowed ('assigned-clock-rates', 'assigned-clocks' were unexpected) Because adding the missing properties to firmware/arm,scmi.yaml binding document was not an acceptable solution, move SCMI_CLK_CPUB01 and SCMI_CLK_CPUB23 assigned clocks to the related CPU nodes and also add the missing SCMI_CLK_CPUL. Additionally, adjust frequency to 816 MHz for all the above mentioned assigned clocks, in order to match the firmware defaults. Suggested-by:
Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by:
Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Link: https://lore.kernel.org/r/20230402095054.384739-2-cristian.ciocaltea@collabora.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Sebastian Reichel authored
Add thermal sensor IP, which allows monitoring temperatures at seven different places in the SoC: * Chip Center * CPU Cluster 1 (Dual A76 "Big" Cores) * CPU Cluster 2 (Dual A76 "Big" Cores) * CPU Cluster 0 (Quad A55 "Little" Cores) * Power Domain Center * Graphics Processing Unit * Neural Processing Unit Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com> Link: https://lore.kernel.org/r/20230404154429.51601-1-sebastian.reichel@collabora.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Cristian Ciocaltea authored
Add the necessary DT changes for the Rock 5B board to enable support for the PWM controlled heat sink fan. Signed-off-by:
Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Reviewed-by:
Christopher Obbard <chris.obbard@collabora.com> Link: https://lore.kernel.org/r/20230404173807.490520-3-cristian.ciocaltea@collabora.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Shreeya Patel authored
Add DT node to enable RTC support for Rock 5B board. Signed-off-by:
Shreeya Patel <shreeya.patel@collabora.com> Reviewed-by:
Christopher Obbard <chris.obbard@collabora.com> Link: https://lore.kernel.org/r/20230405082711.46303-1-shreeya.patel@collabora.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
- Mar 30, 2023
-
-
Tianling Shen authored
The OrangePi R1 Plus LTS is a minor variant of OrangePi R1 Plus with the on-board NIC chip changed from rtl8211e to yt8531c, and otherwise identical to OrangePi R1 Plus. Signed-off-by:
Tianling Shen <cnsztl@gmail.com> Link: https://lore.kernel.org/r/20230325074022.9818-5-cnsztl@gmail.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Tianling Shen authored
Add devicetree binding documentation for the Xunlong OrangePi R1 Plus LTS. Signed-off-by:
Tianling Shen <cnsztl@gmail.com> Acked-by:
Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20230325074022.9818-4-cnsztl@gmail.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Tianling Shen authored
The NanoPi R2C is a minor variant of NanoPi R2S with the on-board NIC chip changed from rtl8211e to yt8521s, and otherwise identical to R2S. Signed-off-by:
Tianling Shen <cnsztl@gmail.com> Link: https://lore.kernel.org/r/20230325074022.9818-3-cnsztl@gmail.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Tianling Shen authored
Add devicetree binding documentation for the FriendlyARM NanoPi R2C. Signed-off-by:
Tianling Shen <cnsztl@gmail.com> Reviewed-by:
Jagan Teki <jagan@amarulasolutions.com> Acked-by:
Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20230325074022.9818-2-cnsztl@gmail.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Martijn Braam authored
The phone has a Goodix GT1158 touchscreen, add a DT node for it. Signed-off-by:
Martijn Braam <martijn@brixit.nl> Co-developed-by:
Kamil Trzciński <ayufan@ayufan.eu> Signed-off-by:
Kamil Trzciński <ayufan@ayufan.eu> Co-developed-by:
Ondrej Jirman <megi@xff.cz> Signed-off-by:
Ondrej Jirman <megi@xff.cz> Signed-off-by:
Javier Martinez Canillas <javierm@redhat.com> Link: https://lore.kernel.org/r/20230328073309.1743112-3-javierm@redhat.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Martijn Braam authored
The phone's display is using a Hannstar LCD panel. Support it by adding a panel DT node and all needed nodes (backlight, MIPI DSI, regulators, etc). Signed-off-by:
Martijn Braam <martijn@brixit.nl> Co-developed-by:
Kamil Trzciński <ayufan@ayufan.eu> Signed-off-by:
Kamil Trzciński <ayufan@ayufan.eu> Co-developed-by:
Ondrej Jirman <megi@xff.cz> Signed-off-by:
Ondrej Jirman <megi@xff.cz> Signed-off-by:
Javier Martinez Canillas <javierm@redhat.com> Tested-by:
Ondrej Jirman <megi@xff.cz> Link: https://lore.kernel.org/r/20230328073309.1743112-2-javierm@redhat.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Shreeya Patel authored
Add rockchip,rk3588-wdt compatible string. Signed-off-by:
Shreeya Patel <shreeya.patel@collabora.com> Acked-by:
Guenter Roeck <linux@roeck-us.net> Reviewed-by:
Guenter Roeck <linux@roeck-us.net> Acked-by:
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20230328210048.195124-3-shreeya.patel@collabora.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Shreeya Patel authored
Add DT node for watchdog support in RK3588. Signed-off-by:
Shreeya Patel <shreeya.patel@collabora.com> Link: https://lore.kernel.org/r/20230328210048.195124-2-shreeya.patel@collabora.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
- Mar 23, 2023
-
-
Johan Jonker authored
The hclk is not used in the dw-mipi-dsi binding, so remove hclk from the rk356x.dtsi dsi node. Signed-off-by:
Johan Jonker <jbx6244@gmail.com> Link: https://lore.kernel.org/r/4df211eb-4fcd-ee20-48a1-ce7712de552c@gmail.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Johan Jonker authored
'vbus-supply' does not match any of the regexes in rk3566-box-demo.dts in the usb2phy0_otg node, so rename vbus-supply to phy-supply. Signed-off-by:
Johan Jonker <jbx6244@gmail.com> Link: https://lore.kernel.org/r/1889d8ee-e119-4a52-33a1-b990a41a137c@gmail.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Johan Jonker authored
Use generic node name for rk3399.dtsi dp node. With the conversion of rockchip,analogix-dp.yaml a port@1 node is required, so add a node with label edp_out. Also restyle. Signed-off-by:
Johan Jonker <jbx6244@gmail.com> Link: https://lore.kernel.org/r/f6008819-db9b-0944-3f5b-5522b7cd8a8d@gmail.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Johan Jonker authored
Use generic node name for rk3399.dtsi dsi node. With the conversion of rockchip,dw-mipi-dsi.yaml a port@1 node is required, so add a node with label mipi_out. Also restyle. Signed-off-by:
Johan Jonker <jbx6244@gmail.com> Link: https://lore.kernel.org/r/1e019e9e-a8da-3d57-2770-f6b81bbbf591@gmail.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Johan Jonker authored
With the conversion of rockchip,dw-mipi-dsi.yaml a port@1 node is required, so add a node with label dsi_out. Also add label dsi_in to port@0. Signed-off-by:
Johan Jonker <jbx6244@gmail.com> Link: https://lore.kernel.org/r/1ee3e676-aef4-f464-82b0-8fb39ba5c60d@gmail.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Johan Jonker authored
With the conversion of rockchip,lvds.yaml a port@1 node is required, so add a node with label lvds_out. Also add label lvds_in to port@0. Signed-off-by:
Johan Jonker <jbx6244@gmail.com> Link: https://lore.kernel.org/r/99895a4b-25c4-4b64-42ac-6f70940ab56e@gmail.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Tianling Shen authored
This is for the audio output which does not exist on the boards. Also disable regulator-always-on for vccio_acodec since it's only used by the audio output. Signed-off-by:
Tianling Shen <cnsztl@gmail.com> Link: https://lore.kernel.org/r/20230318083745.6181-6-cnsztl@gmail.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Tianling Shen authored
- Changed phy-mode to rgmii. - Fixed pull type in pinctrl for gmac0. - Removed duplicate properties in mdio node. These properties are defined in the gmac0 node already. Signed-off-by:
Tianling Shen <cnsztl@gmail.com> Link: https://lore.kernel.org/r/20230318083745.6181-5-cnsztl@gmail.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Tianling Shen authored
FriendlyARM NanoPi R5C is an open-sourced mini IoT gateway device. Specification: - Rockchip RK3568 - 1/4GB LPDDR4X RAM - 8/32GB eMMC - SD card slot - M.2 Connector - 2x USB 3.0 Port - 2x 2500 Base-T (PCIe, r8125) - HDMI 2.0 - MIPI DSI/CSI - USB Type C 5V Signed-off-by:
Tianling Shen <cnsztl@gmail.com> Link: https://lore.kernel.org/r/20230318083745.6181-4-cnsztl@gmail.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Tianling Shen authored
Add devicetree binding documentation for the FriendlyARM NanoPi R5C. Acked-by:
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by:
Tianling Shen <cnsztl@gmail.com> Link: https://lore.kernel.org/r/20230318083745.6181-3-cnsztl@gmail.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Tianling Shen authored
Create common dtsi for the FriendlyElec NanoPi R5 series. Signed-off-by:
Tianling Shen <cnsztl@gmail.com> Link: https://lore.kernel.org/r/20230318083745.6181-2-cnsztl@gmail.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
- Mar 15, 2023
-
-
Vasily Khoruzhick authored
FriendlyElec Nanopi R5S is an open-sourced mini IoT gateway device. Board Specifications - Rockchip RK3568 - 2 or 4GB LPDDR4X - 8GB or 16GB eMMC, SD card slot - GbE LAN (Native) - 2x 2.5G LAN (PCIe) - M.2 Connector - HDMI 2.0, MIPI DSI/CSI - 2xUSB 3.0 Host - USB Type C PD, 5V/9V/12V - GPIO: 12-pin 0.5mm FPC connector Based on Tianling Shen's <cnsztl@gmail.com> work. Signed-off-by:
Vasily Khoruzhick <anarsoul@gmail.com> Link: https://lore.kernel.org/r/20230308063240.107178-2-anarsoul@gmail.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Vasily Khoruzhick authored
Add devicetree binding documentation for the FriendlyARM NanoPi R5S. Signed-off-by:
Vasily Khoruzhick <anarsoul@gmail.com> Acked-by:
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20230308063240.107178-1-anarsoul@gmail.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Yixun Lan authored
Edge2 is an ultraslim, credit-card sized ARM PC designed by Khadas. In this patch, we will add basic device tree support for this board, Only eMMC, UART are enabled, so it's capable of booting into a basic linux system from eMMC via serial console. Signed-off-by:
Yixun Lan <dlan@gentoo.org> Link: https://lore.kernel.org/r/20230315033441.32719-3-dlan@gentoo.org Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Yixun Lan authored
Edge2 is an ultraslim, credit-card sized ARM PC designed by Khadas. It has quite a few rich peripherals. Specification: - Rockchip RK3588s - 8/16GB LPDDR4 - 32/64GB eMMC 5.1 - AP6275P WiFi6 LAN - HDMI2.1 Type-A - MIPI-CSI x3 - MIPI-DSI x2 - usb3.1; usb2.0 - RTC clock - PWM fan - SPI Flash - Pads expansion board (UART, USB) Signed-off-by:
Yixun Lan <dlan@gentoo.org> Acked-by:
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20230315033441.32719-2-dlan@gentoo.org Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
- Mar 08, 2023
-
-
Maya Matuszczyk authored
Note that orientation property in ST7701 driver is currently missing, And that ST7701 panel driver uses different regulator names compared to driver for Elida KD35T133 driver. Signed-off-by:
Maya Matuszczyk <maccraft123mc@gmail.com> Link: https://lore.kernel.org/r/20230213153816.213526-5-maccraft123mc@gmail.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Manoj Sai authored
Enable USB OTG support for Radxa Compute Module 3 IO Board Signed-off-by:
Manoj Sai <abbaraju.manojsai@amarulasolutions.com> Signed-off-by:
Jagan Teki <jagan@amarulasolutions.com> Link: https://lore.kernel.org/r/20230223135929.630787-1-abbaraju.manojsai@amarulasolutions.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Lucas Tanure authored
Add SD Card node for RK3588s and RK3588. Co-developed-by:
Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by:
Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by:
Lucas Tanure <lucas.tanure@collabora.com> Link: https://lore.kernel.org/r/20230228103610.25108-1-lucas.tanure@collabora.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
- Mar 06, 2023
-
-
Linus Torvalds authored
-
Linus Torvalds authored
Commit aa47a7c2 ("lib/cpumask: deprecate nr_cpumask_bits") resulted in the cpumask operations potentially becoming hugely less efficient, because suddenly the cpumask was always considered to be variable-sized. The optimization was then later added back in a limited form by commit 6f9c07be ("lib/cpumask: add FORCE_NR_CPUS config option"), but that FORCE_NR_CPUS option is not useful in a generic kernel and more of a special case for embedded situations with fixed hardware. Instead, just re-introduce the optimization, with some changes. Instead of depending on CPUMASK_OFFSTACK being false, and then always using the full constant cpumask width, this introduces three different cpumask "sizes": - the exact size (nr_cpumask_bits) remains identical to nr_cpu_ids. This is used for situations where we should use the exact size. - the "small" size (small_cpumask_bits) is the NR_CPUS constant if it fits in a single word and the bitmap operations thus end up able to trigger the "small_const_nbits()" optimizations. This is used for the operations that have optimized single-word cases that get inlined, notably the bit find and scanning functions. - the "large" size (large_cpumask_bits) is the NR_CPUS constant if it is an sufficiently small constant that makes simple "copy" and "clear" operations more efficient. This is arbitrarily set at four words or less. As a an example of this situation, without this fixed size optimization, cpumask_clear() will generate code like movl nr_cpu_ids(%rip), %edx addq $63, %rdx shrq $3, %rdx andl $-8, %edx callq memset@PLT on x86-64, because it would calculate the "exact" number of longwords that need to be cleared. In contrast, with this patch, using a MAX_CPU of 64 (which is quite a reasonable value to use), the above becomes a single movq $0,cpumask instruction instead, because instead of caring to figure out exactly how many CPU's the system has, it just knows that the cpumask will be a single word and can just clear it all. Note that this does end up tightening the rules a bit from the original version in another way: operations that set bits in the cpumask are now limited to the actual nr_cpu_ids limit, whereas we used to do the nr_cpumask_bits thing almost everywhere in the cpumask code. But if you just clear bits, or scan for bits, we can use the simpler compile-time constants. In the process, remove 'cpumask_complement()' and 'for_each_cpu_not()' which were not useful, and which fundamentally have to be limited to 'nr_cpu_ids'. Better remove them now than have somebody introduce use of them later. Of course, on x86-64 with MAXSMP there is no sane small compile-time constant for the cpumask sizes, and we end up using the actual CPU bits, and will generate the above kind of horrors regardless. Please don't use MAXSMP unless you really expect to have machines with thousands of cores. Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6Linus Torvalds authored
Pull crypto fix from Herbert Xu: "Fix a regression in the caam driver" * tag 'v6.3-p2' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: crypto: caam - Fix edesc/iv ordering mixup
-