Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1063003ybg; Wed, 29 Jul 2020 05:01:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8SR/v2Nz3gIPCc6V8iElwrHnt0z8umZLNzysS7bhh5Z7Xe9knIGVutGBnB9JwJQ26hxw3 X-Received: by 2002:a50:93a2:: with SMTP id o31mr31104562eda.203.1596024071166; Wed, 29 Jul 2020 05:01:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596024071; cv=none; d=google.com; s=arc-20160816; b=MmSm6IWN7/kL02gbpP5BbPz7G8shunTxrORqK46SXqTh3eQe9tsxRn41LXmJ6iKB8W PLubP1UqFbs6hOEQ/Gqezm4e2EVlgwaDsZnEbhOJwD8q7X0m5TY29DqSmHjakaPhOWwC 8qgdEdKb+AteNMeNlNzFr99XXNJ/mcmdxLQs8d6znDQD3L0ZF3h26g3+pQVNSgPdi7F0 BG3jpxu1h62PiD1AiBgecHikm45jFrZHHg+7wLulsj7alHbek95RimgKR1MIqTLh8WA8 z3kf8Gi2jbdtBzhbAb6+un0LEf1JBRXncs81dNXXl8QzuKmA2Rb2Sraqeqrh5CzVWRNW 0klw== 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 :in-reply-to:references:mime-version:dkim-signature; bh=5QRWy1YBlieNCizCX79fYi5/kvniVQ9BIqFKoJ+v6lY=; b=NIlqgaej3rzT0mSuflnb08d6+8qX/UN7nyygJloXnRE64LarNEXoQOsOI0AvcUyECs rQRJbKO1s3oDudNGYyPrfEAcWad4kr1QTfmc2sKf2YREjNbwIHu286d/v2HlIFuLh7sW OqIrd/BHIN5D1YDPlSGIbHiLvytlRGv4rkRPOm+wQaJEafihuC3qEDZL6Adb2BIUXYvc 9gX7ZxY11NXZDY1fvkZsI2IxaVKV01mBdZaUyiDJAdufjLcmPxqyNUPjeDh62tNXMENV DH1RbeuVVZ5/ASKIwIc8vSdHbZxo2eEC0b9/Fsnn++J17QUWqwDUotiBJ2wjBDuza5YS hn+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Onozl2Pv; 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 fx3si963664ejb.193.2020.07.29.05.00.47; Wed, 29 Jul 2020 05:01:11 -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; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Onozl2Pv; 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 S1726615AbgG2L7V (ORCPT + 99 others); Wed, 29 Jul 2020 07:59:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726353AbgG2L7U (ORCPT ); Wed, 29 Jul 2020 07:59:20 -0400 Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3296FC061794 for ; Wed, 29 Jul 2020 04:59:20 -0700 (PDT) Received: by mail-ed1-x541.google.com with SMTP id c2so11340515edx.8 for ; Wed, 29 Jul 2020 04:59:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5QRWy1YBlieNCizCX79fYi5/kvniVQ9BIqFKoJ+v6lY=; b=Onozl2PvdryGi9YD+CsC7unot6+rdgNl73NAR/I++XEkM/ICfb2X5HUb9upkVoQ5lR LWcTDVhZzlficsyzPt23J8l8HKMfciLClrRJ+X8j5F+jNX7PG89SmCaJQcmujDl47pw5 hALGlMtR8EwQKPcr6wEtumEdIBpNGCaL8QebI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5QRWy1YBlieNCizCX79fYi5/kvniVQ9BIqFKoJ+v6lY=; b=JstPOt7pz40D5zjOreVGOO5Z0EN+kiUlruoo9D3eRjJjsr7mKa3ypCPvxIdBORkHL8 NhV559nPeVluxi1qFy+uy+gSuU2ELNWRb8W2QAdnENkp4Zkofml8rls2fmpboDVbHAfq InBAeKasVmenOOacEfNGUB73w9RSlxv19MobPYleZJi/Nyq1SuOt6NqLxAhN0bK3zhSy +UhZJOOICi8LzZ3rOHaVspaL/BagkZo4lyOrnlCvxWxfaowN4YTUs+6aIHYuHo3TtSqG kZ/M5FTU425gptUtKzTazguSe4urQDWDCBitnvIXCFLXw87685f1IX/HmvtZ7XG34ICI e48Q== X-Gm-Message-State: AOAM531wm0LPzjRJ3BiRc6miN0EwiQaHM4TDXq2BfHNE1YrKLeFVZEbJ Z5XlZKc+lZ36PUi8frqsNycKD+ygrXtZS2DH4v53oQ== X-Received: by 2002:a05:6402:c86:: with SMTP id cm6mr12777305edb.205.1596023958843; Wed, 29 Jul 2020 04:59:18 -0700 (PDT) MIME-Version: 1.0 References: <20200723090210.41201-1-jagan@amarulasolutions.com> <20200723155028.GA427258@bogus> In-Reply-To: <20200723155028.GA427258@bogus> From: Jagan Teki Date: Wed, 29 Jul 2020 17:29:07 +0530 Message-ID: Subject: Re: [PATCH v3 1/4] dt-bindings: arm: rockchip: Update ROCKPi 4 binding To: Rob Herring Cc: Heiko Stuebner , Suniel Mahesh , Michael Trimarchi , linux-arm-kernel , "open list:ARM/Rockchip SoC..." , devicetree , linux-kernel , linux-amarula 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, Jul 23, 2020 at 9:20 PM Rob Herring wrote: > > On Thu, Jul 23, 2020 at 02:32:07PM +0530, Jagan Teki wrote: > > ROCKPi 4 has 3 variants of hardware platforms called > > ROCKPi 4A, 4B, and 4C. > > > > - ROCKPi 4A has no Wif/BT. > > - ROCKPi 4B has AP6256 Wifi/BT, PoE. > > - ROCKPi 4C has AP6256 Wifi/BT, PoE, miniDP, USB Host enabled > > GPIO pin change compared to 4B, 4C > > > > So, update the existing ROCKPi 4 binding to support > > ROCKPi 4A/B/C hardware platforms. > > > > Signed-off-by: Jagan Teki > > --- > > Changes for v3: > > - new patch > > > > Documentation/devicetree/bindings/arm/rockchip.yaml | 6 +++++- > > 1 file changed, 5 insertions(+), 1 deletion(-) > > > > diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/devicetree/bindings/arm/rockchip.yaml > > index db2e35796795..e6f656b0bd56 100644 > > --- a/Documentation/devicetree/bindings/arm/rockchip.yaml > > +++ b/Documentation/devicetree/bindings/arm/rockchip.yaml > > @@ -430,8 +430,12 @@ properties: > > - const: radxa,rock > > - const: rockchip,rk3188 > > > > - - description: Radxa ROCK Pi 4 > > + - description: Radxa ROCK Pi 4A/B/C > > items: > > + - enum: > > + - const: radxa,rockpi4a > > + - const: radxa,rockpi4b > > + - const: radxa,rockpi4c > > - const: radxa,rockpi4 > > radxa,rockpi4 already meant 'ROCKPi 4A' and should continue to do so. > Just add 4B and 4C strings. It's up to you if they should be backwards > compatible with 'radxa,rockpi4' (meaning 4A), but I'd guess not unless > it's just a board pop option. At-least from dts nodes enablement point of view the existing dts (with radxa,rockpi4) is 4B since it has wifi/bt enabled. 4A is the real name of the board so having a compatible with radxa,rockpi4a is meaningful as I understood. So, based on the above statements the respective binding look like - description: Radxa ROCK Pi 4A/B/C items: - enum: - radxa,rockpi4a - radxa,rockpi4b - radxa,rockpi4c - const: radxa,rockpi4 - const: rockchip,rk3399 Comments, please? Jagan.