Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp494572pxk; Thu, 1 Oct 2020 07:29:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzT3NZtrYzpgCoc+FS+1VZbpwjxpQ38CCI0b0mjNGy37eBVt60B8fzHSoTPbiBSaNxJ5qVa X-Received: by 2002:a17:907:4276:: with SMTP id nq6mr8000055ejb.246.1601562593730; Thu, 01 Oct 2020 07:29:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601562593; cv=none; d=google.com; s=arc-20160816; b=Ke8n/2Lhwr1tZmeyk4Y5qtzm1CcQLuv3UDbajqJY24w85tof9apqPrKRYghuLy6PP1 kzULXVwX8B6RYwO/bp4xKP/YQ2S2qM/jSYDC8a3UUajYe9sGQ6TalkXKmA1vxW2V+h6H IK/RS16kpHNyXdXDv1ua2N+rO0FJZA/0AtpA6U8TcI3ZtAi+P6PYBlBBhhjnypMpDMbp gc0RzK2y1AerKmUx2Ygjh/k3n2dUfkSVj6HoagdB2Ee+h0J8MT+t/Fw++gR2sHT+P1nk c81RbQpfzzCHXgl/X+4vZ9d93EN/PFS8VSMWUMpbkgBunNGvAQtF3iASkHl37ff6LQdq QEkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Wfd3eCV8V1m9D4gpmFxhcSVnIj/jfEw3oxbgw0NyOwQ=; b=a6SoaJ9LtzG+mopYIpq7WhJ1cUDfg8gTXVnw0nBjSCVeM7gkqAGn9Ye5HY1NjQgpP0 B3jj62fiC5Y3kJVG4GVPvwzMzKYwxehn27N3vHPlsBM08dxDvyXQKn/wMs+4X988+4rb o2Wbo7lA77i8LB/DymmqAQVAsWEO+1iG1ZlYR5mq6UQVgOXDNNlFnEb8Q+inmka9JLoV x6fJsWoM6i2uvBg8nNgyVsnwizAPmrM1TuqE3GI5eyQaoUNt0iCsJbUE/uTZNKVvcZJJ llHBVLPg6WnOVVAeT/yp9xRFi+TOWmoSNPrYRAGk08DShGwOmyaXHCXUJ8NFLLsNrUmr k9pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=K7qsOdOr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bl4si3640821ejb.368.2020.10.01.07.29.31; Thu, 01 Oct 2020 07:29:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=K7qsOdOr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732531AbgJAOZa (ORCPT + 99 others); Thu, 1 Oct 2020 10:25:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:43998 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732099AbgJAOZ3 (ORCPT ); Thu, 1 Oct 2020 10:25:29 -0400 Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 78D0C221EF; Thu, 1 Oct 2020 14:25:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601562328; bh=7IxxHuTn6pG3paS/ct7dqGz5Fv9KdwfGBK5Jk1r/w8I=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=K7qsOdOr1AvHBIknPLe7P9uNa8vZdb3ICILpo7IrLtutUZMXm/VojZxn3vc5ZnEO9 ZysWMD6wr+CFZ7b7mxxPAEO3Gvfrkm+b4nmvq6AxsyMF7eY8PrR1FlylJXMUdVQWyo DTrpL/a7GEh9GYSOdueeCQS5zOXOQe2RGZVaJKVg= Received: by mail-ed1-f44.google.com with SMTP id t16so5842570edw.7; Thu, 01 Oct 2020 07:25:28 -0700 (PDT) X-Gm-Message-State: AOAM530Dlw2tNLuAmmlSkl0E7e5S1u4KxH9h6EPCMCO723W7u++A5pHJ zatK1EKlEyLIs6PjeFIF+wCdJdw4UE+WmyV8B40= X-Received: by 2002:a50:cc8d:: with SMTP id q13mr8338596edi.298.1601562326977; Thu, 01 Oct 2020 07:25:26 -0700 (PDT) MIME-Version: 1.0 References: <20201001120717.13027-1-frieder.schrempf@kontron.de> <20201001125722.GA6082@kozik-lap> <985c5eb3-3f8a-2b70-8831-b7b52671ee4f@kontron.de> <6f2b294f-9f28-fe1b-bd1a-d32cbdb86e00@kontron.de> In-Reply-To: <6f2b294f-9f28-fe1b-bd1a-d32cbdb86e00@kontron.de> From: Krzysztof Kozlowski Date: Thu, 1 Oct 2020 16:25:14 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 1/2] arm64: dts: Add the Kontron i.MX8M Mini SoMs and baseboards To: Frieder Schrempf Cc: Andreas Kemnade , Anson Huang , Fabio Estevam , Li Yang , Marcel Ziswiler , Marco Felsch , Michael Walle , NXP Linux Team , Pengutronix Kernel Team , Robert Jones , Rob Herring , Sascha Hauer , =?UTF-8?Q?S=C3=A9bastien_Szymanski?= , Shawn Guo , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 1 Oct 2020 at 16:24, Frieder Schrempf wrote: > > On 01.10.20 15:30, Frieder Schrempf wrote: > > On 01.10.20 14:57, Krzysztof Kozlowski wrote: > >> On Thu, Oct 01, 2020 at 02:06:58PM +0200, Schrempf Frieder wrote: > >>> From: Frieder Schrempf > >>> > >>> Kontron Electronics GmbH offers small and powerful SoMs based on the > >>> i.MX8M Mini SoC including PMIC, LPDDR4-RAM, eMMC and SPI NOR. > >>> > >>> The matching baseboards have the same form factor and similar interfaces > >>> as the other boards from the Kontron "Board-Line" family, including > >>> SD card, 1G Ethernet, 100M Ethernet, USB Host/OTG, digital IOs, RS232, > >>> RS485, CAN, LVDS or HDMI, RTC and much more. > >>> > >>> Signed-off-by: Frieder Schrempf > >>> --- > >>> Changes for v3: > >>> * Remove needless status properties > >>> * Remove needless regulator properties for reg_vdd_5v > >>> * Use proper PHY reset properties in PHY node > >>> * Use phy-connection-type instead of phy-mode > >>> * Adjust PMIC node name and label > >>> * Add over-current-active-low to usbotg1 node > >>> * Remove redundant bus-width property from usdhc2 node > >>> * Remove needless regulator-compatible from reg_vdd_snvs > >>> * Set minimum voltage to 85mV for reg_vdd_snvs > >>> > >>> Changes for v2: > >>> * Make the licensing less strict (GPL-2.0+ OR MIT) > >>> * Merge the SoM and baseboard DTs for N8010 and N8011 into one as > >>> they only differ in DDR and eMMC size. > >>> * Change compatibles and model strings to "n810x" and "N8010X". > >>> * Only use a common memory node that will be updated by the > >>> bootloader reflecting the detected DDR size. > >>> * Improve naming for 16MHz CAN fixed oscillator and set > >>> "clock-output-names". > >>> * Consistently use "reg_" prefix for regulators. > >>> * Remove "userspi" node. > >>> * Slightly improve commit message. > >>> --- > >>> .../dts/freescale/imx8mm-kontron-n801x-s.dts | 323 ++++++++++++++++++ > >>> .../freescale/imx8mm-kontron-n801x-som.dtsi | 293 ++++++++++++++++ > >>> 2 files changed, 616 insertions(+) > >>> create mode 100644 > [...] > >> > >>> + > >>> + regulators { > >>> + reg_vdd_soc: BUCK1 { > >>> + regulator-name = "BUCK1"; > >> > >> All regulator names should be lowercase, as dtschema asks. Node names > >> can stay uppercase, although I guess it would be better to have them > >> lower as it is also naming convention for device tree. > > > > Ok, I will change the regulator and node names to lowercase. > > I just found out that the pca9450 driver actually uses the upper case > node names for matching. So I will keep the upper case node names for > now and only change the regulator names. > > Afterwards we can fix the node names in the driver and in the DTs in a > separate patch if required. Right, I forgot that it's important for the driver. Thanks for checking it. Best regards, Krzysztof