From patchwork Thu Mar 30 23:19:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Martinez Canillas X-Patchwork-Id: 13195018 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 4D8F8C6FD1D for ; Thu, 30 Mar 2023 23:20:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=VMzUXzGJYGDt1CMQcdm55g7ZC54ts/KROFTm7gdSwmE=; b=whsfvPhIpVzf4O hbwmRvVy/9tJnG4eHxu6jDzylpKwgRmsIyX0EPU7YBan4UXDwsdL8KlHgUICnBRCrWTF8T1r1Sm41 0pfhLliSS4X9f9+8Af2K16MMY6LX5FjbXRB1tH+0bMT8cOLoIL2/voiJ78r0rSz6Qg28dFZUF1/Fg J0UcPsu36aFuIbd1B0cVtIpUGSoaIRKBCanA2eZEpNEB9QR0OeOD65SJEMP38LiVBtGykJ08zby7j /AtYUhnduUNbos5cCyCjApRT2ORrhJWpiRtLdHS1TycDiNdHEffZoMRBBVMpJMYO+oNOdlmARsIQ9 DcPPh3oSiCy0NmjVuX/Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pi1YN-005JQh-1r; Thu, 30 Mar 2023 23:19:35 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pi1YJ-005JPT-13 for linux-arm-kernel@lists.infradead.org; Thu, 30 Mar 2023 23:19:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680218370; 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: content-transfer-encoding:content-transfer-encoding; bh=Lx021jiSXTc6pYyl7LmIv03tfyJDHewW1CEauW0rIQw=; b=jGAkLsXam4qwIdD/Re7npNAkBuhRw1/3mGZHAyCCwOs1mxGipLBvjmfigVq1R4m8MEeN9U wCrYXChlu9xmTcsq41Ht6fexeRkq3RN5OIrfeFrsPTLEtSxrfYkDcnQdC/N9H9J+BeT7uF GoyNaGiM/16HHXran7hxdH7LpuTKfHU= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-170-i6g1apPXMresXg891Mxn0g-1; Thu, 30 Mar 2023 19:19:28 -0400 X-MC-Unique: i6g1apPXMresXg891Mxn0g-1 Received: by mail-wm1-f70.google.com with SMTP id m7-20020a05600c4f4700b003ee7e120bdfso10166417wmq.6 for ; Thu, 30 Mar 2023 16:19:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680218367; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Lx021jiSXTc6pYyl7LmIv03tfyJDHewW1CEauW0rIQw=; b=jUxl2dW0q+ZizNWF59hjsvAJzoipjOW7twfDyqHH4HNfmm7Vp3FJiGK0gWcscOylHq Ewpqjzgbv08ERkKeZiKS5lR0rEfEr02FwAnBTBgV9x5XiTita8IThMdA/wkXMP3HmZa/ PjH9YXWOJk5D4INEoV5IG+V1E0T+dr311/KVFT442ACewzXymPhauH+181qSNvF0iLZa 3I67zsU7QRKSssoMArahP3foLPXCQJFFOdXQfTt5lkKi89b+dIIQI4AjuZsR6z4eVHM8 a551zyyTJUjNUWvmrFQp8alBDPO2JzIyBH1kzsQRNR0Xrzxd0hQc/VuTNvI+1Ll3jGOn zQzg== X-Gm-Message-State: AAQBX9dvWuWzTclOBbe7XZw4kkl1R7MtcahdSpxaQ7LEyFdqIB64N65y tchaWz8lu5Lqu5XgbX79Xp++t5iWAvUUKvkNRNr24DD30WymU7m33/4ndmA0fcSkKgX1sEWjUsM fy5HOHRWwhBboH6FC1+5weIPG0xRDAWR6Q1c= X-Received: by 2002:adf:d4cc:0:b0:2d0:2d4:958c with SMTP id w12-20020adfd4cc000000b002d002d4958cmr18784584wrk.60.1680218367434; Thu, 30 Mar 2023 16:19:27 -0700 (PDT) X-Google-Smtp-Source: AKy350YIJANJD5ndsOw5e6X1tNl3/XEP4RjGZCkemP4f0WMNIUtUXUh4J/Z7TRhR6CnBmTTGwrSw1g== X-Received: by 2002:adf:d4cc:0:b0:2d0:2d4:958c with SMTP id w12-20020adfd4cc000000b002d002d4958cmr18784568wrk.60.1680218367087; Thu, 30 Mar 2023 16:19:27 -0700 (PDT) Received: from minerva.home (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id f9-20020adfe909000000b002c7163660a9sm536059wrm.105.2023.03.30.16.19.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Mar 2023 16:19:26 -0700 (PDT) From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: Javier Martinez Canillas , Brian Norris , Daniel Lezcano , Douglas Anderson , Enric Balletbo i Serra , Heiko Stuebner , Judy Hsiao , Krzysztof Kozlowski , Lin Huang , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, zain wang Subject: [PATCH v2] arm64: dts: rockchip: Remove non-existing pwm-delay-us property Date: Fri, 31 Mar 2023 01:19:23 +0200 Message-Id: <20230330231924.2404747-1-javierm@redhat.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230330_161931_997590_7D75BCD0 X-CRM114-Status: GOOD ( 12.60 ) 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 There is neither a driver that parses this nor a DT binding schema that documents it, so let's remove from the DTS files that make use of this. The properties that exist are post-pwm-on-delay-ms and pwm-off-delay-ms, defined in the pwm-backlight DT binding. If the delays are really needed then those properties should be used instead. Brian Norris mentioned though that looking at the first downstream usage of the pwm-delay-us property for RK3399 Gru systems in ChromiumOS tree, he couldn't find a spec reference that said that this was really needed. So perhaps it was unnecessary added and a simple removal would be enough. Signed-off-by: Javier Martinez Canillas Reviewed-by: Brian Norris --- Changes in v2: - Update commit message with the information provided by Brian Norries. - Add Reviewed-by tag from Brian Norries. arch/arm64/boot/dts/rockchip/rk3368-evb.dtsi | 1 - arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi | 1 - arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet.dtsi | 1 - 3 files changed, 3 deletions(-) base-commit: b2bc47e9b2011a183f9d3d3454a294a938082fb9 diff --git a/arch/arm64/boot/dts/rockchip/rk3368-evb.dtsi b/arch/arm64/boot/dts/rockchip/rk3368-evb.dtsi index 083452c67711..e47d1398aeca 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368-evb.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3368-evb.dtsi @@ -61,7 +61,6 @@ backlight: backlight { pinctrl-names = "default"; pinctrl-0 = <&bl_en>; pwms = <&pwm0 0 1000000 PWM_POLARITY_INVERTED>; - pwm-delay-us = <10000>; }; emmc_pwrseq: emmc-pwrseq { diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi index ee6095baba4d..5c1929d41cc0 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi @@ -198,7 +198,6 @@ backlight: backlight { power-supply = <&pp3300_disp>; pinctrl-names = "default"; pinctrl-0 = <&bl_en>; - pwm-delay-us = <10000>; }; gpio_keys: gpio-keys { diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet.dtsi index a47d9f758611..c5e7de60c121 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet.dtsi @@ -167,7 +167,6 @@ backlight: backlight { pinctrl-names = "default"; pinctrl-0 = <&bl_en>; pwms = <&pwm1 0 1000000 0>; - pwm-delay-us = <10000>; }; dmic: dmic {