Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1561373imm; Sun, 23 Sep 2018 06:46:48 -0700 (PDT) X-Google-Smtp-Source: ACcGV62UpvoIfzeGUkazjWWq/tBu8Gc+JFBVbKHRGzONFWjc9bNBjA7+kNpfRLT7v6N5VVmTHxzp X-Received: by 2002:a17:902:d909:: with SMTP id c9-v6mr6133623plz.165.1537710408148; Sun, 23 Sep 2018 06:46:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537710408; cv=none; d=google.com; s=arc-20160816; b=IzWri+rIFwN+ASyznjCk8BCeLc+PUpKHdi3D9Ud5ANQnuWWqjsHLptLyUvqeVECNN5 UouqWMDmhQpsFWw13XXp8LCLRAgF+UlYwwpTzRPiLQWv7pUc2OJ5lCu19Aq6rpD93J3a C9/1LhRXUfHKkVgZepyP02FjCk/tqMvHHIwQxB/z3JYrwcsp1/Cg2SBijPPaXIbLKOvY 9VSjOhPRF4yqMmZV7oHCXLMnm+K84DhOmqDqfdzrgWAw8Xcll9hC9jC+IDCmDlrzZPUs UoD/iyy60Wl1JD3eYd2wj0EbzJSyPaeZ4SuGId6etNaY/zUrH14dy8nMaWXzn4115vL6 q7iQ== 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 :references:in-reply-to:mime-version:dkim-signature; bh=C5+9DdUIa1SXcHBQy7B4QK/Om4O6fR+/Z/u1c1nwl/8=; b=CLnVoCm4eMAshLmUYvsKbzzOyH7xKVWmCzWSToKiWK4bAsYJHRnosbrX5cbU0NMIAV 0Us2bATlb9jln6oLV0+IP6eVJqOORG9NhY5xqgf2vCe8AWBvZECDg9hJMlq4r6ZDh7LG e72vh1lYPccQJm5Qe6mvxuk+nhF02t4BEFGSyrBZj9Dyd0xPrnech0vskcrmpV1wE3gl 1Ws8HUTmLoQirpnaYTwAQl2RPJAVym1GMTa+BMcibyDzVzzIBUfaYpsqpnSOhIuMM3oI N6DaRINMfDx1ZprzXOuvOLHTDl8hM4YiZt/7UQSwDgRyPQyu1fcHF5rx3XGB3qQ6Ar+P ZUpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=08hfiQLS; 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 75-v6si1755901pfy.169.2018.09.23.06.46.30; Sun, 23 Sep 2018 06:46:48 -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=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=08hfiQLS; 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 S1726094AbeIWTn4 (ORCPT + 99 others); Sun, 23 Sep 2018 15:43:56 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:33965 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726071AbeIWTnz (ORCPT ); Sun, 23 Sep 2018 15:43:55 -0400 Received: by mail-lf1-f67.google.com with SMTP id y10-v6so328095lfj.1 for ; Sun, 23 Sep 2018 06:46:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lixom-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=C5+9DdUIa1SXcHBQy7B4QK/Om4O6fR+/Z/u1c1nwl/8=; b=08hfiQLSGyCSsJJp62uLSBCR6ymKe5ipStBxuZfWZVT/gh8xaVkqX0hQLAZZbpBb8D l9j1UcC/yFvvuelFlcrzNfc7TcTDvlmzTfsIXk3cWJIku7y9yNo7WkTC93TtErUcoJH9 5N5L0y+pi3zKgGQetyxGgr41x+mz65f9EA/0Qbkytw7jLv5cycP54h3ZwcszpIGlaKi6 UAgeV4WJbO/qjXakJelr5hxW6aauUx/ZuClCW53wkvdF4FtKZ/dK5RtN1EcvnLYvFv9n n3h69DikULZ16pOMPEOueaxIKL4eV7ZuLFyWmIXQvwk18bygZBdu0Q+ZbE+FKO5hLK4U K62Q== 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; bh=C5+9DdUIa1SXcHBQy7B4QK/Om4O6fR+/Z/u1c1nwl/8=; b=Ls+T9SxCumoB8bK1HINIjFJTDVB9QWdm/V8K40Oo6UyUhFm66vohUrtkVw55feHykN qMggeNs5whESJiXK67DtE2OVpAEFbJfrRQaYTwvfjc1tPrbc4pJ1THh+GfVCHw/gVCMk B4OrfvTmMOP0DqctZUoSnX4xkN5vdgjaDwgD6zCKXCq6H164RsgjJdjyXcMA82y/sWfR QSqpXngUfy6QqencwF21DL+CVo7vd07KFlvucDO1R+FlxMMDK72lFC9CvAZY7N0pypwk Ke+EyxUos0ndOp1QvNYhHKcXL2ErltDok3FzojtWIJjZP9D/kH3CdSIcA7+rp8n2i7rP EowA== X-Gm-Message-State: APzg51B2lRI5intZLEtZdfhDZPQuO8hJ+LSYPbr331hf22pVddn/EDZE 5cs0iiU2YOdA0jySGwproSfdt8RGJfWj3MhSHVr/7Q== X-Received: by 2002:a19:1588:: with SMTP id 8-v6mr3739390lfv.36.1537710382039; Sun, 23 Sep 2018 06:46:22 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:eac3:0:0:0:0:0 with HTTP; Sun, 23 Sep 2018 06:46:20 -0700 (PDT) X-Originating-IP: [85.30.9.151] In-Reply-To: <20180830180205.18121-1-krzk@kernel.org> References: <20180830180205.18121-1-krzk@kernel.org> From: Olof Johansson Date: Sun, 23 Sep 2018 14:46:20 +0100 Message-ID: Subject: Re: [PATCH v3] dt-bindings: arm: Explicitly mark Samsung Exynos SoC as unstable To: Krzysztof Kozlowski Cc: Rob Herring , Mark Rutland , Kukjin Kim , Pankaj Dubey , Bartlomiej Zolnierkiewicz , Marek Szyprowski , DTML , Linux ARM Mailing List , linux-samsung-soc@vger.kernel.org, Linux Kernel Mailing List , Chanwoo Choi , Seung-Woo Kim , Inki Dae , Sylwester Nawrocki , Alim Akhtar , Arnd Bergmann 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 Thu, Aug 30, 2018 at 7:02 PM, Krzysztof Kozlowski wrote: > Samsung Exynos SoCs and boards related bindings evolved since the initial > introduction, but initially the bindings were minimal and a bit incomplete > (they never described all the hardware modules available in the SoCs). > Since then some significant (not fully compatible) changes have been > already committed a few times (like gpio replaced by pinctrl, display ddc, > mfc reserved memory, some core clocks added to various hardware modules, > added more required nodes). > > On the other side there are no boards which have device tree embedded in > the bootloader. Device tree blob is always compiled from the kernel tree > and updated together with the kernel image. > > Thus to avoid further adding a bunch of workarounds for old/missing > bindings, make development of new platforms easier and allow to make > cleanup of the existing code and device tree files, lets mark some > Samsung Exynos SoC platform bindings as unstable. This means that > bindings can may change at any time and users should use the dtb file > compiled from the same kernel source tree as the kernel image. I have to admit that I don't really like this approach, and I missed the patch when originally posted (I did notice it in the pull request it came in with though). The main concern for me is that with a blanket "everything is always unstable" we discard the notion that we should strive for bindings to be stable and backwards compatible. Questions that come to mind are: - When do they stop being unstable? - Is there a way to note in the binding itself that it's still unstable with an anticipation of when it will be settled in? - Is there a better way to version the bindings to avoid complete backwards compatibility? Pointing out a couple of cases where it has been painful to stay backwards compatible could also be useful for understanding (even though you run the risk of each case being explained away with suggestions of how it can be handled). -Olof