From patchwork Thu Mar 30 22:02:51 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: 669196 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 53AADC77B6D for ; Thu, 30 Mar 2023 22:07:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229611AbjC3WHt (ORCPT ); Thu, 30 Mar 2023 18:07:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230338AbjC3WHB (ORCPT ); Thu, 30 Mar 2023 18:07:01 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A13789C for ; Thu, 30 Mar 2023 15:03:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680213783; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=+accSwBqAoktxjFKHOVQ5nhVitWw2RmW/ogboNO6PkE=; b=T+B6DjfWB0jk8iLbp6jtLKkUqT/m9OjsqkkL1K/YSSiCrg6iyeyErmeLP+AnCxmCeR2xL8 4HmPqJfeTB+5sRmxpXGZj+gzsfU+VLS7AJb/gbVBfCZxaCNCotqgMyqAdk6N5SirEF8Nre Wc9J1hU/8TG1iUpVdVHnO6dcVWgPzG8= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-15-xODBrCimNdaGqvCZgbWiZw-1; Thu, 30 Mar 2023 18:03:00 -0400 X-MC-Unique: xODBrCimNdaGqvCZgbWiZw-1 Received: by mail-wm1-f72.google.com with SMTP id bi27-20020a05600c3d9b00b003ef6ee937b8so6887258wmb.2 for ; Thu, 30 Mar 2023 15:02:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680213779; 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=+accSwBqAoktxjFKHOVQ5nhVitWw2RmW/ogboNO6PkE=; b=DGs/2HCAEzIlDM+I3j/rSD9k/40C/oAb8uPpTHQUXtIiNY5zSd2QrTrRLMrPFoj11q DVxpjUh3E4OSNMqiyCQUS212tiJTdyl/zCHu2MvVZguNbIy1ML3u4coGAWpY5jQB2dRX OQ4N+hZY4We0kWswvPq2tYPBZuWwgo+ynAZdCuy7TfYEtHGcJ3pYBCglE9IByHXEfdhp sV6iL393CAeKbz6YHb+d8+P9d7DR1tm0v3UBXY44rIOsMe9rnAd7PP3iZBwqyE7g34Gs Lnlrb+H+/nz/cLTgfoFxvCBb+8OYK8wv4RgjzyNTE9O8U35Bp1ARlqBQhQxZ5B6gUpBc w0FQ== X-Gm-Message-State: AAQBX9dPh8legXuqcYGbwjyoCwTA4MFdF0378xE8WXv6cb9Ca/WFGmP5 zTXJH50jNYX7eGizRtJd1nhZVfVcfMk1dUPRlilteXiJqGgUA3SHGkYxCDV1dGGOD3BIxQEKTFx CcO5b9PIuJ8EoTW3gPGcuLg== X-Received: by 2002:adf:e70c:0:b0:2ce:9f35:59c7 with SMTP id c12-20020adfe70c000000b002ce9f3559c7mr17075841wrm.45.1680213779110; Thu, 30 Mar 2023 15:02:59 -0700 (PDT) X-Google-Smtp-Source: AKy350b31TNBPqPj39e+fe++ArpC9hrzqebqcnE01Owm77OMMqIbVzdWSh+zdJEPLJOUUvu9L4ZKRQ== X-Received: by 2002:adf:e70c:0:b0:2ce:9f35:59c7 with SMTP id c12-20020adfe70c000000b002ce9f3559c7mr17075830wrm.45.1680213778776; Thu, 30 Mar 2023 15:02:58 -0700 (PDT) Received: from minerva.home (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id y11-20020adffa4b000000b002c7066a6f77sm449363wrr.31.2023.03.30.15.02.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Mar 2023 15:02:58 -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] arm64: dts: rockchip: Remove non-existing pwm-delay-us DT property Date: Fri, 31 Mar 2023 00:02:51 +0200 Message-Id: <20230330220251.2388494-1-javierm@redhat.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org There is no neither a driver that parses this nor a DT binding schema that documents it so let's remove it 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. So probably what these DTS want is something like following: backlight: backlight { compatible = "pwm-backlight"; enable-gpios = <&gpio4 21 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&bl_en>; pwms = <&pwm1 0 1000000 0>; post-pwm-on-delay-ms = <10>; pwm-off-delay-ms = <10>; }; But that should be follow-up change if that is the case. Because otherwise it would be change in behaviour, since currently pwm-delay-us is a no-op. Signed-off-by: Javier Martinez Canillas --- 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: ffe78bbd512166e0ef1cc4858010b128c510ed7d prerequisite-patch-id: ab73fde77786baf8fa44882125c5ce864771371c 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 {