Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp6727971ybp; Tue, 15 Oct 2019 20:45:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqzHqIzrTjqBMJFtLg2UnUFJGQIUPsoJqL+x4+WlZsXPC+JrJ818g9AOtFCdkjulMPPfZcGH X-Received: by 2002:a17:906:7202:: with SMTP id m2mr37128136ejk.138.1571197529986; Tue, 15 Oct 2019 20:45:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571197529; cv=none; d=google.com; s=arc-20160816; b=G60FNnog/fdKP7aKpABUbEBIsP3FQ3QGRiMlp8RTzdDlJf34VuoBBtFvoNdCGoDJPo hNG+q9Z6+A2Z0XjpPWA+A18x3UIPL+RinuVliVfvHiUpY5bWxi7m44ximYOlkc4PeGnd WwsW4+V89jyOX7dWEf3IhlCi0ORCDOLqqAv+UJk8Jd7a1alCO4rsyg8tGZhLUmBE/nWZ +10zOY+kibSYXCtqKildRnPRDvWCYyQQYsqBy0jZFR465zv8MlQLBV72O0WwbvuKTsIA pdpohqmMPsS0zJ17Am3Va/Uyq/YHX00DTf4OzcXXJ77g7EZ0z+Nl/a38bVw+dDonaP64 QWWw== 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=Oa1wgrMTP51eM7ex3/OAZWuxSbQycTcyE35DxAlnQcI=; b=oQKWO2WBG2X+D0cNt8OLnt0dgP9CnEFeK8K0kCQlPsN7CaJBLxdHIQE/oQ+lW2rXy6 gHRFD4yiLzwa85HPOWXRZkDNNigYzOLbAkoPp847HTjseTGpno8krb/CcrhlC7Rh0V/g Bv6rol/vSn5ejCUdye4Ov8dZiuLyLomADc/EN0Ii3BnaAbHYnF1PlyMWI7kWt37QKt9X lrjB6vDxQOh/wN2WHhCLJDOz3nYP/AqMJcuelxBwcyTtCVBLgpW4HqdlhtIE6y8NJfHB sMDQwoFHQot6C3ItzUvVT7YrOeuObqdNVmS4aEEN2sayaB7wF8oysD9Fc+Wok4RtlcSR vafQ== 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 d15si15188486edq.430.2019.10.15.20.45.06; Tue, 15 Oct 2019 20:45:29 -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; 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 S2387925AbfJOUck (ORCPT + 99 others); Tue, 15 Oct 2019 16:32:40 -0400 Received: from gloria.sntech.de ([185.11.138.130]:39548 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726506AbfJOUcj (ORCPT ); Tue, 15 Oct 2019 16:32:39 -0400 Received: from remote.shanghaihotelholland.com ([46.44.148.63] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iKTUh-00087j-Uz; Tue, 15 Oct 2019 22:32:35 +0200 From: Heiko Stuebner To: Johan Jonker Cc: robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] include: dt-bindings: rockchip: remove RK_FUNC defines Date: Tue, 15 Oct 2019 22:32:30 +0200 Message-ID: <2623685.EsipSBtvXi@phil> In-Reply-To: <29be43a3-516b-ce33-8a19-ffd8202d9c3a@gmail.com> References: <20191015191000.2890-1-jbx6244@gmail.com> <2236841.lnJlJmhppS@phil> <29be43a3-516b-ce33-8a19-ffd8202d9c3a@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 Am Dienstag, 15. Oktober 2019, 22:26:14 CEST schrieb Johan Jonker: > Hi Heiko, > > What's the plan for RK_FUNC_GPIO ? Change all to '0' or keep it? RK_FUNC_GPIO I'd like to keep :-) . Basic rationale is that mapping RK_FUNC_1 -> 1, RK_FUNC_2 -> 2, etc does not provide any additional value, while telling it explicitly that we're mapping to the gpio function does. Heiko > > On 10/15/19 10:10 PM, Heiko Stuebner wrote: > > Hi Johan, > > > > Am Dienstag, 15. Oktober 2019, 21:10:00 CEST schrieb Johan Jonker: > >> The defines RK_FUNC_1, RK_FUNC_2, RK_FUNC_3 and RK_FUNC_4 > >> are no longer used, so remove them to prevent > >> that someone start using them again. > > > > That won't work. Devicetree provides a slightly flexible promise of > > backwards compatibilty. So a new kernel should still work old devicetrees. > > (not exactly sure if this means dt-binaries and sources or only binaries) > > > > So while I think RK_FUNC_0-n should not be used anymore, we should > > probably just mark them as "deprecated" in a first step. > > > > > > Heiko > >