From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4C81CCF8549 for ; Thu, 20 Nov 2025 17:31:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=m3RUvxGovS6/1Tw6jGEvU6MAiHXUkdG6PER0PlhcLg0=; b=5E89wjKWZ8qRW8nCIjwautCVTW EX/GDGgpznwdf7VEm2/UPpWodiI7AAm+Fi3bsyQjYA8BnIoEpW+2T7D/q7Gtgb48nVECOJ6bgFJfq VeqzBMc0j4bs6NP4YGQwfaGIeLrF4J+E7TZ4kdCLJTQ5fyoVdya4zQYQE5Z5NQRHsgnxZB2EHib5I N/312FU45ulO20XloleaUPZ321ben/28uKmxY2M7VpjsbcXT7HnrZqzgE+tsRMqOL8AqrL8Rfpsy8 d5Sidm+coUSF1VxG6Q2lNY/Obu0oAAP0WOx9el0uyeVvK/OflPoG7qrZWBQPW5l1gdSktq0IEgF+Q dZWEuDng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vM8VW-000000079pM-0Y8v; Thu, 20 Nov 2025 17:31:47 +0000 Received: from out-172.mta0.migadu.com ([2001:41d0:1004:224b::ac]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vM8VS-000000079ns-2uAK for linux-arm-kernel@lists.infradead.org; Thu, 20 Nov 2025 17:31:44 +0000 Date: Thu, 20 Nov 2025 18:31:20 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=grimler.se; s=key1; t=1763659887; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=m3RUvxGovS6/1Tw6jGEvU6MAiHXUkdG6PER0PlhcLg0=; b=NrFpH9ycHwy4xkWGJrVoW/L5iUIoYXQTr5m7zUitTGD4psCWqxDx31SJrBiLtbBjAFeiK/ BvHUTk5tzuFHSxBu1Tr7sIOWMz0MSEAjHmc9VbxnMD+HvUfHx0wsK2+vZ0bIMMtpdxGXWr 8XUqKVuZU9jRfMR1znZPZQtA34CW1K4= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Henrik Grimler To: Lukas Timmermann Cc: Krzysztof Kozlowski , Alim Akhtar , Rob Herring , Conor Dooley , Alexandre Marquet , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] ARM: dts: exynos: Add Samsung Manta (Google Nexus 10) Message-ID: <20251120173120.GA10065@localhost> References: <20251120144018.961604-1-linux@timmermann.space> <20251120144018.961604-3-linux@timmermann.space> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20251120144018.961604-3-linux@timmermann.space> X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251120_093143_553042_2DEFE0E6 X-CRM114-Status: GOOD ( 21.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Lukas, On Thu, Nov 20, 2025 at 03:40:15PM +0100, Lukas Timmermann wrote: > From: Alexandre Marquet > > Manta is the code name for Google Nexus 10, and was manufactured by > Samsung. This patch adds initial device-tree file for this board. > > Co-developed-by: Alexandre Marquet > Signed-off-by: Alexandre Marquet > Co-developed-by: Lukas Timmermann > Signed-off-by: Lukas Timmermann Awesome! I think this series would benefit from a cover letter explaining what features are working, and perhaps saying something about other patches that will be sent separately (if any). The as3668 led driver and bindings for example has not been merged, right? Adding the lore link in a cover letter would therefore help reviewers. One nitpick below that I happened to notice. > --- > arch/arm/boot/dts/samsung/Makefile | 1 + > .../exynos5250-samsung-nexus10-manta.dts | 516 ++++++++++++++++++ > 2 files changed, 517 insertions(+) > create mode 100644 arch/arm/boot/dts/samsung/exynos5250-samsung-nexus10-manta.dts > > diff --git a/arch/arm/boot/dts/samsung/Makefile b/arch/arm/boot/dts/samsung/Makefile > index 7becf36656b1..c9cb06a8ff97 100644 > --- a/arch/arm/boot/dts/samsung/Makefile > +++ b/arch/arm/boot/dts/samsung/Makefile > @@ -26,6 +26,7 @@ dtb-$(CONFIG_ARCH_EXYNOS4) += \ > exynos4412-trats2.dtb > dtb-$(CONFIG_ARCH_EXYNOS5) += \ > exynos5250-arndale.dtb \ > + exynos5250-samsung-nexus10-manta.dtb \ > exynos5250-smdk5250.dtb \ > exynos5250-snow.dtb \ > exynos5250-snow-rev5.dtb \ > diff --git a/arch/arm/boot/dts/samsung/exynos5250-samsung-nexus10-manta.dts b/arch/arm/boot/dts/samsung/exynos5250-samsung-nexus10-manta.dts > new file mode 100644 > index 000000000000..84df54941bcd > --- /dev/null > +++ b/arch/arm/boot/dts/samsung/exynos5250-samsung-nexus10-manta.dts > @@ -0,0 +1,516 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Samsung Manta (Google Nexus 10) board device tree source > + * > + * Copyright (c) 2023-2025 Alexandre Marquet > + * Copyright (c) 2025 Lukas Timmermann > + */ > + > +/dts-v1/; > +#include > +#include > +#include > +#include > +#include "exynos-pinctrl.h" > +#include "exynos5250.dtsi" > +#include "exynos-mfc-reserved-memory.dtsi" > + > +/ { > + model = "Google Nexus 10"; > + compatible = "samsung,nexus10-manta", "samsung,exynos5250", "samsung,exynos5"; > + > + aliases { > + mmc0 = &mmc_0; /* eMMC */ > + mmc1 = &mmc_1; /* WiFi */ > + }; > + > + memory@40000000 { > + device_type = "memory"; > + reg = <0x40000000 0x20000000 > + 0x60000000 0x20000000 > + 0x80000000 0x20000000 > + 0xa0000000 0x1FF00000>; Please use lower case letters, 0x1ff00000. Best regards, Henrik Grimler > + }; > + > + chosen { > + stdout-path = &serial_2; > + }; > + > + firmware@204f000 { > + compatible = "samsung,secure-firmware"; > + reg = <0x0204f000 0x1000>; > + }; > + > + fixed-rate-clocks { > + xxti { > + compatible = "samsung,clock-xxti"; > + clock-frequency = <24000000>; > + }; > + > + xusbxti { > + compatible = "samsung,clock-xusbxti"; > + clock-frequency = <24000000>; > + }; > + }; > + > + gpio-keys { > + compatible = "gpio-keys"; > + pinctrl-names = "default"; > + pinctrl-0 = <&gpio_keys>; > + > + key-down { > + gpios = <&gpx2 1 GPIO_ACTIVE_LOW>; > + linux,code = ; > + label = "volume down"; > + debounce-interval = <5>; > + }; > + > + key-up { > + gpios = <&gpx2 0 GPIO_ACTIVE_LOW>; > + linux,code = ; > + label = "volume up"; > + debounce-interval = <5>; > + }; > + > + key-power { > + gpios = <&gpx2 7 GPIO_ACTIVE_LOW>; > + linux,code = ; > + label = "power"; > + debounce-interval = <5>; > + wakeup-source; > + }; > + > + lid-switch { > + label = "Lid"; > + gpios = <&gpx1 3 GPIO_ACTIVE_LOW>; > + linux,input-type = <5>; /* EV_SW */ > + linux,code = <0>; /* SW_LID */ > + debounce-interval = <10>; > + wakeup-source; > + }; > + }; > + > + multi-led { > + compatible = "leds-group-multicolor"; > + color = ; > + function = LED_FUNCTION_STATUS; > + leds = <&status_red>, <&status_green>, <&status_blue>, <&status_white>; > + }; > + > + wlan_pwrseq: mmc1-pwrseq { > + compatible = "mmc-pwrseq-simple"; > + reset-gpios = <&gpv1 0 GPIO_ACTIVE_LOW>; > + pinctrl-0 = <&wlan_pmena>; > + pinctrl-names = "default"; > + clocks = <&max77686 MAX77686_CLK_PMIC>; > + clock-names = "ext_clock"; > + post-power-on-delay-ms = <300>; > + power-off-delay-us = <50>; > + }; > + > + bmp180_vddd_reg: regulator-bmp180-vddd { > + compatible = "regulator-fixed"; > + regulator-name = "BMP180_VDDD"; > + }; > + > + bmp180_vdda_reg: regulator-bmp180-vdda { > + compatible = "regulator-fixed"; > + regulator-name = "BMP180_VDDA"; > + }; > +}; > + > +&clock { > + assigned-clocks = <&clock CLK_FOUT_APLL>; > + assigned-clock-rates = <1000000000>; > +}; > + > +&cpu0 { > + cpu0-supply = <&buck2_reg>; > +}; > + > +&ehci { > + status = "disabled"; > +}; > + > +&i2c_0 { > + status = "okay"; > + samsung,i2c-sda-delay = <100>; > + samsung,i2c-slave-addr = <0x10>; > +}; > + > +&i2c_1 { > + status = "okay"; > + > + pressure@77 { > + compatible = "bosch,bmp180"; > + reg = <0x77>; > + vddd-supply = <&bmp180_vddd_reg>; > + vdda-supply = <&bmp180_vdda_reg>; > + }; > + > + imu@68 { > + compatible = "invensense,mpu6050"; > + reg = <0x68>; > + pinctrl-names = "default"; > + pinctrl-0 = <&acc_int>; > + interrupt-parent = <&gpx1>; > + interrupts = <4 IRQ_TYPE_EDGE_RISING>; > + mount-matrix = "0", "-1", "0", > + "-1", "0", "0", > + "0", "0", "-1"; > + > + i2c-gate { > + #address-cells = <1>; > + #size-cells = <0>; > + > + magnetometer@c { > + compatible = "asahi-kasei,ak8963"; > + reg = <0x0c>; > + pinctrl-names = "default"; > + pinctrl-0 = <&msense_rst>; > + mount-matrix = "-1", "0", "0", > + "0", "1", "0", > + "0", "0", "-1"; > + }; > + }; > + }; > + > + led-controller@42 { > + compatible = "ams,as3668"; > + reg = <0x42>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + status_red: led@0 { > + reg = <0x0>; > + function = LED_FUNCTION_STATUS; > + color = ; > + }; > + > + status_green: led@1 { > + reg = <0x1>; > + function = LED_FUNCTION_STATUS; > + color = ; > + }; > + > + status_blue: led@2 { > + reg = <0x2>; > + function = LED_FUNCTION_STATUS; > + color = ; > + }; > + > + status_white: led@3 { > + reg = <0x3>; > + function = LED_FUNCTION_STATUS; > + color = ; > + }; > + }; > +}; > + > +&i2c_2 { > + status = "okay"; > + > + light-sensor@23 { > + compatible = "rohm,bh1721"; > + reg = <0x23>; > + pinctrl-names = "default"; > + pinctrl-0 = <&bh1721fvc_reset>; > + reset-gpios = <&gph1 2 GPIO_ACTIVE_LOW>; > + }; > + > + onewire@18 { > + compatible = "maxim,ds2484"; > + reg = <0x18>; > + > + pinctrl-names = "default"; > + pinctrl-0 = <&onewire_sleep>; > + }; > +}; > + > +&i2c_5 { > + status = "okay"; > + samsung,i2c-sda-delay = <100>; > + > + max77686: pmic@9 { > + compatible = "maxim,max77686"; > + reg = <0x09>; > + interrupt-parent = <&gpx0>; > + interrupts = <2 IRQ_TYPE_LEVEL_LOW>; > + pinctrl-names = "default"; > + pinctrl-0 = <&max77686_irq>; > + #clock-cells = <1>; > + wakeup-source; > + > + voltage-regulators { > + ldo3_reg: LDO3 { > + regulator-name = "VCC_1.8V_AP"; > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <1800000>; > + regulator-always-on; > + regulator-boot-on; > + }; > + ldo8_reg: LDO8 { > + regulator-name = "VMIPI_1.0V"; > + regulator-min-microvolt = <1000000>; > + regulator-max-microvolt = <1000000>; > + regulator-always-on; > + regulator-boot-on; > + }; > + ldo9_reg: LDO9 { > + regulator-name = "TOUCH_VDD_1.8V"; > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <1800000>; > + }; > + ldo10_reg: LDO10 { > + regulator-name = "VMIPI_1.8V"; > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <1800000>; > + regulator-always-on; > + regulator-boot-on; > + }; > + ldo12_reg: LDO12 { > + regulator-name = "VUOTG_3.0V"; > + regulator-min-microvolt = <3000000>; > + regulator-max-microvolt = <3000000>; > + regulator-always-on; > + regulator-boot-on; > + }; > + ldo15_reg: LDO15 { > + regulator-name = "VHSIC_1.0V"; > + regulator-min-microvolt = <1000000>; > + regulator-max-microvolt = <1000000>; > + regulator-always-on; > + regulator-boot-on; > + }; > + ldo16_reg: LDO16 { > + regulator-name = "VHSIC_1.8V"; > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <1800000>; > + regulator-always-on; > + regulator-boot-on; > + }; > + ldo17_reg: LDO17 { > + regulator-name = "5M_CORE_1.5V"; > + regulator-min-microvolt = <1500000>; > + regulator-max-microvolt = <1500000>; > + }; > + ldo18_reg: LDO18 { > + regulator-name = "CAM_IO_1.8V"; > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <1800000>; > + }; > + ldo19_reg: LDO19 { > + regulator-name = "VT_CAM_1.8V"; > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <1800000>; > + }; > + ldo20_reg: LDO20 { > + regulator-name = "TA_CHECK_1.35V"; > + regulator-min-microvolt = <1350000>; > + regulator-max-microvolt = <1350000>; > + }; > + ldo23_reg: LDO23 { > + regulator-name = "TSP_AVDD_2.8V"; > + regulator-min-microvolt = <2800000>; > + regulator-max-microvolt = <2800000>; > + }; > + ldo24_reg: LDO24 { > + regulator-name = "CAM_AF_2.8V"; > + regulator-min-microvolt = <2800000>; > + regulator-max-microvolt = <2800000>; > + }; > + ldo25_reg: LDO25 { > + regulator-name = "VADC_3.3V"; > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > + regulator-always-on; > + regulator-boot-on; > + }; > + buck1_reg: BUCK1 { > + regulator-name = "vdd_mif"; > + regulator-min-microvolt = <850000>; > + regulator-max-microvolt = <1200000>; > + regulator-always-on; > + regulator-boot-on; > + }; > + buck2_reg: BUCK2 { > + regulator-name = "vdd_arm"; > + regulator-min-microvolt = <850000>; > + regulator-max-microvolt = <1200000>; > + regulator-always-on; > + regulator-boot-on; > + }; > + buck3_reg: BUCK3 { > + regulator-name = "vdd_int"; > + regulator-min-microvolt = <850000>; > + regulator-max-microvolt = <1200000>; > + regulator-always-on; > + regulator-boot-on; > + }; > + buck4_reg: BUCK4 { > + regulator-name = "vdd_g3d"; > + regulator-min-microvolt = <850000>; > + regulator-max-microvolt = <1200000>; > + regulator-boot-on; > + }; > + }; > + }; > +}; > + > +&mali { > + status = "okay"; > + mali-supply = <&buck4_reg>; > +}; > + > +&mixer { > + status = "okay"; > +}; > + > +/* eMMC */ > +&mmc_0 { > + status = "okay"; > + non-removable; > + max-frequency = <200000000>; > + sd-uhs-ddr50; > + mmc-ddr-1_8v; > + cap-mmc-hw-reset; > + mmc-hs200-1_8v; > + bus-width = <8>; > + card-detect-delay = <200>; > + samsung,dw-mshc-ciu-div = <3>; > + samsung,dw-mshc-sdr-timing = <1 2>; > + samsung,dw-mshc-ddr-timing = <2 3>; > + pinctrl-names = "default"; > + pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; > +}; > + > +/* WiFi */ > +&mmc_1 { > + status = "okay"; > + non-removable; > + max-frequency = <100000000>; > + sd-uhs-sdr50; > + cap-sd-highspeed; > + keep-power-in-suspend; > + bus-width = <4>; > + card-detect-delay = <0>; > + samsung,dw-mshc-ciu-div = <3>; > + samsung,dw-mshc-sdr-timing = <2 4>; > + samsung,dw-mshc-ddr-timing = <2 3>; > + pinctrl-names = "default"; > + pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_bus4>; > + mmc-pwrseq = <&wlan_pwrseq>; > + > + wifi@1 { > + compatible = "brcm,bcm4330-fmac", "brcm,bcm4329-fmac"; > + reg = <1>; > + interrupt-parent = <&gpx2>; > + interrupts = <5 IRQ_TYPE_NONE>; > + interrupt-names = "host-wake"; > + pinctrl-names = "default"; > + pinctrl-0 = <&wlan_irq>; > + }; > +}; > + > +&ohci { > + status = "disabled"; > +}; > + > +&pinctrl_0 { > + acc_int: acc-int-pins { > + samsung,pins = "gpx1-4"; > + samsung,pin-function = ; > + samsung,pin-pud = ; > + }; > + > + max77686_irq: max77686-irq-pins { > + samsung,pins = "gpx0-2"; > + samsung,pin-function = ; > + samsung,pin-pud = ; > + samsung,pin-drv = ; > + }; > + gpio_keys: gpio-keys-pins-pins { > + samsung,pins = "gpx2-0", "gpx2-1", "gpx2-7", "gpx1-3"; > + samsung,pin-pud = ; > + }; > + wlan_irq: wlan-irq-pins { > + samsung,pins = "gpx2-5"; > + samsung,pin-function = ; > + samsung,pin-pud = ; > + samsung,pin-drv = ; > + }; > +}; > + > +&pinctrl_1 { > + bh1721fvc_reset: bh1721fvc-reset-pins { > + samsung,pins = "gph1-2"; > + samsung,pin-function = ; > + samsung,pin-pud = ; > + }; > + msense_rst: msense-rst-pins { > + samsung,pins = "gpg2-0"; > + samsung,pin-function = ; > + }; > + onewire_sleep: onewire-sleep-pins { > + samsung,pins = "gpg0-0"; > + samsung,pin-function = ; > + samsung,pin-pud = ; > + samsung,pin-con-pdn = ; > + samsung,pin-pud-pdn = ; > + }; > +}; > + > +&pinctrl_2 { > + wlan_pmena: wlan-pmena-pins { > + samsung,pins = "gpv1-0"; > + samsung,pin-function = ; > + samsung,pin-pud = ; > + samsung,pin-drv = ; > + samsung,pin-con-pdn = ; > + samsung,pin-val = <0>; > + }; > +}; > + > +&pmu_system_controller { > + assigned-clocks = <&pmu_system_controller 0>; > + assigned-clock-parents = <&clock CLK_FIN_PLL>; > +}; > + > +&sd1_bus4 { > + samsung,pin-con-pdn = ; > + samsung,pin-pud-pdn = ; > +}; > + > +&sd1_cmd { > + samsung,pin-con-pdn = ; > + samsung,pin-pud-pdn = ; > +}; > + > +/* Bluetooth */ > +&serial_0 { > + status = "disabled"; > +}; > + > +&serial_1 { > + pinctrl-names = "default", "flow-control"; > + pinctrl-0 = <&uart1_data>; > + pinctrl-1 = <&uart1_data>, <&uart1_fctl>; > +}; > + > +&serial_2 { > + pinctrl-names = "default", "flow-control"; > + pinctrl-0 = <&uart2_data>; > + pinctrl-1 = <&uart2_data>, <&uart2_fctl>; > +}; > + > +&usbdrd { > + status = "disabled"; > +}; > + > +&usbdrd_dwc3 { > + status = "disabled"; > +}; > + > +&usbdrd_phy { > + status = "disabled"; > +}; > -- > 2.52.0 > >