Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1097496pxj; Fri, 21 May 2021 06:28:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwV8fNsWlTpDkdgYDoDWx5YJbrW/xjwvBEORBiJumknmLorclepN/vxr4pcQ6Inv7bJzbha X-Received: by 2002:a50:f744:: with SMTP id j4mr11124218edn.211.1621603685110; Fri, 21 May 2021 06:28:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621603685; cv=none; d=google.com; s=arc-20160816; b=kM7sWFEJn6MsNCyGtDEWUT/Epafno5VcKfOtv2OhEDtUnhaSRE+uJ6eN3oTvwreTON Uz2+vXhSgm178eeQoP/GWJp9GcTszWC9uN1s3x9lpOlzHdnSr+KRPLjLq3lNR0+cLGt8 +nGNbvS9bv2Zjl6or1vt0wyGGEH8w/rAy9wVI1KO4KfaGJSMlBRiv0S4zew+GyfYD7kM W5PA8586Yp9ikVPf6laquvsuyc2GDHfyqhzra3GZGu62OMUgdO5/pBzpIQmoV23lZBvB Nw3gUhBt0MU1UYJuTzikBMsi3ao7xisfrY1SKHgdyPEP6cQDPXBxpZ7ij8cWZcut7D4e g41w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=b6PugjoAaJt+l80R28svGGy/E47HBQC4C74ypfx68hc=; b=SINpp5BumNTKeiOUdbDnG/GuOiw8uu29TYZhY0AkdXZZWqi7IExOK6Lm47ELkVOE93 O0vcce3XFwJGaGHwng64CFYl1r3U280Yy2KHhq9nFZ0nEC2VxkVcvtw/2gf+cxhpyAfE Afez7jSw5iSGcNMUL/VL6srlGWhU8cJDn1EC1xvKqgenOPcDMLodMbPjgiqF0YcT+ksc 0cr2TidPm+CzZWoyRmzGL9sMebsPI+WO+VpZkcpB3wzXAud9U/mRzVDMxs0mWpZgg1Ok nHzFyekCDV/5i/lQbw7072in0Fwz8AOT/Ad1WKOLm2Vrkl9MpN5ySCcG9wt1TOsh0ZyZ 3u1w== 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 g18si5776813edt.478.2021.05.21.06.27.41; Fri, 21 May 2021 06:28:05 -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 S235247AbhEUN1c (ORCPT + 99 others); Fri, 21 May 2021 09:27:32 -0400 Received: from mail-vs1-f43.google.com ([209.85.217.43]:43584 "EHLO mail-vs1-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231601AbhEUN1K (ORCPT ); Fri, 21 May 2021 09:27:10 -0400 Received: by mail-vs1-f43.google.com with SMTP id n1so8885179vsr.10; Fri, 21 May 2021 06:25:47 -0700 (PDT) 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=b6PugjoAaJt+l80R28svGGy/E47HBQC4C74ypfx68hc=; b=Vc2UnRAIcP6SYvBeDiK3g4lY7FIZTNgxxtW3XQGSmGt4Kv4PruyirVoC5fxtv+C4cb fwcouNbSvmTjiNasd24LjiulBcavV8lzNVtKy9BSLKMXciF7xXSDlZsIu4cUKx/ii6Gw qtsLTPTBbKkzss/pPx9RAgw6RRChNNgZ8aAS0FmUO12wXG3o9Akx05rEXeY6/lznpZbR u9S0okOCVQWeU/NRlbd7wAVxtk5XQzK7j0/xpTfXV4xDvvHVL+uUcQ04fz3+hbBdgXVU XWCNevrM+2DEU21tceMrflAQDC3rmsHAP+TuM9hQUxgSgxz/Bh1uhPoA0zQGM67uD0R/ ZMUw== X-Gm-Message-State: AOAM532ksfyL8E/qqqQM6GnqPVX3sQJKchQSAgHmG45/GKIxCQ1L6llr a+AOgBKn1hEz/qEUBfBd+heNlkiy5DIDfJj6CaY= X-Received: by 2002:a67:fb52:: with SMTP id e18mr10648951vsr.18.1621603546669; Fri, 21 May 2021 06:25:46 -0700 (PDT) MIME-Version: 1.0 References: <20210514192218.13022-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20210514192218.13022-7-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: <20210514192218.13022-7-prabhakar.mahadev-lad.rj@bp.renesas.com> From: Geert Uytterhoeven Date: Fri, 21 May 2021 15:25:34 +0200 Message-ID: Subject: Re: [PATCH 06/16] dt-bindings: arm: renesas,prr: Add new compatible string for RZ/G{L,LC,UL} To: Lad Prabhakar Cc: Rob Herring , Magnus Damm , Michael Turquette , Stephen Boyd , Greg Kroah-Hartman , Catalin Marinas , Will Deacon , Jiri Slaby , Philipp Zabel , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , Linux-Renesas , linux-clk , "open list:SERIAL DRIVERS" , Linux ARM , Biju Das , Prabhakar Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Prabhakar, On Fri, May 14, 2021 at 9:23 PM Lad Prabhakar wrote: > RZ/G2{L,LC,UL} SoC's have LSI_DEVID register to retrieve SoC product and > revision information. > > RZ/G{L,LC,UL} SoC's have 28-bit product-id compared to other R-Car and > RZ/G2{E,H,M,N} SoC's hence a new compatible string "renesas,devid" is > added. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Biju Das Thanks for your patch! > --- a/Documentation/devicetree/bindings/arm/renesas,prr.yaml > +++ b/Documentation/devicetree/bindings/arm/renesas,prr.yaml > @@ -12,14 +12,16 @@ maintainers: > > description: | > Most Renesas ARM SoCs have a Product Register or Boundary Scan ID > - Register that allows to retrieve SoC product and revision information. > - If present, a device node for this register should be added. > + Register or LSI Device ID Register that allows to retrieve SoC product > + and revision information. If present, a device node for this register > + should be added. Note that this register does not seem to be documented, so I have to trust you on this. However, from looking at the LSI DEVID register address, this does not seem to be a lone register (like the Product Register on other SoCs), but to be part of the System Controller (SYSC). Hence I think there should be separate bindings for the whole SYSC block instead. You can still read the LSI DEVID register from renesas_soc_init(), using the SYSC node. 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