Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp697116rwb; Wed, 26 Jul 2023 01:00:44 -0700 (PDT) X-Google-Smtp-Source: APBJJlHjHuAeyJNB0scjCg0/U2cTXJBjNv5KRiHEMsmOIRbmpYu7aCdLbNFDW/eX5ECSRtAzMX+J X-Received: by 2002:a17:903:248:b0:1b6:6bf0:eb8f with SMTP id j8-20020a170903024800b001b66bf0eb8fmr1743500plh.38.1690358443824; Wed, 26 Jul 2023 01:00:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690358443; cv=none; d=google.com; s=arc-20160816; b=QSfDlr023Fheu8w8r0m5LnTZgn8SSX+pif2LEweFqyd1fQg1M1cYjSxOmckeDIx7wi YNdP4JxlKd/Y6RAGNY9iPi12Nsw+3zBcKSnDnDt9jNwLaJIwnYq0yrZxggExlJ9qtfqa h6zjlINUzY9Jrb/5tQ20g807kViWKm97g45OaxhJrxpVIKIOHcNebdgoaA83/CExQ12J sWQuH+iXIXbCmE6myiBS6sONPDMDuvGZ/RjSd66rSaUEC/O8fNBeYj+VDtEmXJQzijao OVUxrAtr32Cw6z7qB9tvxc/q8wLhSRmB5NaBd9D5+WA0NY+TpKOna8eTq2FnKhR3/6Ao 9cZA== 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=F4NEIl0PF0jWLTgC3MG7VZaECShTTB2BR5eqLLfzHn0=; fh=IitQIKDdY3BMj2TGQW0iAPy0s1dkksjDYTJj1MeHrvw=; b=zhtmsLO8OD2o284ubochbAwvlqah+2aARFV6cxH5nBp4BI1ur0fuSGVWO4iK1V7wMe 2SCMdiFr1nuCtKz8S8votMfeVUdFZJSt+6+eo3WUigFZNNf0YxAYfZBnMweuh18iiWYR 4/x77UW3doWYyrjefdCU7EF71v2Wef5e3gPHPqZWfAdMIxLr1GM0MO/ZK2Ec5rGwhLe8 MjTtufViF/q4hOs4f3wzHqz61yA5q5D7ZujXcr3eejbaU9YGU4ydBxrsEWnr+E0azqmd xiSBOv+6EN85dQhQdaiLCVHwe7Di3JrA+Rh1Eb2ByMTc8ovSpP4XNxQIObG9Kl81/Ah/ b3OA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fJBgXQ+8; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q16-20020a170902dad000b001bbca17f285si980134plx.421.2023.07.26.01.00.30; Wed, 26 Jul 2023 01:00:43 -0700 (PDT) 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=@linaro.org header.s=google header.b=fJBgXQ+8; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232190AbjGZHG3 (ORCPT + 99 others); Wed, 26 Jul 2023 03:06:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230071AbjGZHFm (ORCPT ); Wed, 26 Jul 2023 03:05:42 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53E8349E4 for ; Wed, 26 Jul 2023 00:03:39 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-5221f193817so5676933a12.3 for ; Wed, 26 Jul 2023 00:03:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690355017; x=1690959817; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=F4NEIl0PF0jWLTgC3MG7VZaECShTTB2BR5eqLLfzHn0=; b=fJBgXQ+8eV+aY5RpuuTg+SXdJ82OameqMpnOM06NXyGaJkQa7LSY8oytbkt9cvaZuL XRBu2MGH9aKCYb1L7h//H8eFqvXRjdrTHzhO3820qwDp6MuJcia5+t5M9ixdWfOlxjYW /SAH6L8ADxt7NnHTemHkeh3n0shIfBOT23sOoxVY/rXTkSx7zhHKWuz5mv22Geq+iW4E ICpM7lTYjJeeGifNGSJ48vLLXbVedBeaO1Cu/xfTldupF0JYmiaXca6hrnRX79onNPRG G0iZVJt5rZ4p1+HuN5vH597gr1udFu+8mwANey/g9Hs8/ZZEzA10A1r/yra1NOeHHZto urqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690355017; x=1690959817; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=F4NEIl0PF0jWLTgC3MG7VZaECShTTB2BR5eqLLfzHn0=; b=MBCMMYi+KOZVyXxcxx7o8PMRE+22nqNAePFKb+YoJ4EIUbXNpXYJNMSDWwIRk/k2fy KRnxkdm1Bf5zA55eAIjpqYJnM5UYyc/qEF/WO5l6hNQcz5HgyJLhhc8ErBSABbQgSYTf OOVssf+riorIG0kJjKryZfR6D44EwR+YlCH+tMULU0l9J8oHrF/qvPyQqKPicU1cG4vQ gO6Tb79XuvDJ/fpkGdAPbDaxqggqjkPcU2eNq60B04+SgFJ0gbsahN/NWPzdp6F4jhYz xx76uy/+ngGXOjMph2Ykl98DjxXnttKBYoYA6tdNSAl8FJ6CY1ba9mimNWS8t3UgIiTA aQ8w== X-Gm-Message-State: ABy/qLbIuEB1xd1cQ+R7oS3FCH6dirud1AUeSEyE1xXDMi5LfdRhQSW8 LaVxwqt5ODFkvt9UwwSz0nnPQA== X-Received: by 2002:aa7:c901:0:b0:522:4766:6990 with SMTP id b1-20020aa7c901000000b0052247666990mr810358edt.6.1690355017598; Wed, 26 Jul 2023 00:03:37 -0700 (PDT) Received: from krzk-bin.. ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id dy16-20020a05640231f000b005224f840130sm1572003edb.60.2023.07.26.00.03.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jul 2023 00:03:37 -0700 (PDT) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Maxime Coquelin , Alexandre Torgue , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com Cc: Krzysztof Kozlowski Subject: [PATCH 6/8] ARM: dts: imx25: drop incorrect reg in fixed regulators Date: Wed, 26 Jul 2023 09:03:20 +0200 Message-Id: <20230726070322.103871-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230726070322.103871-1-krzysztof.kozlowski@linaro.org> References: <20230726070322.103871-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 Fixed regulators are not in some bus and bindings do not allow a "reg" property. Move them out of "regulators" node to top-level. Signed-off-by: Krzysztof Kozlowski --- ...25-eukrea-mbimxsd25-baseboard-cmo-qvga.dts | 25 +++----- arch/arm/boot/dts/nxp/imx/imx25-karo-tx25.dts | 21 +++---- arch/arm/boot/dts/nxp/imx/imx25-pdk.dts | 62 ++++++++----------- 3 files changed, 42 insertions(+), 66 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx25-eukrea-mbimxsd25-baseboard-cmo-qvga.dts b/arch/arm/boot/dts/nxp/imx/imx25-eukrea-mbimxsd25-baseboard-cmo-qvga.dts index 7d4301b22b90..fc8a502fc957 100644 --- a/arch/arm/boot/dts/nxp/imx/imx25-eukrea-mbimxsd25-baseboard-cmo-qvga.dts +++ b/arch/arm/boot/dts/nxp/imx/imx25-eukrea-mbimxsd25-baseboard-cmo-qvga.dts @@ -30,22 +30,15 @@ qvga_timings: 320x240 { }; }; - regulators { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <0>; - - reg_lcd_3v3: regulator@0 { - compatible = "regulator-fixed"; - reg = <0>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_reg_lcd_3v3>; - regulator-name = "lcd-3v3"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - gpio = <&gpio1 26 GPIO_ACTIVE_HIGH>; - enable-active-high; - }; + reg_lcd_3v3: regulator-0 { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_reg_lcd_3v3>; + regulator-name = "lcd-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio1 26 GPIO_ACTIVE_HIGH>; + enable-active-high; }; }; diff --git a/arch/arm/boot/dts/nxp/imx/imx25-karo-tx25.dts b/arch/arm/boot/dts/nxp/imx/imx25-karo-tx25.dts index 57d5ade5aa46..458b94d3d4ed 100644 --- a/arch/arm/boot/dts/nxp/imx/imx25-karo-tx25.dts +++ b/arch/arm/boot/dts/nxp/imx/imx25-karo-tx25.dts @@ -14,20 +14,13 @@ chosen { stdout-path = &uart1; }; - regulators { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <0>; - - reg_fec_phy: regulator@0 { - compatible = "regulator-fixed"; - reg = <0>; - regulator-name = "fec-phy"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - gpio = <&gpio4 9 0>; - enable-active-high; - }; + reg_fec_phy: regulator-0 { + compatible = "regulator-fixed"; + regulator-name = "fec-phy"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio4 9 0>; + enable-active-high; }; memory@80000000 { diff --git a/arch/arm/boot/dts/nxp/imx/imx25-pdk.dts b/arch/arm/boot/dts/nxp/imx/imx25-pdk.dts index fb66884d8a2f..04f4b127a172 100644 --- a/arch/arm/boot/dts/nxp/imx/imx25-pdk.dts +++ b/arch/arm/boot/dts/nxp/imx/imx25-pdk.dts @@ -16,45 +16,35 @@ memory@80000000 { reg = <0x80000000 0x4000000>; }; - regulators { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <0>; + reg_fec_3v3: regulator-0 { + compatible = "regulator-fixed"; + regulator-name = "fec-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio2 3 0>; + enable-active-high; + }; - reg_fec_3v3: regulator@0 { - compatible = "regulator-fixed"; - reg = <0>; - regulator-name = "fec-3v3"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - gpio = <&gpio2 3 0>; - enable-active-high; - }; + reg_2p5v: regulator-1 { + compatible = "regulator-fixed"; + regulator-name = "2P5V"; + regulator-min-microvolt = <2500000>; + regulator-max-microvolt = <2500000>; + }; - reg_2p5v: regulator@1 { - compatible = "regulator-fixed"; - reg = <1>; - regulator-name = "2P5V"; - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <2500000>; - }; + reg_3p3v: regulator-2 { + compatible = "regulator-fixed"; + regulator-name = "3P3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; - reg_3p3v: regulator@2 { - compatible = "regulator-fixed"; - reg = <2>; - regulator-name = "3P3V"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - }; - - reg_can_3v3: regulator@3 { - compatible = "regulator-fixed"; - reg = <3>; - regulator-name = "can-3v3"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - gpio = <&gpio4 6 0>; - }; + reg_can_3v3: regulator-3 { + compatible = "regulator-fixed"; + regulator-name = "can-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio4 6 0>; }; sound { -- 2.34.1