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=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 6CFE4C10F29 for ; Tue, 10 Mar 2020 01:10:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3EB2E24649 for ; Tue, 10 Mar 2020 01:10:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726510AbgCJBKv (ORCPT ); Mon, 9 Mar 2020 21:10:51 -0400 Received: from mail.baikalelectronics.com ([87.245.175.226]:44596 "EHLO mail.baikalelectronics.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726115AbgCJBKv (ORCPT ); Mon, 9 Mar 2020 21:10:51 -0400 Received: from localhost (unknown [127.0.0.1]) by mail.baikalelectronics.ru (Postfix) with ESMTP id CDE1C803087C; Tue, 10 Mar 2020 01:10:48 +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 lLQjXrfy39ya; Tue, 10 Mar 2020 04:10:47 +0300 (MSK) Date: Tue, 10 Mar 2020 04:09:57 +0300 From: Sergey Semin To: Rob Herring CC: Mark Rutland , Alexey Malahov , Thomas Bogendoerfer , Paul Burton , Ralf Baechle , , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 01/22] dt-bindings: Permit platform devices in the trivial-devices bindings References: <20200306124705.6595-1-Sergey.Semin@baikalelectronics.ru> <20200306124823.38C2A80307C4@mail.baikalelectronics.ru> <20200306140550.0A68180307C4@mail.baikalelectronics.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20200306140550.0A68180307C4@mail.baikalelectronics.ru> X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) Message-Id: <20200310011048.CDE1C803087C@mail.baikalelectronics.ru> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 06, 2020 at 07:56:51AM -0600, Rob Herring wrote: > On Fri, Mar 6, 2020 at 6:48 AM wrote: > > > > 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? > > NAK. > > Do you have some documentation on what a platform bus is? Last I > checked, that's a Linux thing. > > If anything, we'd move toward getting rid of trivial-devices.yaml. For > example, I'd like to start defining the node name which wouldn't work > for trivial-devices.yaml unless we split by class. > > Rob Hello Rob, Understood. I thought the trivial-devices bindings was to collect all the devices with simple bindings, but it turns out to be a stub for devices, which just aren't described by a dedicated bindings file. I'll resubmit the v2 version with no changes to the trivial-devices.yaml, but with CDMM/CPC dt-nodes having yaml-based bindings. Regards, -Sergey