From patchwork Wed Jan 18 10:52:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 45196 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2289681wrn; Wed, 18 Jan 2023 03:46:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXtptxZhtZHMybi0wIH0Vh8ApuRVPJ7v3Mj7zo4xKwidhie6LwybkDKK8C7rZjOHATDgFiS/ X-Received: by 2002:aa7:9d04:0:b0:58d:8ec3:90a1 with SMTP id k4-20020aa79d04000000b0058d8ec390a1mr7892459pfp.30.1674042365923; Wed, 18 Jan 2023 03:46:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674042365; cv=none; d=google.com; s=arc-20160816; b=mhpggKRQyOaR+NVqGVA0UhrY75Gr6fPCmru8Gl8CZf5olV0eo80YVbN38h0z4XQMga kMescyEPE7i8zXFxhF0GsGEgDISbjkddq8u3AwCP8KrPzaUmK6NECoG7DiT6pmcpuyyP 9dMA+udPl4XF+udMBBkDL+s1wqal2561qnOY8enSuubeEQMQJh04Dtb6qu/MDLgCyqa4 pU4MnLG2daBk/YIrANOyZ+pZd0ahZXbWEim6YaPm0DPZUR9exQmRoAoNIo9DhXLkoOrF W+QS8XD+hFwVNQE8odfwaSShNxyrAK/D4KbwhlJDWjahe9p86eXvB7Aqtez+c9cy8RzB nJXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UOxFFh6BJXlXmNDhfLa0+kb0CUNX11xG/Ik/hpOtKR8=; b=qldPwqkjWb5PqTWLb0QmuMZ+1866Hw8Se3nYClRuZmiwR5JixuCLXu3wBsyjkMZRgv laigpHJ+FYRkmcmuTzMw8lZdlLo6Klw9g4FXj4nuAEpzxlScuSxVIUHbYtW+H6kk2z1H jBGywfguPYyK2uAaks//qfihDNk3CXfXp6n/dCAiabNJ9T+kL9MV4CcWV42Msdk8LQh/ g6EB78yB/XynBH+ccI7Ny2t6MUZsf+mGEkn8RT1EHxAIhJGjWWBIUwYMobI9zTmNU29D SIKa/w5t31eCe6WnjVvdScTWyDquG9cHH2bA9ioA98wt9h07wCSTCqYs7kr4nm+NFL5L PzWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=ysSIVeVc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w186-20020a6230c3000000b0058954c5a9a3si25139447pfw.121.2023.01.18.03.45.54; Wed, 18 Jan 2023 03:46:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=ysSIVeVc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230044AbjARLpM (ORCPT + 99 others); Wed, 18 Jan 2023 06:45:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229886AbjARLn6 (ORCPT ); Wed, 18 Jan 2023 06:43:58 -0500 X-Greylist: delayed 643 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 18 Jan 2023 03:03:53 PST Received: from smtp-190a.mail.infomaniak.ch (smtp-190a.mail.infomaniak.ch [IPv6:2001:1600:4:17::190a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FE9B69B01 for ; Wed, 18 Jan 2023 03:03:08 -0800 (PST) Received: from smtp-2-0001.mail.infomaniak.ch (unknown [10.5.36.108]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4NxjKC4t7WzMr8hc; Wed, 18 Jan 2023 11:53:03 +0100 (CET) Received: from unknown by smtp-2-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4NxjKC0fXyzMpxwW; Wed, 18 Jan 2023 11:53:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1674039183; bh=5xYLCetMGqkTkOYH9Rss/uAtdDJh1Jbj+W770F/N5yk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ysSIVeVcuXaf1ezB4JzMS+SJk/icq+BsbUzU8uknpRDpIygqRgihN6ljhtFm7JGBF GgcqoW6G3p4XZ5dv0XsGjWbkI3vrhmJRUXVVtu2k9wLNugilACw1aGo8h2E9gx7KYm M9Fnk6SFgZJYG2BoZ0ex+jffjoyLSg7JyKVIeQ/0= From: Philippe Schenker To: devicetree@vger.kernel.org Cc: Rob Herring , Philippe Schenker , Emanuele Ghidoli , Fabio Estevam , Francesco Dolcini , Krzysztof Kozlowski , Marcel Ziswiler , NXP Linux Team , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] arm64: dts: imx8mm-verdin-dev: Do not include dahlia dtsi Date: Wed, 18 Jan 2023 11:52:50 +0100 Message-Id: <20230118105251.6035-2-dev@pschenker.ch> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230118105251.6035-1-dev@pschenker.ch> References: <20230118105251.6035-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755360647877315822?= X-GMAIL-MSGID: =?utf-8?q?1755360647877315822?= From: Philippe Schenker Inheriting the dahlia devicetree leads to inheriting certain settings for the audio-codec that are not correct and hence the dt schema check failing. Remove that include and put all nodes back that had been included. Signed-off-by: Philippe Schenker --- .../boot/dts/freescale/imx8mm-verdin-dev.dtsi | 96 ++++++++++++++++++- 1 file changed, 94 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin-dev.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-verdin-dev.dtsi index b2bcd2282170..3c4b8ca125e3 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-verdin-dev.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin-dev.dtsi @@ -3,8 +3,6 @@ * Copyright 2022 Toradex */ -#include "imx8mm-verdin-dahlia.dtsi" - / { sound_card: sound-card { compatible = "simple-audio-card"; @@ -42,27 +40,121 @@ simple-audio-card,cpu { }; }; +/* Verdin SPI_1 */ +&ecspi2 { + status = "okay"; +}; + +/* EEPROM on display adapter boards */ +&eeprom_display_adapter { + status = "okay"; +}; + +/* EEPROM on Verdin Development board */ +&eeprom_carrier_board { + status = "okay"; +}; + +&fec1 { + status = "okay"; +}; + +/* Verdin QSPI_1 */ +&flexspi { + status = "okay"; +}; + +/* Current measurement into module VCC */ +&hwmon { + status = "okay"; +}; + +&hwmon_temp { + vs-supply = <®_1p8v>; + status = "okay"; +}; + +&i2c3 { + status = "okay"; +}; + &gpio_expander_21 { status = "okay"; }; /* Verdin I2C_1 */ &i2c4 { + status = "okay"; + /* Audio Codec */ nau8822_1a: audio-codec@1a { compatible = "nuvoton,nau8822"; reg = <0x1a>; + #sound-dai-cells = <0>; }; }; +/* Verdin PCIE_1 */ +&pcie0 { + status = "okay"; +}; + +&pcie_phy { + status = "okay"; +}; + +/* Verdin PWM_3_DSI */ +&pwm1 { + status = "okay"; +}; + +/* Verdin PWM_1 */ +&pwm2 { + status = "okay"; +}; + +/* Verdin PWM_2 */ +&pwm3 { + status = "okay"; +}; + +/* Verdin I2S_1 */ +&sai2 { + status = "okay"; +}; + +/* Verdin UART_3 */ +&uart1 { + status = "okay"; +}; + /* Verdin UART_1, connector X50 through RS485 transceiver */ &uart2 { linux,rs485-enabled-at-boot-time; rs485-rts-active-low; rs485-rx-during-tx; + status = "okay"; +}; + +/* Verdin UART_2 */ +&uart3 { + status = "okay"; +}; + +/* Verdin USB_1 */ +&usbotg1 { + disable-over-current; + status = "okay"; +}; + +/* Verdin USB_2 */ +&usbotg2 { + disable-over-current; + status = "okay"; }; /* Limit frequency on dev board due to long traces and bad signal integrity */ &usdhc2 { max-frequency = <100000000>; + status = "okay"; };