Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp836400imm; Wed, 10 Oct 2018 05:12:39 -0700 (PDT) X-Google-Smtp-Source: ACcGV62fh11Fmtjww9rSeR8FgnwovnTqDfPr+6A10LEj6jQLX4dA/1EAFpsJNFAw/vlCp6Qlapsn X-Received: by 2002:a62:939d:: with SMTP id r29-v6mr34752283pfk.55.1539173559523; Wed, 10 Oct 2018 05:12:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539173559; cv=none; d=google.com; s=arc-20160816; b=dOkh6ZIWoYhmGKDHa71eezmDajfh6OpzUuv4MdisWPZmDkaTUO4Vx0zuV3RJBIamL9 qRASpNsOSMn5U4JrLNMTu30KAuB4JakJtrDIW9j6ZKHyXtf9wJgKNkGhdI+gy/Pc2Yfk LB5g5DipdOPFRx0kklUoeOAjEBwnC2jyCpwpsyYqt/6If7pXc0BXcBDrTLVyq5jrih7n I9/4yw7xROlyH+bTlTLRVP31J991RT4j3qBPD/XTAPynB0pkqLaeTgthfqJ+aEVG8CMK e2cj66/c8fhvL6C2QWvxxUCwlSWUGnGrTBYCQlFJfz2g/lOlbNYP5carc6UKqlFyRdDF WASw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=oQz4ELaZejDnCIlxC+D2wr5haUw00+QPiXiYSiPXiWo=; b=c/1ZjX0B/1WWqBMBnWyPPVkvE/4f+wo4nOeCxwkp3qcos6B+OUj9e0dAQZvbCR+DZY hPSI9yhFKFDWHUo9nzd8Gl4fRJn5706xhE5DFXK2YUz/XjNoPne4SC2YL9zIymrXr7sP cLjPfxrtGhIBq81+8/8fr63xlFUoKrPHXvbBgGJIKiGPy2iFUiTNk79hUMbv+h22ABfD /OU2giJWb5oU+wwnH0JW7TstijJgyHj8PcOIKTr769494DJjopaWgOy1CoG8rcr6PTCH FJQH+PRoYyzbtDZEZX+KRfR9wmwIBNt0THxdgpuI5idJyPrs0kbxeJPTpvqiCCKf2IJL 8SmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@armlinux.org.uk header.s=pandora-2014 header.b=Qt7AYLjx; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w24-v6si25029706ply.370.2018.10.10.05.12.24; Wed, 10 Oct 2018 05:12:39 -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=fail header.i=@armlinux.org.uk header.s=pandora-2014 header.b=Qt7AYLjx; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727795AbeJJTcC (ORCPT + 99 others); Wed, 10 Oct 2018 15:32:02 -0400 Received: from pandora.armlinux.org.uk ([78.32.30.218]:47686 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727652AbeJJTcB (ORCPT ); Wed, 10 Oct 2018 15:32:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2014; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=oQz4ELaZejDnCIlxC+D2wr5haUw00+QPiXiYSiPXiWo=; b=Qt7AYLjxGLq/Rm0sCI3KUN06e YR3kd3tpzMCbmoADfFhe/QXUhkaYE1X1ufebxqix9UHGSoFdsXjygtlf1iHXVEODVRZPDKOjzXwNL 7VX9RIRSOakaySvHp9V+ZJBGJLMtxq3VgM79QlPx8hpgKcfuLHBNvzFouoCiN92fwhNJw=; Received: from n2100.armlinux.org.uk ([fd8f:7570:feb6:1:214:fdff:fe10:4f86]:41212) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) (envelope-from ) id 1gADJQ-0006bg-So; Wed, 10 Oct 2018 13:10:01 +0100 Received: from linux by n2100.armlinux.org.uk with local (Exim 4.90_1) (envelope-from ) id 1gADJN-0001iO-2m; Wed, 10 Oct 2018 13:09:57 +0100 Date: Wed, 10 Oct 2018 13:09:55 +0100 From: Russell King - ARM Linux To: Stefan Wahren Cc: Rob Herring , Masahiro Yamada , Mark Rutland , devicetree@vger.kernel.org, Florian Fainelli , Linux Kernel Mailing List , Frank Rowand , linux-arm-kernel Subject: Re: [Question] directory for SoC-related DT binding Message-ID: <20181010120955.GQ30658@n2100.armlinux.org.uk> References: <93cd9c43-6fe3-c691-005b-e27cf101c7d6@i2se.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <93cd9c43-6fe3-c691-005b-e27cf101c7d6@i2se.com> User-Agent: Mutt/1.5.23 (2014-03-12) 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 02:04:14PM +0200, 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. I think you're confused there... $ ls -1 Documentation/devicetree/bindings/soc/bcm/ brcm,bcm2835-vchiq.txt raspberrypi,bcm2835-power.txt Doesn't look like SoC/board bindings to me... whereas: $ ls -1 Documentation/devicetree/bindings/arm/bcm/ brcm,bcm11351-cpu-method.txt brcm,bcm11351.txt brcm,bcm21664.txt brcm,bcm23550-cpu-method.txt brcm,bcm23550.txt brcm,bcm2835.txt brcm,bcm4708.txt brcm,bcm63138.txt brcm,brcmstb.txt brcm,cygnus.txt brcm,hr2.txt brcm,ns2.txt brcm,nsp-cpu-method.txt brcm,nsp.txt brcm,stingray.txt brcm,vulcan-soc.txt raspberrypi,bcm2835-firmware.txt does fit with your description, except for the directory path... -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up According to speedtest.net: 11.9Mbps down 500kbps up