From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6A71FC43617 for ; Mon, 10 May 2021 13:02:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 504FC61040 for ; Mon, 10 May 2021 13:02:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350049AbhEJMzy (ORCPT ); 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