Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp775167ybf; Sat, 29 Feb 2020 15:55:57 -0800 (PST) X-Google-Smtp-Source: APXvYqyOoBH7D1eFTq2rpjCMLStcaK4qgxM8HD/5iULHPXqQMzxT4wA+GqMAKFmyV+sIAu4mULBR X-Received: by 2002:a9d:66c1:: with SMTP id t1mr7495324otm.73.1583020557462; Sat, 29 Feb 2020 15:55:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583020557; cv=none; d=google.com; s=arc-20160816; b=GMRlpJx89QsTQVE+LPgYiqRSA5JQS9jW0j/b/t6nZSZhs0RhM1s/eFtF7U0st/TOHH RzRT0S6XIdNpLrA2q1f9d/uvHIKTZwNV+ZOy1jEh/XQLQMika8Ixm1DxJtBiLDOIM7j+ nWM11CbkBgLGF4FTTwL38Vrlg3nneGvgfRHJvbwsrfnyu+yjSgJZCWQvElB6Z1+s6t5p On8q0xlpef1TVWS3IWINkzfpbBMf1wMYkUkzNWUce89RdGd+XkhDW2sUbPskFhL9mXj9 5+JBT6EVGel6mapQ6YwfsDjRNagChUXelO2L9IP5BKM6puf7SrEz6kvjTUo3v6a9Pk/u qHIg== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=ld6fmYufQ4OtOFXVPnbdpsocluGdxXCwYIVw6MLNu8o=; b=Dj1yEUFG3QuZDFAQy5uiXwcRkQhSdnpHRry1E0maDzz0Y316M71ss5F1HT12rbNxRJ Gt+uM0Ey/DcRq0eGllqjt86VORsH06e85LwRNC6aKMc/Nnkrx9UWqIjM0wo/JOzgct5Q jgzVcq5PUDN0HOjBRCY84jXPP4aVG9qXWw3WE+VRvQy/e3O6DH2zvQsRWzmdVngTuh8m oV+5L2Ifi5Dc7D4moNw3JtvEAveyxVInFjjLCKGqS85+JE5XgPnxxRzizonFMSxRI1ix BoU4rg1Ues19UmOZGR+Acpq314FMwxhSDCgoReda2WxFhaSEeAV9tg0FNgy4TUTB8F8+ n+MA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d23si4167279oij.270.2020.02.29.15.55.44; Sat, 29 Feb 2020 15:55:57 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727175AbgB2XzX (ORCPT + 99 others); Sat, 29 Feb 2020 18:55:23 -0500 Received: from gloria.sntech.de ([185.11.138.130]:55408 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726786AbgB2XzW (ORCPT ); Sat, 29 Feb 2020 18:55:22 -0500 Received: from p508fcd9d.dip0.t-ipconnect.de ([80.143.205.157] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1j8Bx1-0004s7-QY; Sun, 01 Mar 2020 00:55:19 +0100 From: Heiko Stuebner To: Johan Jonker Cc: Robin Murphy , devicetree@vger.kernel.org, robh+dt@kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: Re: [PATCH 1/4] dt-bindings: arm: fix Rockchip Kylin board bindings Date: Sun, 01 Mar 2020 00:55:19 +0100 Message-ID: <21505688.DxWBmkEV5j@phil> In-Reply-To: <5d47cf5f-9ac4-cff4-340b-a2518a508738@gmail.com> References: <20200228061436.13506-1-jbx6244@gmail.com> <73b41bd1-01e9-6af8-afc8-b1a96614d026@arm.com> <5d47cf5f-9ac4-cff4-340b-a2518a508738@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Johan, Am Freitag, 28. Februar 2020, 13:50:11 CET schrieb Johan Jonker: > On 2/28/20 1:35 PM, Robin Murphy wrote: > > On 28/02/2020 6:14 am, Johan Jonker wrote: > >> A test with the command below gives this error: > >> > >> arch/arm/boot/dts/rk3036-kylin.dt.yaml: /: compatible: > >> ['rockchip,rk3036-kylin', 'rockchip,rk3036'] > >> is not valid under any of the given schemas > >> > >> Fix this error by changing 'rockchip,kylin-rk3036' to > >> 'rockchip,rk3036-kylin' in rockchip.yaml. > > > > > > Although I can guess, it might be worth a note to explain why it's the > > binding rather than the DTS that gets changed here. > > Hi Robin, > > My guess is that given a look at the other boards the processor name > comes first and then the board name, so I changed it in rockchip.yaml. > But maybe Heiko can better explain what the naming consensus in the past > was. I think what Robin meant was that there should be an explanation in the commit message on why you change the binding and not the board. Normally the dt-binding is the authoritative part, so boards should follow the binding, but in the kylin-case the compatible from the .dts is used fr years in the field now, so you're correct to fix the binding, as otherwise we would break old users. So just add a paragraph to the commit message with the above ;-) Heiko