All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konstantin Porotchkin <kostap@marvell.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 04/10] arm64: a37xx: Handle pin controls in early board init
Date: Wed, 15 Feb 2017 11:09:49 +0200	[thread overview]
Message-ID: <72e4d549-1552-9975-959f-2e33c554abdd@marvell.com> (raw)
In-Reply-To: <3afa3edb-a020-a6e5-48f2-a7bbd01c4a93@marvell.com>



On 02/14/2017 02:25 PM, Konstantin Porotchkin wrote:
>
>
> On 2/14/2017 14:21, Stefan Roese wrote:
>> On 14.02.2017 13:07, Konstantin Porotchkin wrote:
>>> Hi, Stefan,
>>>
>>> On 2/14/2017 13:43, Stefan Roese wrote:
>>>> Hi Kosta,
>>>>
>>>> On 13.02.2017 14:38, kostap at marvell.com wrote:
>>>>> From: Konstantin Porotchkin <kostap@marvell.com>
>>>>>
>>>>> Fix the default pin control values in a board-specific
>>>>> function on early board init stage.
>>>>> This fix allows the NETA driver to work in RGMII
>>>>> mode until the full-featured pin control driver gets
>>>>> introduced.
>>>>>
>>>>> Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
>>>>> Cc: Stefan Roese <sr@denx.de>
>>>>> Cc: Igal Liberman <igall@marvell.com>
>>>>> ---
>>>>>  board/Marvell/mvebu_db-88f3720/board.c | 26
>>>>> +++++++++++++++++++++++++-
>>>>>  1 file changed, 25 insertions(+), 1 deletion(-)
>>>>>
>>>>> diff --git a/board/Marvell/mvebu_db-88f3720/board.c
>>>>> b/board/Marvell/mvebu_db-88f3720/board.c
>>>>> index edf88c7..3337f3f 100644
>>>>> --- a/board/Marvell/mvebu_db-88f3720/board.c
>>>>> +++ b/board/Marvell/mvebu_db-88f3720/board.c
>>>>> @@ -19,9 +19,33 @@ DECLARE_GLOBAL_DATA_PTR;
>>>>>  #define I2C_IO_REG_0_SATA_OFF    2
>>>>>  #define I2C_IO_REG_0_USB_H_OFF    1
>>>>>
>>>>> +#define PINCTRL_NB_REG_VALUE    0x000173fa
>>>>> +#define PINCTRL_SB_REG_VALUE    0x00007a23
>>>>> +
>>>>
>>>> I am aware that this is a temporary solution, but are these values
>>>> correct for the A3720-DB or only the ESPRESSBin board?
>>> They are good for the DB board as well. Actually without this change the
>>> NETA driver will crash if we try to ping the server.
>>
>> Okay. And do you have any ideas on when this pinctrl driver might be
>> available?
> I will query our team that is responsible for A37xx features. I think
> they are currently working on SATA/SCSI issues discovered when moved to
> the new code base. Hope the pin control will be the next task, but I
> have to ensure it.

Just got an update - the pin control driver task is scheduled to March.
>
>>
>>>>
>>>> BTW: You are now using the "Marvell/mvebu_db-88f3720" board directory
>>>> for multiple board and not only the A3720-DB. I would prefer to see
>>>> a rename of the board directory before this, like we've done to the
>>>> A7k/8k directory. What do you think?
>>> Agree, I can do it. Should we change it in this patch series or
>>> introduce an additional patch later?
>>
>> We have no chance to get this patchset into this release, so we have
>> a bit of time for the next one. I would prefer a clean switch and
>> add this rename as one of the first patches in the next version of
>> this patchset.
> Ok, got you, I will work on this change.
>
>>
>> Thanks,
>> Stefan

  reply	other threads:[~2017-02-15  9:09 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-13 13:38 [U-Boot] [PATCH 00/10] Add Marvell ESPRESSOBin community board support kostap at marvell.com
2017-02-13 13:38 ` [U-Boot] [PATCH 01/10] arm64: a37xx: Enable Marvell ETH PHY support kostap at marvell.com
2017-02-13 13:38 ` [U-Boot] [PATCH 02/10] arm64: a37xx: Enable bubt command support on A3720-DB kostap at marvell.com
2017-02-13 13:38 ` [U-Boot] [PATCH 03/10] arm64: a37xx: dts: Add pin control nodes to DT kostap at marvell.com
2017-02-13 13:38 ` [U-Boot] [PATCH 04/10] arm64: a37xx: Handle pin controls in early board init kostap at marvell.com
2017-02-14 11:43   ` Stefan Roese
2017-02-14 12:07     ` Konstantin Porotchkin
2017-02-14 12:21       ` Stefan Roese
2017-02-14 12:25         ` Konstantin Porotchkin
2017-02-15  9:09           ` Konstantin Porotchkin [this message]
2017-02-13 13:38 ` [U-Boot] [PATCH 05/10] mvebu: neta: Add support for board init function kostap at marvell.com
2017-02-13 13:38 ` [U-Boot] [PATCH 06/10] mvebu: neta: a37xx: Add fixed link support to neta driver kostap at marvell.com
2017-02-13 13:38 ` [U-Boot] [PATCH 07/10] mvebu: a37xx: Add init for ESPRESSBin Topaz switch kostap at marvell.com
2017-02-14 11:49   ` Stefan Roese
2017-02-14 12:13     ` Konstantin Porotchkin
2017-02-14 12:32       ` Stefan Roese
2017-02-14 17:17         ` Joe Hershberger
2017-02-15  9:07           ` Konstantin Porotchkin
2017-02-15 15:32             ` Konstantin Porotchkin
2017-02-15 16:38               ` Joe Hershberger
2017-02-13 13:38 ` [U-Boot] [PATCH 08/10] arm64: dts: Add device tree for ESPRESSOBin board kostap at marvell.com
2017-02-13 13:38 ` [U-Boot] [PATCH 09/10] arm64: mvebu: Add default config " kostap at marvell.com
2017-02-13 13:38 ` [U-Boot] [PATCH 10/10] arm64: a3720: Disable DB configurations on " kostap at marvell.com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=72e4d549-1552-9975-959f-2e33c554abdd@marvell.com \
    --to=kostap@marvell.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.