Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2314271ybk; Mon, 11 May 2020 18:11:53 -0700 (PDT) X-Google-Smtp-Source: APiQypIvhGKr3/KjNirxL9iN1q0hnJWUJ7K40hZc0ES3vobkioAxTRNOE6rrs6UMjKkuH2EqDKDr X-Received: by 2002:a50:e80a:: with SMTP id e10mr15981519edn.204.1589245912833; Mon, 11 May 2020 18:11:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589245912; cv=none; d=google.com; s=arc-20160816; b=Tj/S+wKWAbqTiWC90aaW/YxqyGEWoM/+v9kMebSjFuPHVuOzsJ6Q539kbNj2CooAlf s8IaNiat1eHL1QqVfxVqvllLNCRnL3mvaB9cH0Zx2XReY79MAep1zeZFWRp+b0aSzDuM adeduhrsGfq7QFpuQK7+Dby/7grogavcGgf7yyuEd8EXqD/G3BQJejVOcur2srwGE8R1 5u+RAN4LKUZQcvopQ0f9CSvvmDc02fXB7ZnrCizRAI9ShqnW++6Q4tzsmIJ78uBeHrPB PORYvvTQH6gupSWwLFEflfrr+XYmVwFpU1rQcsf7x8hw0Jv4E2DQttIDAtxGf1dcE+x/ 9UcQ== 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=Wo2VmVs8YFrYaLi5BW4uPN5aEMQoXwJELsa5O+QYSRM=; b=p9M6Q0KQjnuntRvrVV39UEQDTwFJBP008VCgBU/4PtwuDmst5GyxLwqgXdi1SXWyss 4TPAPcjFIYM3Bmo5ZVtN9datUtDV2TJktef3DnpraKy+5J+j3l5lEGioe1txSytjYpiw Ip2L0iJat5EqFX21WMX6hM5ff7wMLFUUdkXq88q2jjPnrTOQDmCbkE1wX7nYIMLFoYLN ySm85VS7tbKndCDXAfPZxsEZ4wd840Jy8Vr0iLDm1Ldm+InEmBT7K7xW2U9RpNLMeIH3 ySihVAERRO3Kzuwz0ttKEyueMU84Mg+V9/vRnUMDYrzoKqSlDk4+8Q46t5vkbqS4BzHo hFqw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gj5si1381955ejb.174.2020.05.11.18.11.30; Mon, 11 May 2020 18:11:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728418AbgELBJi (ORCPT + 99 others); Mon, 11 May 2020 21:09:38 -0400 Received: from gloria.sntech.de ([185.11.138.130]:57246 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726106AbgELBJi (ORCPT ); Mon, 11 May 2020 21:09:38 -0400 Received: from ip5f5aa64a.dynamic.kabel-deutschland.de ([95.90.166.74] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYJQJ-00070l-IM; Tue, 12 May 2020 03:09:31 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Rob Herring Cc: Johan Jonker , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] include: dt-bindings: rockchip: mark RK_GPIO defines as deprecated Date: Tue, 12 May 2020 03:09:30 +0200 Message-ID: <2039286.bXBTDbpnOK@diego> In-Reply-To: <20200511213605.GA14679@bogus> References: <20200424151105.18736-1-jbx6244@gmail.com> <20200511213605.GA14679@bogus> 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 Montag, 11. Mai 2020, 23:36:05 CEST schrieb Rob Herring: > On Fri, Apr 24, 2020 at 05:11:05PM +0200, Johan Jonker wrote: > > The defines RK_GPIO0, RK_GPIO1, RK_GPIO2, RK_GPIO3, > > RK_GPIO4 and RK_GPIO6 are no longer used. Mark them as > > "deprecated" to prevent that someone start using them again. > > What changed exactly? The binding changed, or just using raw 0-6 instead > of the defines? This ... they are just dumb mappings of RK_GPIOx -> x so we switched over to just using the raw numbers, as the constants do not provide any additional information. > If there's not anything using these in tree, just delete them. Ok, good to know that we can just delete them if noone is using them anymore. > It is still used in the binding doc. I think Johan will provide a v2 with that. Heiko