Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp9521pxj; Fri, 7 May 2021 02:27:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxE98g/Jb2Hb4aV39fC8HlTe1yeb9Y4l87HqDXU/HPH2WdL1O9rVExwVkeS9EcTpVmphS8N X-Received: by 2002:a17:906:49d3:: with SMTP id w19mr9117428ejv.116.1620379623201; Fri, 07 May 2021 02:27:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620379623; cv=none; d=google.com; s=arc-20160816; b=v4rnNRjakj3hPBxBC0edY/yJmfNpdgD4HK1A/TJ9lTDhUqjgKsQHtRLJC4/FD1ng6N xhh6w6wHi55NjYqFjYXhxkHbuNn/3JBooL0tL8THXpDkimCYGx8uieeSsETvzqjLgBuP PWL5JZNWVFDhZEPoFst1/JrUaLEfdkLjFOBq5CAiXCOcuKxe3sJ3NYD9bYxqWo43SsbG uYB1LqGZvt3gEJz3VqJachunKe6ExEPPHB8rvDg6WuKA1/jH5fdMXRPOBPswJG20fEy4 OKT+U6k99/8eV0HRZp5e9YUdiCc0zZw/RSv2wl2P+Z3ODhHZ8gByHqrDgyxyqGUBIgyU 64DA== 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=ZgvsBGVfCOm4C0puQZkdo+rwv2yiduKwXtkasyG3f+o=; b=TGc5KjHQl390KOhVF0E0NC8mtelYPO3BTV42ryeJMLmphWLUqMDCjt0wGi4lABAEVH 6Sczrt2/h3rwi4kb9HNWRLjoCBJZXDkGwbVEQiBfXqRCz30GFaoyCXOhcDpzvmw8vcPC wEe5xNlFMGKYP/PV/psfQ7Fs/T2WNsTkdcV2TDp01EavTBBjrgXnzWB7LRmsINyNJjk9 175G4vxHVIlMT1RKWRIyh0eiPQOt1vpWK2cyAS2Mgn4qvPiEmQLOKgQlXZL9BmrrnMko aRoh7eYbVI4Mq6MUoBRh8TrIN2R6zJtbz8BgZZB9mGSxE3mHDHr3sFWR7sLLmNiH7C/K Hjbw== 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 q18si4464378ejs.509.2021.05.07.02.26.39; Fri, 07 May 2021 02:27:03 -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 S236159AbhEGI0i (ORCPT + 99 others); Fri, 7 May 2021 04:26:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233681AbhEGI0Y (ORCPT ); Fri, 7 May 2021 04:26:24 -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 14AEAC06138D for ; Fri, 7 May 2021 01:25:23 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed20:f434:20f9:aa9e:b80c]) by baptiste.telenet-ops.be with bizsmtp id 1kRG250070ZPnBx01kRGEm; Fri, 07 May 2021 10:25:21 +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 1levnP-003VSx-JT; Fri, 07 May 2021 10:25:15 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1levnP-006WUi-0V; Fri, 07 May 2021 10:25:15 +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-renesas-soc@vger.kernel.org, uclinux-h8-devel@lists.sourceforge.jp, linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 0/2] dt-bindings: renesas,tpu: Improve and json-schema conversion Date: Fri, 7 May 2021 10:25:11 +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. 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 | 29 +++++++++- .../devicetree/bindings/timer/renesas,tpu.txt | 21 ------- .../bindings/timer/renesas,tpu.yaml | 56 +++++++++++++++++++ 3 files changed, 84 insertions(+), 22 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