Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4488348imm; Wed, 30 May 2018 06:38:11 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL6vXHCA228TYxsyHa9cgeP3HNibM6k2rtR3IVt0Yu3qnfD8w9nYMGKVEX0owPvBv7twlHY X-Received: by 2002:a65:5b8b:: with SMTP id i11-v6mr2296823pgr.225.1527687491935; Wed, 30 May 2018 06:38:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527687491; cv=none; d=google.com; s=arc-20160816; b=mYEMcP9GA2g8gJ+d4prR7/zq4PHacTt9uXaghHl8V/fw7mLzKPE/xD39F0GQI2r4/i p7UOq6+9hAdsAhNe3BsZNDGm20g3z4bHyC5zO7eenVoWJICftDiQblQhPwxXW3L2yAVj UFoq5ECpnw3R1x9o+O2vwEGXmGyHXAVMdYlZ8+s7aSR50ybX/fVxLgOqL4h6NNgEsw4J cn22YeEzQTCYG6c3aF5LoxxjzQ7iio9wAT25tu6M/x3fdjA7fblaDXmDAnBUKx5pFALw tguu4YL53mwKRrqLDcPxVE+PE9TDttPBXbv7ozYtvlbe7dQ1qtXEKpCieQnDU3KhMzg9 BpjA== 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 :arc-authentication-results; bh=XVU67aFE3HrddnUdUA4j4dW7jwiwJpwCrrxQd5FcbE8=; b=zNW6KrP0UP3xQmXiQQOIz3XBeVbjvJyQF6QJuOcSqHYwGkO4BBVRNtejkuvX6cLWN5 I7u5NamEgWo2SZFXHMq34mARUcns3Gh2Z/W1MNOqumHK4qOvRL2aUr6oZshiKcTpI09g d6BItAcYjcxc2fz2mSw5/HcIi3i0vwesxc6IMTlBvELCWyJ6rYLSUO9AKMDVBHTlQvEW eY0+KPyfXt9+UhzROEmHy8d7K6G4XayOSXWt+LbnR3zv/85wOThIuFwPNC8xdYtacx/+ syKRuACxUaNsaVKy98OgCT5GfMu2D16+k3/f5BQhV9y+qHkuDUo7uIuXQl+kDuHb65Ws ff7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=ZYrRRmIq; 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 190-v6si24843935pgi.333.2018.05.30.06.37.57; Wed, 30 May 2018 06:38:11 -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=@gmail.com header.s=20161025 header.b=ZYrRRmIq; 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 S1753429AbeE3Ngw (ORCPT + 99 others); Wed, 30 May 2018 09:36:52 -0400 Received: from mail-ua0-f194.google.com ([209.85.217.194]:39670 "EHLO mail-ua0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753237AbeE3Ngr (ORCPT ); Wed, 30 May 2018 09:36:47 -0400 Received: by mail-ua0-f194.google.com with SMTP id v17-v6so12468776uak.6; Wed, 30 May 2018 06:36:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=XVU67aFE3HrddnUdUA4j4dW7jwiwJpwCrrxQd5FcbE8=; b=ZYrRRmIq/oOGoPoUgpptKzESCIdbwRMldTH2A0MAruXvsuZ/SG4vR424IZi4Qrtrrt qFygbu1EwUHPGPT8STln8BfcIX2aMaeeoiFpaMJnvBnwm6CqgcmB+iqkFKi423ej6TPS K/cBIm+7ySV6bfuBKRV/gCrenicdOjF6Os801lel2FumQ6+Qgx+c5EdlQPtNX0ZSu7ha WCBe8FS4Z+b11Er5gv3b8d9nxwOFJ8Wp1OjTjctVUj51yBELkhyZDAA403u5anFyHYPZ tKnDtg38GHkddUhPQRbrLRIvIMP+9PNV7NVxfLyEkAebNsQkydEjRbWhF/usJMuz5CVN DEug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=XVU67aFE3HrddnUdUA4j4dW7jwiwJpwCrrxQd5FcbE8=; b=IzNOyyrOJetQVRJxG+MKnRRzJS/QaFtEzHJKx6Ut13yexN/TGkUMTp7dD6e9dbu9x0 x2rmpyWUXC2N9D0/uYADQckUJZ/PQ32T3PshQE6OsCj4GTK3sQG7BBg+FMICG9MUepZ8 iigsjJZm271vn2gw+2mhd26SD0bAzzvNqGyVHhwgRRUMcjiaYJOkrahwc6qq0/E2d/Ms ZMuprt8dgQ7wpJBbFgGbDFPnPXSSHCw5VPFQYtmnqTdMJTMxrhMCldiluWuOpC+51pF7 Hy1RN7W7pJA1kyoWW7vIbvS7KlF+XRTX5oA/THVXni7DI1zAk10IgURcTqK3VeSzCBDy mz7g== X-Gm-Message-State: ALKqPwdHQPJKq1m0Kve6Hna1C+NFjRUXSUDtD/5Cll5ENPiG7IYV7AMm svxmhveagzjLvDy8eBTDNKeCx5hhPhdMvUIdh3M= X-Received: by 2002:ab0:5105:: with SMTP id e5-v6mr1828964uaa.33.1527687405706; Wed, 30 May 2018 06:36:45 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a67:7a0a:0:0:0:0:0 with HTTP; Wed, 30 May 2018 06:36:44 -0700 (PDT) In-Reply-To: References: <1526983321-41949-1-git-send-email-michel.pollet@bp.renesas.com> <1526983321-41949-3-git-send-email-michel.pollet@bp.renesas.com> From: Geert Uytterhoeven Date: Wed, 30 May 2018 15:36:44 +0200 X-Google-Sender-Auth: aFOERd-_h8RQ9Rh3ZNxaSNZ4wiQ Message-ID: Subject: Re: [PATCH v6 2/6] dt-bindings: Add the rzn1-clocks.h file To: Phil Edworthy Cc: M P , Michel Pollet , Linux-Renesas , Simon Horman , Michel Pollet , Magnus Damm , Rob Herring , Mark Rutland , Michael Turquette , Stephen Boyd , Geert Uytterhoeven , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , linux-clk 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 Hi Phil, On Wed, May 30, 2018 at 3:30 PM, Phil Edworthy wrote: > On 25 May 2018 10:13 Geert Uytterhoeven wrote: > [snip] > >> Now, given the clock definitions for RZ/N1[DSL] are the same (although some >> don't exist on some variants), you could keep on using RZN1_CLK_FOO for >> the names of the defines, and store them in a common file, included by the >> soc-specific file. But please make clear the common file cannot be included >> directly, so the filename does not become part of the DT ABI, and you are >> shielded from future marketing silliness (e.g. next quarter's RZ/N1X being >> totally different). > How does an include filename become part of the DT ABI? > I thought the dtb is the ABI, not the dts. Am I wrong? You're right. In se the DT ABI applies to the DTB, not to the DTS. The definitions inside the include file are part of the DT bindings, and thus cannot be changed. Your DTS files get these definitions by including the header file, so the header filename is also part of the bindings, and thus can't be changed that easily. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds