Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1284269imm; Wed, 10 Oct 2018 12:01:42 -0700 (PDT) X-Google-Smtp-Source: ACcGV61517IXRsR3S828kgIN8aDemnGq0Uoo5ZerRCas1umEmfqSvbOCkZgn8jifknMSyh+P6KIr X-Received: by 2002:a17:902:b58c:: with SMTP id a12-v6mr572102pls.226.1539198102286; Wed, 10 Oct 2018 12:01:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539198102; cv=none; d=google.com; s=arc-20160816; b=CDHyxeyyGCqLiXDsQ1EhOwUZKDc74wmokFqwctzSLLSWPO4EqOLkEIBbCu9z4i1FQ6 JcQHBwSQuox0kOQTF4W2RoFmEBaZ5Wzd2w7mKVqDQHWnZVJBcw53xQzpbO/F/MMch1i4 8mtMOwTeKH05SSI0PtHQm0gljVKbdVBjoKgqyDl7AxmFs964w11ujXwWtkmjw62zGgr4 gIocDt+gPie/VSrBm0/TpN0y3X4UdQAm/Eq57VIfMNdJJ5aaNM3veITimtxDobvHYrWD R6ruZ4N8r5DQ7Oxyz+7DGv/eED8hFmJhKUzvRXgSIuoBgNI/x+mV6O0Zsgy6SQCTrvnl wWuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=NTNwFHW4NnHcGIdJs7M1XEYgEubdydYqRG942JgEUQQ=; b=b9dSI44z1Qu8so4yo6i0BCMdMf77dD8uYhrVS9LVIboO7pXELd/MZKsB8hiPGxvYbw CS9znQL2iNnC0dz2tYZjjOUDxYrx0JFUd1awD8hUGgmc8+naLPUdBMREl8QrkNaV1Cl2 ymyPNELpfla9JI3Atugq5r+lhzZnn0gBqog5M760RHFA9r8sQbBgkcwka+eILitELrS3 lh2/XMZ7oGVWVDDKQ+5X8p1XCoRp/g/LXSitfNeqREst8j5q65BaIIi/PmUH7q2gkiZq nglx95CiBmFjJJnXOGauyUZ8g6qM360YYdxDDzd+99C6FORkXgtkIPrUTTQF+NEM89f0 /AxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=kyhiloYD; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 31-v6si25119104pli.238.2018.10.10.12.01.27; Wed, 10 Oct 2018 12:01:42 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=default header.b=kyhiloYD; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727357AbeJKCXI (ORCPT + 99 others); Wed, 10 Oct 2018 22:23:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:41416 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726734AbeJKCXI (ORCPT ); Wed, 10 Oct 2018 22:23:08 -0400 Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 766DC2150C; Wed, 10 Oct 2018 18:59:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1539197979; bh=NTNwFHW4NnHcGIdJs7M1XEYgEubdydYqRG942JgEUQQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=kyhiloYDXtw+/k7aY8KJeBlwxS4PIV9xurX4pN0FTfquuJDl+oLjUSxg2IpgJphk3 WT5Pnt+YpCkw+mTn4Hrvyamrdl/Ee4qxEcIpx9SSeyDn50ToXTjyXFoRNZ3Ayyxf8C QtuZ9RoauGKLWzwJL1Tbd+WdA0TeraiHm8SIrTwA= Received: by mail-qt1-f172.google.com with SMTP id o17-v6so6977588qtr.1; Wed, 10 Oct 2018 11:59:39 -0700 (PDT) X-Gm-Message-State: ABuFfojz8oeFNUzM5wVOjzBxhSKxqPtTuob/oetPsL9Fgvf2KOQbk6ia QhziIOA+nc6STy7wEhlwNgZteelloEqj/UPyhw== X-Received: by 2002:a0c:d4e5:: with SMTP id y34mr14268306qvh.106.1539197978661; Wed, 10 Oct 2018 11:59:38 -0700 (PDT) MIME-Version: 1.0 References: <93cd9c43-6fe3-c691-005b-e27cf101c7d6@i2se.com> In-Reply-To: <93cd9c43-6fe3-c691-005b-e27cf101c7d6@i2se.com> From: Rob Herring Date: Wed, 10 Oct 2018 13:59:27 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [Question] directory for SoC-related DT binding To: Stefan Wahren Cc: Masahiro Yamada , Mark Rutland , devicetree@vger.kernel.org, Frank Rowand , "linux-kernel@vger.kernel.org" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , Florian Fainelli Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 10, 2018 at 7:04 AM Stefan Wahren wrote: > > Hi, > > Am 10.10.2018 um 13:19 schrieb Rob Herring: > > On Wed, Oct 10, 2018 at 6:08 AM Masahiro Yamada > > wrote: > >> Hi, > >> > >> > >> I see a bunch of vendor (or SoC) names in > >> Documentation/device/bindings/arm/ > >> > >> ./Documentation/devicetree/bindings/arm/altera > >> ./Documentation/devicetree/bindings/arm/amlogic > > Yeah, it's kind of a mixture of board/soc bindings mostly with some > > ARM architecture, ARM, Ltd. IP, and SoC system reg bindings. > > > > Eventually, I'd like to not split board bindings by arch and maybe we > > should move all the system/misc reg bindings out. > > > > [,,,] > > > >> I also see some vendor names in > >> Documentation/device/bindings/soc/ > >> > >> ./Documentation/devicetree/bindings/soc/bcm > >> ./Documentation/devicetree/bindings/soc/dove > >> ./Documentation/devicetree/bindings/soc/fsl > >> ./Documentation/devicetree/bindings/soc/mediatek > >> ./Documentation/devicetree/bindings/soc/qcom > >> ./Documentation/devicetree/bindings/soc/rockchip > >> ./Documentation/devicetree/bindings/soc/ti > >> ./Documentation/devicetree/bindings/soc/xilinx > >> ./Documentation/devicetree/bindings/soc/zte > > This I believe is mostly SoC system reg bindings though there's > > probably a few other things. > > > >> Confusingly, I see bcm, mediatek, rockchip > >> in both locations. > >> > >> Is there any rule to choose one than the other? > > Top-level SoC/board bindings in arm/ and anything else elsewhere ideally. > > in case of Documentation/devicetree/bindings/soc/bcm the directory > contains SoC / board bindings, cpu-enable and a firmware binding. > > Is there any action required? If there's a better location based on class/function, then moving them would be nice. > Btw the Broadcom SoC / boards from this directory has been left out for > the yaml conversion [1] was this intended? Yes, I'm not planning to convert all bindings for everyone myself. Rob