Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp155172pxb; Wed, 3 Nov 2021 01:43:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCgqZNp6SnIeK4gdiCw6wf6D0Q0ifNZYISyOwdFB1sFf2VRGL3d0qT0nI34gD0a6BpmCeZ X-Received: by 2002:a05:6638:288:: with SMTP id c8mr17349148jaq.60.1635928982866; Wed, 03 Nov 2021 01:43:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635928982; cv=none; d=google.com; s=arc-20160816; b=QMpQOT7yIRzSon3fo9aoTc1kdprTsznkWR7xy5mCDh7ZJotaB+Y2UjOXfmSafR38gT EFtaZGW1yFuhOd+DfZI+GAg2vmqFSSCPVvSIaUM3V6zoDvbVwdtMCk5mRtrdG/bWUQOH DQWG3EDJbftxLqGfx0BbTGF8UJQGqAkEdga3p4hC805BnDEUmMlW2S1KCxKhL2kXIcaa TxKTcKQfPmidovLk4Sw0C+8JQMa4WJMWOK+/y8O1cL7ogekV//4ilnjNS3xBKWBUhaAo IP0QAAH9j7WAQnnQoSrgALgXePOKWDrRKatYwXmD1MMBm05HZFu/Jb32RvFPE8pKlA4n f48A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=P6LLP9NcRIRrsS3BJTSCLomSOCF5F43l77tOZA1zoa0=; b=nQbwHLMiiCmWeyQ8GUVwASO/0s2uElGvUV2BbJ5aB60dOOIWWjxIe3Q4I5m/6QUNYi kmSRkArA7SDYICN5NoIm7Afnp+3lUZJG5/UAbEJmsZimOrIiYq2I2qd3Po20SqE72u/R kTOy2ChvxCLNK9KfVjX37xf3JjveKCf5i5x/zVEuZ2VQ6jzNDaO4L/XsxGFLVwiarXIQ CZUW3nPKXA2z8UHo4FsdVcyBbDqzIvYx2PmRO/22FD0rqxyEN/fU/Xj/5eAYnJuQNK93 XrFah+TRF4WSkvgl0jjK0x+hy0N8D6Dc67Mh8f/en5ZDcaTd/MGJ3Mr85TpweEowUAlG R+gQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=QkUE+PYy; 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 u1si2695455jad.85.2021.11.03.01.42.50; Wed, 03 Nov 2021 01:43:02 -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=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=QkUE+PYy; 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 S231547AbhKCIo0 (ORCPT + 99 others); Wed, 3 Nov 2021 04:44:26 -0400 Received: from www.zeus03.de ([194.117.254.33]:56542 "EHLO mail.zeus03.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231259AbhKCIoZ (ORCPT ); Wed, 3 Nov 2021 04:44:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=sang-engineering.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=k1; bh=dMC2lX62GntGviPXdg/KWy3WWd2f nwOs+hAlvdSI+Lo=; b=QkUE+PYyhJ6Za2I7PJCop+MWdhAp1+DuxGz25qrGeOSO 4aZYDMTQ/rzXAh8NesG7J2PDQsMWCSKD7FxVLHhkCscS9xLyax7W5hGuYiokKYwN 7trj+QmOo/rS0vuMoxsz3Gluqen6Ok+q0NGYvlIKuUYWkKxXxI6icfsSqPXpDmo= Received: (qmail 3771547 invoked from network); 3 Nov 2021 09:41:47 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 3 Nov 2021 09:41:47 +0100 X-UD-Smtp-Session: l3s3148p1@kvpAYd7PnoAgAwDPXwjwAA05VFZREelC Date: Wed, 3 Nov 2021 09:41:44 +0100 From: Wolfram Sang To: "Lad, Prabhakar" Cc: Lad Prabhakar , Krzysztof Kozlowski , Rob Herring , Vignesh Raghavendra , Miquel Raynal , Richard Weinberger , Mark Brown , Philipp Zabel , Geert Uytterhoeven , Sergei Shtylyov , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML , linux-mtd@lists.infradead.org, linux-spi , Linux-Renesas , Biju Das Subject: Re: [PATCH v2 7/7] memory: renesas-rpc-if: Add support for RZ/G2L Message-ID: Mail-Followup-To: Wolfram Sang , "Lad, Prabhakar" , Lad Prabhakar , Krzysztof Kozlowski , Rob Herring , Vignesh Raghavendra , Miquel Raynal , Richard Weinberger , Mark Brown , Philipp Zabel , Geert Uytterhoeven , Sergei Shtylyov , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML , linux-mtd@lists.infradead.org, linux-spi , Linux-Renesas , Biju Das References: <20211025205631.21151-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20211025205631.21151-8-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pYP2Iqqm8byYnsBb" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --pYP2Iqqm8byYnsBb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Prabhakar, > Oops I missed that, does the below look good? Yes, only a minor nit. >=20 > #define RPCIF_PHYADD_ADD_MD 0x00 > #define RPCIF_PHYADD_ADD_RDLSEL 0x22 > #define RPCIF_PHYADD_ADD_FDLSEL 0x24 > #define RPCIF_PHYADD_ADD_RDLMON 0x26 > #define RPCIF_PHYADD_ADD_FDLMON 0x28 >=20 > #define RPCIF_PHYADD_ACCEN BIT(31) > #define RPCIF_PHYADD_RW BIT(30) Maybe we could leave this because we don't use it? You decide. > > + regmap_write(rpc->regmap, RPCIF_PHYWR, 0x00000030); > > + regmap_write(rpc->regmap, RPCIF_PHYADD, 0x80000032); > > > For the above do you have any suggestions? As I couldn't find any > details about it or shall I just go with magic numbers for now? Ack. I couldn't find docs about these as well. I suggest to add a comment where this value came from. We can ask the BSP and/or HW team for details and update this pair incrementally. > thanks, once we agree upon above I shall re-spin v3. Cool, looking forward to it! Happy hacking, Wolfram --pYP2Iqqm8byYnsBb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmGCS0QACgkQFA3kzBSg KbbuNhAAnt0A/Q1rD7IOA7oPFNk3ipuC9zHlHj5EodZ/Ad1DoMUIezY+NV5bSbEf HP4OuTP+/OSbd3bQbyBnNwM1P8dTR6FBK4CfqPnRISF5qm8AsB3ByoA5Webxy5QO GeP2cSJwY+zQetc9EcMoxARH+1ZztRDLK7CA/y5oiURwSeUBxafJ8uRuRYOTgoA6 SAx9c7NAfH7D1Yv/eMsZrA7Kwe0Ms2wYwWyjLl9W0NDZiAgoPiUk2RDojMcbA00J 6fvEd5wYY6yPyjay4dFXHjFp3SToPq6KZ2+oBCSaTqhJFoLLUgWgJUQSHO/0TgaQ Za8j3ncwdvj1lilrsxBZ7rdA9A/vyq6nFgBadvLVBB8wz/G9tWRSQZSKouvUQ6QO 6yEsCic5yrg2cmgj4XU964fM5a1pCVYpISE6UX3R5l/gJwMlPtXeyP7w6n53ZvaJ lCtT8ulpZxdPrv6uHSH0qXEXwudZ2XxEOPlTYczJVXd5o6ckZCdeToDvZyR19AU9 ud2N0oc39jcYI4B6P0afBxZiavi1cu4xixaBxl6xq5o0wx6BSZR0gqHNXznQ5GWo zsshKoBvM+tpInbYYJXBLj+9pLLjMjh5/1zEA6+zF5t6fcxTGbrQ/sSc/ssBXr+R b50WBFSq6RsGLUIVFJJAhWSDUpd7XBZpc2fzbzGcKKnpNBNweo4= =7d/U -----END PGP SIGNATURE----- --pYP2Iqqm8byYnsBb--