Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp832660imm; Wed, 10 Oct 2018 05:09:37 -0700 (PDT) X-Google-Smtp-Source: ACcGV63VfwAM49coecbBS/FpcYHSOYO4769Dd98f6Y5hl0vqIGCc2TpRBOdQ1lrWGpdGJm92QsYk X-Received: by 2002:a63:65c7:: with SMTP id z190-v6mr29562440pgb.146.1539173377154; Wed, 10 Oct 2018 05:09:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539173377; cv=none; d=google.com; s=arc-20160816; b=Rf6LsJ+ZRj3gnNmkQcxuIm+kD7FIIl3/RttV12yW//ws9LjMiNh8YNPf9gXV++L8Dm spFOUaGiyQEYIueTat460Hg0tbZgBbMrkS7mUwmCUi6KPvBOzNYO1IHoi32xDKazkHrE ffuKAzCICIQ8CYumO/O25K61lK6ZdM0WJg/MemS9LnO84kfz8js3iPb2XjxJG3XfT0Iv dD+XTtOW6DYgwqYwNgiHC9xs0rZra9Sacbo0rDUcvfd5/vWUvg3ujdn06sBMdoAbqIP4 BL6zTw7UlqYDo9+h/cxafY2L0Vdvumud4TbboGUbGZZ7am6On5U7Q0Oco+L848cU2H8K 5VsQ== 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=WvBPMxNIuL8Fov3ZIkfuO8ade+/nlk3Rfc6d9Ne/lZ4=; b=JiWDHB9ZN4bb2KwJ9yhCWVAcWfAyE5Im0JOg3EAPgKz0wOA8rONc2OJ0U20+KshIts zS27y0tUNaRUjggL3eMb4UWvBt9zxhnZN2ogYtj0rKxTsb6hYlxFRmq3PqeprQb+2Jci bct01SxrSh1h0CYxr3TJ1JnaqHrzqC7kTjk36LLnRqkmXpzBuQncd/HJ3xCnzsImFZOs KktY14MYLTdYKfEacbrkPauh/Bx9Ww3VJ//4amtxXnAff1uy5eQrhLdumQvQdu72Qh3H 7E47gmvTpGykcrL/3jcl6qzi1BpV4eldoi53kTIR6gRbKFvpSlXTC+8/XoJFR/FquqTO Jh7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@armlinux.org.uk header.s=pandora-2014 header.b=QqRqpIq0; 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 k2-v6si21743672pgo.32.2018.10.10.05.09.21; Wed, 10 Oct 2018 05:09:37 -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=QqRqpIq0; 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 S1727816AbeJJTa3 (ORCPT + 99 others); Wed, 10 Oct 2018 15:30:29 -0400 Received: from pandora.armlinux.org.uk ([78.32.30.218]:47622 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726600AbeJJTa3 (ORCPT ); Wed, 10 Oct 2018 15:30:29 -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=WvBPMxNIuL8Fov3ZIkfuO8ade+/nlk3Rfc6d9Ne/lZ4=; b=QqRqpIq0ANZL1VUfv2H5ZLmKw VtlpJlEd1eDPg1iMM+UiosC55v4PoWa3J8HbDA1LFG5CTbyOVFb5IlITt8USDBAGGccHebt+RmbK7 CabGbatk8Mvkmf7p9E3+u6xMzv2UUDNJ0ONYJnw0WalmZYkRgqH2i729Qw9ra9vtFXDo4=; Received: from n2100.armlinux.org.uk ([fd8f:7570:feb6:1:214:fdff:fe10:4f86]:41183) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) (envelope-from ) id 1gADHQ-0006Zk-KO; Wed, 10 Oct 2018 13:07:56 +0100 Received: from linux by n2100.armlinux.org.uk with local (Exim 4.90_1) (envelope-from ) id 1gADHM-0001d8-Hi; Wed, 10 Oct 2018 13:07:52 +0100 Date: Wed, 10 Oct 2018 13:07:51 +0100 From: Russell King - ARM Linux To: Masahiro Yamada Cc: DTML , linux-arm-kernel , Mark Rutland , Rob Herring , Frank Rowand , Linux Kernel Mailing List Subject: Re: [Question] directory for SoC-related DT binding Message-ID: <20181010120751.GP30658@n2100.armlinux.org.uk> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 08:07:52PM +0900, 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 > ./Documentation/devicetree/bindings/arm/apm > ./Documentation/devicetree/bindings/arm/bcm > ./Documentation/devicetree/bindings/arm/calxeda > ./Documentation/devicetree/bindings/arm/freescale > ./Documentation/devicetree/bindings/arm/hisilicon > ./Documentation/devicetree/bindings/arm/keystone > ./Documentation/devicetree/bindings/arm/marvell > ./Documentation/devicetree/bindings/arm/mediatek > ./Documentation/devicetree/bindings/arm/mrvl > ./Documentation/devicetree/bindings/arm/msm > ./Documentation/devicetree/bindings/arm/npcm > ./Documentation/devicetree/bindings/arm/nxp > ./Documentation/devicetree/bindings/arm/omap > ./Documentation/devicetree/bindings/arm/rockchip > ./Documentation/devicetree/bindings/arm/samsung > ./Documentation/devicetree/bindings/arm/stm32 > ./Documentation/devicetree/bindings/arm/sunxi > ./Documentation/devicetree/bindings/arm/tegra > ./Documentation/devicetree/bindings/arm/ti > ./Documentation/devicetree/bindings/arm/uniphier > ./Documentation/devicetree/bindings/arm/ux500 > ./Documentation/devicetree/bindings/arm/vt8500 These are for arch/arm/mach-* and are the DT root descriptions for the various boards and SoCs. > 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 These are for individual drivers in drivers/soc/ > Confusingly, I see bcm, mediatek, rockchip > in both locations. Correct, because one is for the SoC and board as a whole, the other is for some subset of the SoC handled via drivers/soc - for example, with Broadcom, there's a Raspberry PI power domain driver in drivers/soc, which is described by Documentation/devicetree/bindings/soc/bcm/raspberrypi,bcm2835-power.txt whereas Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt describes the bindings for the root DT node BCM2835 as used on the Raspberry Pi amongst other boards. -- 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