Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0AAB5C433F5 for ; Thu, 12 May 2022 06:21:11 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D6C308424F; Thu, 12 May 2022 08:21:08 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="nCq8FeqZ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E2E9E84356; Thu, 12 May 2022 08:21:06 +0200 (CEST) Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6C83F84345 for ; Thu, 12 May 2022 08:21:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=christian.gmeiner@gmail.com Received: by mail-ej1-x630.google.com with SMTP id z2so8148304ejj.3 for ; Wed, 11 May 2022 23:21:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+/Y9L1K85u95sC6i1Tl+gYjhWBcq+UqfFBwJCV25apk=; b=nCq8FeqZf4H/ol4Id29lKR4fsQ/hLHAbKdWyYIbgnUYXbo5mqwi9h1GhrCqCrMTRbB l2uO3iCQuDF3sDfzpBM/6GKuoI0CzNgxoJh+S8XErIppxDhzcwD1p89n4NHUt/yoXdzW QY8ob1Cpg2XNMkM4jUoC4XuG5UNs/y3pGHmw9pwqYni72zGbstv08hzIe86tVIka18R+ 7g6fckvxtBHhDtqlLzlJ+s12N5WEHcIofxvfp/fIEeJBEzvfBE+uZVy2ymnu3abggOwe fuLdAt5F5OzyvbrXQnB5PwNHjbfJe1OZLIad30uEdOWeDNJPMd9gaixWtTLQqWTuk59E 13kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+/Y9L1K85u95sC6i1Tl+gYjhWBcq+UqfFBwJCV25apk=; b=7sIVNFtKeeELY2H35w9Ne4WJx6wv7hYw3RI81xVB+0dK4giDngX3bxnWp0owy7yzwx uC9TrN4OLsHfQj4rGYIyJaiulT40+lPMTMgTw9rd40Ml25wfmEX3It0CB/aA8w76oobh A443dKSe/NM2Ect6MFXbs+EM07A4f/igjVXdvI2aCg6lKJYiPu+yNV07F2L0Wuj27zQZ 5m1Sz2aF26tqhbZu8jISzqKAMPmXNkRdQKqNKG5ol84qAFEJn/gKn+PCx8HtH1xS4Fql oRraG7DxBMOIw+MjkQ0sC3p7cFnD+4eCfKHwQDdJZ+LutccSUdfcCjT6grF+VvODRtFT Suvg== X-Gm-Message-State: AOAM532RZtR1sdmBN4ehANg3UyFM1zAoeugSt1Wg5htZC1LRGOYUt8De tdtx3oeLhpBtilOobxs0KT10qcJA1R7aew== X-Google-Smtp-Source: ABdhPJyvUEXoTyabxDdcq7S4UJ3q95vh5Wrri7xXYiOsc8GwIEKBItrWIPyRwF66YXgIKPTF8UoYqg== X-Received: by 2002:a17:907:9809:b0:6f5:1be8:5b13 with SMTP id ji9-20020a170907980900b006f51be85b13mr27903915ejc.412.1652336463893; Wed, 11 May 2022 23:21:03 -0700 (PDT) Received: from localhost.localdomain.info (62-178-82-229.cable.dynamic.surfer.at. [62.178.82.229]) by smtp.gmail.com with ESMTPSA id qc5-20020a170906d8a500b006f3ef214dedsm1735573ejb.83.2022.05.11.23.21.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 May 2022 23:21:03 -0700 (PDT) From: Christian Gmeiner To: u-boot@lists.denx.de, hnagalla@ti.com Cc: Christian Gmeiner Subject: [PATCH] arch: arm: mach-k3: am642_init: bring back MCU_PADCFG_MMR1 unlock Date: Thu, 12 May 2022 08:21:01 +0200 Message-Id: <20220512062101.1786376-1-christian.gmeiner@gmail.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean Without this register unlock it is not possible to configure the pinmux used for mcu spi0. Fixes: 92e46092f2 ("arch: arm: mach-k3: am642_init: Probe ESM nodes") Signed-off-by: Christian Gmeiner --- arch/arm/mach-k3/am642_init.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-k3/am642_init.c b/arch/arm/mach-k3/am642_init.c index add7ea8377..b16de9c9f0 100644 --- a/arch/arm/mach-k3/am642_init.c +++ b/arch/arm/mach-k3/am642_init.c @@ -47,6 +47,9 @@ static void ctrl_mmr_unlock(void) mmr_unlock(CTRL_MMR0_BASE, 3); mmr_unlock(CTRL_MMR0_BASE, 5); mmr_unlock(CTRL_MMR0_BASE, 6); + + /* Unlock all MCU_PADCFG_MMR1 module registers */ + mmr_unlock(MCU_PADCFG_MMR1_BASE, 1); } /* -- 2.36.1