Received: by 10.223.164.197 with SMTP id h5csp192295wrb; Sat, 4 Nov 2017 08:40:17 -0700 (PDT) X-Google-Smtp-Source: ABhQp+R7dmsFLfM3KG3yPqpnEw1OkNl8EQ0LHXE7X4GrcL6TowYueF8hfmHbIclgJf+Zz+frfvuq X-Received: by 10.159.218.72 with SMTP id x8mr10103041plv.257.1509810017394; Sat, 04 Nov 2017 08:40:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509810017; cv=none; d=google.com; s=arc-20160816; b=BeVrlgTo3Wlkc7b5c/uFGd6NGpG+eVEE9iOrgiprXmbXmVK5e7tuav8mYTmvLmldMu mfBK5iU+X8hW7JS6HBTs0jXTytH3wssRR6EFfgH40isC7YnsyUKy63aSxFyBNgQwc5vR kWELqgXbQ7n6H68OeMvJ72kmKy4zK2GiMW9PWKMbNPJeZVdKcd0iLVElnOVPRCMBvIEf j+GXstOmIxFZnXHG+nR1wjxNpfAHKq37apswoDb8K4P9qcwGhaTG1pQSov1L603VOolY frLMm3sUrvx52x6nDXLCPABirkx86clIoVRCekbQwJFoEUgGbWyGY+81r5B5tx1Si6om uCoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=j0fuvFQT9cPz5J7pRLfxozJVi9cGrzPRT+kThE5YNc8=; b=wZ7SMUyl0evpcMBhRvqMRWML5B8eUJz3uIWs7WoM+n+CVb9Ua6/hnYldJ9nEi/X7BT SZIeHu4PpbcjZGSG5itrP+XvOqF63M8bm+MKjmJ86vzVNYkMuosOS/PVneZklIWlcVu9 TGjLVQsxwkj5yUvGQ5Q97csgomVW3gON+3RS3k+RRMd3DWir/hWFxuDCopkP8K6Rk11C mHkIfniQtRgibPVpeAyjL9K83YXqkQ+zsRh7Hp0A2l8rhoUp3EPOELM0XIsjLOCir46S SbHuctL7PCzEhiUDlBA9wgUKruWg8UzZXMO4LgENAEJ4ZXCIVQoLzVlD5BXfBrSHqzur NCxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FpICESHm; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h186si2032597pge.124.2017.11.04.08.40.04; Sat, 04 Nov 2017 08:40:17 -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=@linaro.org header.s=google header.b=FpICESHm; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752503AbdKDPjZ (ORCPT + 92 others); Sat, 4 Nov 2017 11:39:25 -0400 Received: from mail-io0-f195.google.com ([209.85.223.195]:52480 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751945AbdKDPjX (ORCPT ); Sat, 4 Nov 2017 11:39:23 -0400 Received: by mail-io0-f195.google.com with SMTP id f20so11545586ioj.9 for ; Sat, 04 Nov 2017 08:39:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=j0fuvFQT9cPz5J7pRLfxozJVi9cGrzPRT+kThE5YNc8=; b=FpICESHmnjQGzWxfNR1eahyiuydJuuxybihONAyNh6lxDGb1qNVa9Isw/Hli0v5cfk +BqmGDLeSOrXqL2E0wgeqftKVd/Dx2HTMSbdTWY82w9d5AvJFgTYZSl8NguuV27jjeDp gi/u7vPzXbaySW2pJ2A+n4zMg4g4i/oudG2bM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=j0fuvFQT9cPz5J7pRLfxozJVi9cGrzPRT+kThE5YNc8=; b=D3BKaOL43cIXmkkPsrj8PzzxpaWY45YpfDTPM8cZKeAcNiNY8f3tl1iK0sHiR0rkT0 GLHwx9zFwaiYBZMvNLH5ZwE/SPI43/gAlWE1P1OWbWpSCawuLGJNZLtN/6s1DCkzPLsl VaKiSdRyGZNqe7j+nG3mSOWEkZ6GVk8vBZyUZD2+RPjHctzmsJOpMg+pNPx4ZhZ9ykmG cJSRzlSrQ3tTLpOkpwVCyYLYzkpgodUc+c4ZG5Hw7Lo0O1hbdGeOQ0NjUDTtuFRsqmIk vypV8nMkHzY/q/LTMv/jNR/AmbmSIA0kyzGlDyRDJ+A1QCnSBL8b9CZ/et1iKIbwUGnj yOPg== X-Gm-Message-State: AJaThX5MmFhk5w+FGodayfZHdFuTqj4D5jjEIGRKEgZJiMEz5Egrov8m NcEi6H0D3clzXezOIxa7VKPjVvv2qVhOa/zm8ViROQ== X-Received: by 10.107.151.19 with SMTP id z19mr13679823iod.248.1509809962541; Sat, 04 Nov 2017 08:39:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.131.167 with HTTP; Sat, 4 Nov 2017 08:39:21 -0700 (PDT) In-Reply-To: <3327258c-b222-248b-9550-7620a57328f5@suse.de> References: <20170625170020.11791-1-afaerber@suse.de> <20170625170020.11791-4-afaerber@suse.de> <20170628164605.2gnvrv4g7jluzyrm@rob-hp-laptop> <51221840-b08e-45f1-5601-937fb15f3947@suse.de> <3327258c-b222-248b-9550-7620a57328f5@suse.de> From: Ard Biesheuvel Date: Sat, 4 Nov 2017 15:39:21 +0000 Message-ID: Subject: Re: [PATCH 3/5] dt-bindings: arm: Document Socionext MB86S71 and Fujitsu F-Cue To: =?UTF-8?Q?Andreas_F=C3=A4rber?= Cc: Leif Lindholm , Grant Likely , Masahiro Yamada , Satoru OKAMOTO , Arnd Bergmann , Olof Johansson , Mark Rutland , Rob Herring , "devicetree@vger.kernel.org" , Linux Kernel Mailing List , Amit Kucheria , linux-arm-kernel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4 November 2017 at 15:30, Andreas F=C3=A4rber wrote: > Am 04.11.2017 um 22:57 schrieb Ard Biesheuvel: >> On 4 November 2017 at 13:44, Andreas F=C3=A4rber wrot= e: >>> Hi everyone, >>> >>> The non-building clk driver has been removed for 4.14, but this patchse= t >>> seems stuck on matters of naming and maintenance... >>> >>> Am 30.06.2017 um 01:18 schrieb Masahiro Yamada: >>>> Hi Andreas, >>>> >>>> 2017-06-29 21:53 GMT+09:00 Andreas F=C3=A4rber : >>>>> Hi Masahiro-san, >>>>> >>>>> Am 29.06.2017 um 14:18 schrieb Masahiro Yamada: >>>>>> 2017-06-29 1:46 GMT+09:00 Rob Herring : >>>>>>> On Sun, Jun 25, 2017 at 07:00:18PM +0200, Andreas F=C3=A4rber wrote= : >>>>>>>> For consistency with existing SoC bindings, use "fujitsu,mb86s71" = but >>>>>>>> socionext.txt. >>>>>>>> >>>>>>>> Signed-off-by: Andreas F=C3=A4rber >>>>>>>> --- >>>>>>>> Documentation/devicetree/bindings/arm/socionext.txt | 17 ++++++++= +++++++++ >>>>>>>> 1 file changed, 17 insertions(+) >>>>>>>> create mode 100644 Documentation/devicetree/bindings/arm/socionex= t.txt >>>>>>> >>>>>>> Acked-by: Rob Herring >>>>>>> -- >>>>>> >>>>>> I do not mind this, but >>>>>> please note there are multiple product lines in Socionext >>>>>> because Socionext merged LSI divisions from Panasonic and Fujitsu. >>>>>> >>>>>> I maintain documents for Socionext UniPhier SoC family >>>>>> (which inherits SoC architecture of Panasonic) >>>>>> in Documentation/devicetree/bindings/arm/uniphier/. >>>>> >>>>> Actually you seemed to be lacking bindings beyond the cache controlle= r >>>>> for Uniphier: >>>>> >>>>> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/t= ree/Documentation/devicetree/bindings/arm/uniphier >>>>> >>>>> The SoC compatible, e.g. "socionext,uniphier-ld11", needs to be defin= ed >>>>> somewhere too, as done here. A git-grep for that particular compatibl= e >>>>> only finds derived clk and reset bindings. >>>> >>>> I can care to send a patch later, but it is off-topic here. >>> >>> [The relevance was that had there been any bindings precedence from >>> UniPhier, it would've influenced my naming choices.] >>> >>>>> Using socionext.txt allows you to add those bindings to a shared file= ; >>>>> if you prefer to host them separately below uniphier/ or as uniphier.= txt >>>> >>>> I was thinking of this way. >>>> >>>> For example, TI has omap/, keystone/, davinci.txt, etc. >>>> in this directory level. >>>> >>>> >>>>> do you have a better name suggestion for this one? I was trying to ke= ep >>>>> our options open to later add SC2A11 in socionext.txt, and I also saw >>>>> some mb8ac300 or so (MB86S7x predecessor?) in downstream sources, so = I >>>>> don't know a good common name for the non-Panasonic parts. And if we >>>>> take fujitsu.txt for MB86S7x to match the vendor prefix then we will >>>>> need a separate file for the new SC2A11 IIUC. >>>> >>>> I have no idea. >>>> Actually, I am not familiar with those SoCs. >>>> >>>> I am not sure if there exists a common name for those Fujitsu-derived = SoCs. >>>> I think a SoC family name will be helpful to avoid proliferating >>>> arch/arm/mach-{mb86s7x,mb8ac300, ...}. >>>> >>>> I see some Socionext guys CC'ed in this mail, >>>> somebody might have information about this. >>>> >>>> As I said before, I do not mind adding socionext.txt >>>> and it seems reasonable enough >>>> if there is no common name for those SoCs. >>>> >>>> >>>> >>>>> Also if you can tell us where the cut between Fujitsu and Socionext >>>>> should be done, we can certainly adapt. NXP is still adding all their >>>>> new SoCs in fsl.txt, it seems. >>>>> (A similar naming issue exists for my not-yet-submitted FM4 patches, >>>>> where it changed owners from Fujitsu to Spansion and then to Cypress.= ) >>>>> >>>> >>>> Right, vendor names are not future-proof in some cases. >>>> >>>> We use "uniphier" because it is convenient to >>>> make a group of SoCs with similar architecture, >>>> and it will work even if UniPhier product lines are sold again in the >>>> future. :-) >>> >>> Summarizing: Masahiro-san only wants to maintain the UniPhier family of >>> Socionext SoCs, not this MB86S71. No one from Socionext or Linaro has >>> volunteered as maintainer for these F-Cue MB86S71 patches - that seems >>> to indicate I'll again have to set up a new repository and start >>> maintaining it myself. >>> >>> Naming it linux-socionext.git wouldn't quite be right due to UniPhier >>> also being Socionext. >>> >>> It's also unclear whether and by whom there may be SC2A11 patches - I >>> hear for now Linaro are maintaining a SynQuacer DT in EDK2, rebelling >>> against linux.git. >>> >> >> Eh, wait, what? "Rebelling against linux.git"? What is that supposed >> to mean exactly? > > Bindings must be submitted to the devicetree mailing list, acked by Rob > and merged into the Linux tree before compatible strings may be used in > Linux drivers or in-tree .dts[i] files. checkpatch.pl checks for that. > OK, so where did we deviate from this in your opinion? > U-Boot only allows import of new .dts files from Linux, too. > > So Linus' linux.git is the location to merge any vendor prefixes and > device tree bindings, Agreed. > as well as the central location for device trees. > Why should there be a central location for device trees? > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/D= ocumentation/devicetree/bindings > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/a= rch/arm/boot/dts > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/a= rch/arm64/boot/dts > > If you're unfamiliar with that, talk to your Linaro colleagues please! > Please don't lecture me on this. The bindings are the contract between the OS and the platform, and I agree that those need to be reviewed and maintained in a central location, and the kernel tree, while not optimal, is a suitable place for that. However, the existence of such contracts means that there is no need to have a central location for device trees, nor should there be a need for distros to ever ship device trees with the kernel. That practice defeats the entire purpose of having contracts in the first place, especially with the pathetic churn we are seeing in device trees that are kept in the kernel. From 1583150031178280377@xxx Sat Nov 04 15:32:03 +0000 2017 X-GM-THRID: 1571196999491588298 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread