Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2567834pxj; Mon, 10 May 2021 06:06:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymm78onEJoTPNc+hqx5AEkyweO9ghO/K+Mhh8Dae8fsjRRXkZPgfckSS6inqzKHrpL0V3H X-Received: by 2002:aa7:dc54:: with SMTP id g20mr29526897edu.266.1620651989993; Mon, 10 May 2021 06:06:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620651989; cv=none; d=google.com; s=arc-20160816; b=EqVGDMWuY2Py7vdLeOJdTBA88Pota0IC+7FA837pEJLrC1XwNRCbtM9YTsjSx1J40r 3n14nabkK9uwWhI+JkwbmKXpj6y66rnKbOsxnu78XJl42why5SJgn45k/1KeQSU6x7P+ 3JIAO2cJnjSwjgTl0qWHFviU5g8MYK99VJwGWuCroL4birp4g8FWrFGVtc9NAkJVMG9X OtjgmY9nmfFOuvFi5IbSm8v5eeksqSyvpjyOEZ94nJoVxmS+j1WUq74DRCbZELFR4WRO FLTwJ5BISWe33xmn6+yK08mUCLIYYEKcjMXCO3i1klhXqLAEKsUnvysC5VwqH8wcK553 s/Rw== 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=NpBAbkz6VgFzZZb2/3IquFqsilhM22/bE3Yc5/+PiSs=; b=YT7e1Hgm4d6UJ2Ckgqvgc8g2cQ2mAIDKT4u5ZNhBDHpeC4upjTMq9UGOfmbHCOKGDw uYgvVkgDeBE60kIgMDBtijVRceO26g7Cu8B6drnRqJH/Gn1hNg25zeNzW+su5eu5bCoo x0Mhnx1Z2CFnmcuy0n4AzkpHSrMsKDQ6KximKZ5VQI5d3IbGd7IVgB1SOLdG2sjVNvMf irbFOuTwqcUaQkdVM3Wp3JbSfcsuK1NBDtFFi0OUx8rZjOuQDE4brm2uxeLGQOyZviAP alwoO40PiyqOgtS+yjT1Sf3mtkD/Mjgps7mPGUyqpFmmPdf4yS+x8iZfTxMcxc+P52Uu 1caA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u14si12877134ejb.680.2021.05.10.06.06.04; Mon, 10 May 2021 06:06:29 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350037AbhEJMzy (ORCPT + 99 others); Mon, 10 May 2021 08:55:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345788AbhEJMZ2 (ORCPT ); Mon, 10 May 2021 08:25:28 -0400 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [IPv6:2a02:1800:120:4::f00:13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A3EFC0613ED for ; Mon, 10 May 2021 05:18:43 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed20:f937:4595:45ff:bcbf]) by baptiste.telenet-ops.be with bizsmtp id 30Je250094jQ7kl010JexR; Mon, 10 May 2021 14:18:41 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1lg4rt-004QlC-K0; Mon, 10 May 2021 14:18:37 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1lg4rs-00HQPg-TJ; Mon, 10 May 2021 14:18:36 +0200 From: Geert Uytterhoeven To: Rob Herring , Thierry Reding , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Lee Jones , Daniel Lezcano , Thomas Gleixner , Laurent Pinchart , Yoshinori Sato Cc: devicetree@vger.kernel.org, linux-pwm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v2 0/2] dt-bindings: renesas,tpu: Improve and json-schema conversion Date: Mon, 10 May 2021 14:18:33 +0200 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, There are two different device tree bindings defined for the Renesas Timer Pulse Unit: - one for using the TPU as a PWM controller (used on ARM), already using json-schema, and - a second one for using the TPU as a clock source (used on H8/300). The first has already been converted to json-schema. This series improves the former, and converts the latter to json-schema. As both bindings using "renesas,tpu", both bindings are marked with the appropriate "select" logic, to check for the presence respectively absence of the "#pwm-cells" property. Changes compared to v1: - Keep additionalProperties, as pwm.yaml doesn't add any other properties, - Drop unneeded "'#pwm-cells': true" from "select" section in renesas,tpu-pwm.yaml, - Add Reviewed-by. Thanks for your comments! Geert Uytterhoeven (2): dt-bindings: pwm: renesas,tpu-pwm: Improve json-schema dt-bindings: timer: renesas,tpu: Convert to json-schema .../bindings/pwm/renesas,tpu-pwm.yaml | 26 +++++++++ .../devicetree/bindings/timer/renesas,tpu.txt | 21 ------- .../bindings/timer/renesas,tpu.yaml | 56 +++++++++++++++++++ 3 files changed, 82 insertions(+), 21 deletions(-) delete mode 100644 Documentation/devicetree/bindings/timer/renesas,tpu.txt create mode 100644 Documentation/devicetree/bindings/timer/renesas,tpu.yaml -- 2.25.1 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds