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=-6.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 491CBC10F25 for ; Fri, 6 Mar 2020 12:48:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2CB7D2084E for ; Fri, 6 Mar 2020 12:48:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726798AbgCFMsZ (ORCPT ); Fri, 6 Mar 2020 07:48:25 -0500 Received: from mail.baikalelectronics.com ([87.245.175.226]:35396 "EHLO mail.baikalelectronics.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726108AbgCFMsY (ORCPT ); Fri, 6 Mar 2020 07:48:24 -0500 Received: from localhost (unknown [127.0.0.1]) by mail.baikalelectronics.ru (Postfix) with ESMTP id 38C2A80307C4; Fri, 6 Mar 2020 12:48:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at baikalelectronics.ru Received: from mail.baikalelectronics.ru ([127.0.0.1]) by localhost (mail.baikalelectronics.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GA3DKlD_5Lgc; Fri, 6 Mar 2020 15:48:22 +0300 (MSK) From: To: Rob Herring , Mark Rutland CC: Serge Semin , Serge Semin , Alexey Malahov , Thomas Bogendoerfer , Paul Burton , Ralf Baechle , , Subject: [PATCH 01/22] dt-bindings: Permit platform devices in the trivial-devices bindings Date: Fri, 6 Mar 2020 15:46:44 +0300 In-Reply-To: <20200306124705.6595-1-Sergey.Semin@baikalelectronics.ru> References: <20200306124705.6595-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) Message-Id: <20200306124823.38C2A80307C4@mail.baikalelectronics.ru> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Serge Semin Indeed there are a log of trivial devices amongst platform controllers, IP-blocks, etc. If they satisfy the trivial devices bindings requirements like consisting of a compatible field, an address and possibly an interrupt line why not having them in the generic trivial-devices bindings file? We only need to accordingly alter the bindings title and description nodes. Signed-off-by: Serge Semin Signed-off-by: Alexey Malahov Cc: Thomas Bogendoerfer Cc: Paul Burton Cc: Ralf Baechle --- Documentation/devicetree/bindings/trivial-devices.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml index 978de7d37c66..ce0149b4b6ed 100644 --- a/Documentation/devicetree/bindings/trivial-devices.yaml +++ b/Documentation/devicetree/bindings/trivial-devices.yaml @@ -4,15 +4,15 @@ $id: http://devicetree.org/schemas/trivial-devices.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Trivial I2C and SPI devices that have simple device tree bindings +title: Trivial I2C, SPI and platform devices having simple device tree bindings maintainers: - Rob Herring description: | - This is a list of trivial I2C and SPI devices that have simple device tree - bindings, consisting only of a compatible field, an address and possibly an - interrupt line. + This is a list of trivial I2C, SPI and platform devices that have simple + device tree bindings, consisting only of a compatible field, an address and + possibly an interrupt line. If a device needs more specific bindings, such as properties to describe some aspect of it, there needs to be a specific binding -- 2.25.1