Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2290698pxm; Fri, 4 Mar 2022 13:13:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJxs6lOELH1CCaW0KB9YlKV/WkZPP1kQa2b3jnYDes6mzDc4lqx4G8MlayT7hjivMPkD1r/+ X-Received: by 2002:a17:90b:3b4f:b0:1bf:c01:a7d4 with SMTP id ot15-20020a17090b3b4f00b001bf0c01a7d4mr512458pjb.241.1646428404392; Fri, 04 Mar 2022 13:13:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646428404; cv=none; d=google.com; s=arc-20160816; b=yH1kqzmxSUr6wvrE+50sp/Pg2lEPUhByDwylQ9SGXioH6bhuCPoIym0bAzDzfLzajM uB/WgeLqPCfFUdn5ZMLU8vJ0+LJMpDj3chJIIRuuuKSFbofHXWgVnJmxvAJpo5ybOVXk VQ1tYslXp3yMXmQFgAPza4VughSQ02YYbCanF0tgD/58zd5P2fLXV18+V0xutcnK3fJO X6+kwv28u6ZD0WDO1cg1YwQMgMQ36wscg99hMk6prUhd/ZJSI/ls+f7dTqXt45CbAu8o gSYqNOkHGDqLqLbAHxf+xbMlChDQlCyC+ASLd0cvneYRRuDrQXi1iTpfvzFy2KhHn2eF wHDQ== 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 :message-id:date:subject:cc:to:from; bh=EY9hak+iu9fGJ+F3hWusD/srRz90e1L1jUM7ENmyTjs=; b=v4oX2m8B12aSyfSZs04hv+KbZ2H81hHeLCUR4zmKtLScd2kmLiFNB2yPgGuBfBweeg zRuCHa/SEu3XeTLpL1nComMhO8BJhilxMIZpbGRK/YhRBDgGrr3m2K7PlpHIob9h3mBJ cr9rGK8TN3PzIfy0GD2Vq3qwy1YF4FyXBU7ztJXyFR2QiJw5uaSoxvRDFR3PkCdz516l Rz/jjmAQfCh6gsc8xR3ppsKVL0sKBCkK4CFTSzbT4QrFAjFwx0bDugM+Ip2yuYWsVOPR x/R/YPgzxsnY6ttzHXWX9FyKpIBfdtO5T8mMg8J5IXgF9WWrtut+DwDSApdXGFNt8dm6 s30Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id w8-20020a056a0014c800b004f3c9085de4si5853897pfu.284.2022.03.04.13.13.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Mar 2022 13:13:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D101041632; Fri, 4 Mar 2022 12:26:13 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229473AbiCDU0P (ORCPT + 99 others); Fri, 4 Mar 2022 15:26:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229846AbiCDU0O (ORCPT ); Fri, 4 Mar 2022 15:26:14 -0500 Received: from mail-ot1-f50.google.com (mail-ot1-f50.google.com [209.85.210.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29CFA1EC255; Fri, 4 Mar 2022 12:25:24 -0800 (PST) Received: by mail-ot1-f50.google.com with SMTP id j9-20020a9d7d89000000b005ad5525ba09so8305495otn.10; Fri, 04 Mar 2022 12:25:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=EY9hak+iu9fGJ+F3hWusD/srRz90e1L1jUM7ENmyTjs=; b=l+DxP2oJjty/u46LNZs+Qi7LbA2CRhrNdrElLtawR3UjQjKTwV1S5Nvzu4rDiWJb3+ pR+/4GzKloIk6dxL5mtTtE1xL3KAqbF6cvE4eD3hTYl2cm9WN60ktAIEjCsC1wL21L3x 6MfiB3yS9nmfW+ly8T/AQ2r8xYBCsfD28CgI+chUczK/04sdUe7Hu3kyxUJVwMWA0XUz jXDoSxk5xTIUhVnzXWCjqEXQoyO7FrWG6i3sHcCVFAKzOf6VroVk6HdTSXGXvS67997y nwie4908Cx83uV/Uk/OgayzAWfQQSdKQxC7z9IjbgGSx9+DBlB4FoNEdhb3VaZpKcJ3m PoBg== X-Gm-Message-State: AOAM531iz72SgVtBYjWvjam0rSUSvWmpLXQhXKfEUqKFSkrR0eJasB9H CZEApikcuiT485mnhEoIhQ== X-Received: by 2002:a9d:4b17:0:b0:5af:a888:d0e1 with SMTP id q23-20020a9d4b17000000b005afa888d0e1mr202230otf.163.1646425523375; Fri, 04 Mar 2022 12:25:23 -0800 (PST) Received: from xps15.herring.priv (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.googlemail.com with ESMTPSA id b15-20020a05687061cf00b000d17a5f0ee6sm2834507oah.11.2022.03.04.12.25.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Mar 2022 12:25:22 -0800 (PST) From: Rob Herring To: Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm: dts: imx: Fix boolean properties with values Date: Fri, 4 Mar 2022 14:25:18 -0600 Message-Id: <20220304202518.316164-1-robh@kernel.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Boolean properties in DT are present or not present and don't take a value. A property such as 'foo = <0>;' evaluated to true. IOW, the value doesn't matter. It may have been intended that 0 values are false, but there is no change in behavior with this patch. Signed-off-by: Rob Herring --- arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi | 32 +++++++++---------- .../dts/imx6ul-phytec-segin-peb-av-02.dtsi | 4 +-- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi b/arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi index 563bf9d44fe0..0b90c3f59f89 100644 --- a/arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi +++ b/arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi @@ -154,112 +154,112 @@ pmic@58 { regulators { bcore1 { regulator-name = "bcore1"; - regulator-always-on = <1>; + regulator-always-on; regulator-min-microvolt = <300000>; regulator-max-microvolt = <3300000>; }; bcore2 { regulator-name = "bcore2"; - regulator-always-on = <1>; + regulator-always-on; regulator-min-microvolt = <300000>; regulator-max-microvolt = <3300000>; }; bpro { regulator-name = "bpro"; - regulator-always-on = <1>; + regulator-always-on; regulator-min-microvolt = <300000>; regulator-max-microvolt = <3300000>; }; bperi { regulator-name = "bperi"; - regulator-always-on = <1>; + regulator-always-on; regulator-min-microvolt = <300000>; regulator-max-microvolt = <3300000>; }; bmem { regulator-name = "bmem"; - regulator-always-on = <1>; + regulator-always-on; regulator-min-microvolt = <300000>; regulator-max-microvolt = <3300000>; }; ldo2 { regulator-name = "ldo2"; - regulator-always-on = <1>; + regulator-always-on; regulator-min-microvolt = <300000>; regulator-max-microvolt = <1800000>; }; ldo3 { regulator-name = "ldo3"; - regulator-always-on = <1>; + regulator-always-on; regulator-min-microvolt = <300000>; regulator-max-microvolt = <3300000>; }; ldo4 { regulator-name = "ldo4"; - regulator-always-on = <1>; + regulator-always-on; regulator-min-microvolt = <300000>; regulator-max-microvolt = <3300000>; }; ldo5 { regulator-name = "ldo5"; - regulator-always-on = <1>; + regulator-always-on; regulator-min-microvolt = <300000>; regulator-max-microvolt = <3300000>; }; ldo6 { regulator-name = "ldo6"; - regulator-always-on = <1>; + regulator-always-on; regulator-min-microvolt = <300000>; regulator-max-microvolt = <3300000>; }; ldo7 { regulator-name = "ldo7"; - regulator-always-on = <1>; + regulator-always-on; regulator-min-microvolt = <300000>; regulator-max-microvolt = <3300000>; }; ldo8 { regulator-name = "ldo8"; - regulator-always-on = <1>; + regulator-always-on; regulator-min-microvolt = <300000>; regulator-max-microvolt = <3300000>; }; ldo9 { regulator-name = "ldo9"; - regulator-always-on = <1>; + regulator-always-on; regulator-min-microvolt = <300000>; regulator-max-microvolt = <3300000>; }; ldo10 { regulator-name = "ldo10"; - regulator-always-on = <1>; + regulator-always-on; regulator-min-microvolt = <300000>; regulator-max-microvolt = <3300000>; }; ldo11 { regulator-name = "ldo11"; - regulator-always-on = <1>; + regulator-always-on; regulator-min-microvolt = <300000>; regulator-max-microvolt = <3300000>; }; bio { regulator-name = "bio"; - regulator-always-on = <1>; + regulator-always-on; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; }; diff --git a/arch/arm/boot/dts/imx6ul-phytec-segin-peb-av-02.dtsi b/arch/arm/boot/dts/imx6ul-phytec-segin-peb-av-02.dtsi index 7cda6944501d..205e4d462702 100644 --- a/arch/arm/boot/dts/imx6ul-phytec-segin-peb-av-02.dtsi +++ b/arch/arm/boot/dts/imx6ul-phytec-segin-peb-av-02.dtsi @@ -72,8 +72,8 @@ stmpe_touchscreen { st,settling = <2>; st,fraction-z = <7>; st,i-drive = <1>; - touchscreen-inverted-x = <1>; - touchscreen-inverted-y = <1>; + touchscreen-inverted-x; + touchscreen-inverted-y; }; }; }; -- 2.32.0