Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp6796708ybf; Fri, 6 Mar 2020 04:49:00 -0800 (PST) X-Google-Smtp-Source: ADFU+vuy+UtUuX7rlnYTYT0g+vwdYRNL2aw4pSl3wrfiA853e33Dd5VbygOGlwX1CzuVMbSKz5Se X-Received: by 2002:aca:c6ca:: with SMTP id w193mr2336320oif.165.1583498940022; Fri, 06 Mar 2020 04:49:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583498940; cv=none; d=google.com; s=arc-20160816; b=zo2PpKrDM7xg13ekvNSzyHShRus1Xj6H/xf1sRcMlKA7otYvi3ZO2Z3Vxa9P3T9CYW eCWhN3Qzq6h+pkdiyFP7cWgdWiegmR6tluJTwikcLYexRA9rGPDQjVavMWZPXpUp2tYG E156CJkf2kS5ouAl+hnOkuRADw7Rj/GbAZCPttGGAW/nHyFfwQwaJ8eZwMvZxApJwVYY TqnE+ktrIuzBFgvdDsSrVxPBDsatyLEPqswW8fOOPLTW6DptCXkIGF5A1fgLFiIhdYDE QrCnfkaurNo5H/XIMbl6eAxIaji7C27dRFc1WnYZNqyLuOlqC1t/igNw2D2Zz5CM9zvr Z5mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :mime-version:references:in-reply-to:date:subject:cc:to:from; bh=M1D9YbBYoN0+mBCfC6bSpr4Q5GDIBJN1nfWgTLWMFA8=; b=i7xCp5yAXmwjvU4chrC9g1r9PDRWBtSHkuEbPQxHKuZWkuq7sEQpCoNDbE6uq2y0Ws bK2eGpZC1AgQmiBJASZYjTt/e4hHKxDfYZzMLULyMQaCdQWTBGY/9EUDcgdXhyjfloY1 qrZIoMtY1wdaQakRbo4oW7G1oEtwscW66GWCISJvVMAGtEmTyMgzuvG/gmLbWOuFQxZd ND7Zylq2u8T7mcFhaEjIHJZc5RzEwcAkC3QYb5h/H+jy0rYImGIpgU2jw2kN2biMuGIf xOJ6lg4QVHAULQc+J3LbOhG/9w0aPPN3rkCDSDNr7hfU/Ax+9tdRVdGSaVbS0UGCVG4c Ezog== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 67si1279642ott.243.2020.03.06.04.48.48; Fri, 06 Mar 2020 04:49:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726740AbgCFMsZ (ORCPT + 99 others); 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