From patchwork Tue Jul 12 07:12:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sumit Garg X-Patchwork-Id: 589788 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:5817:0:0:0:0 with SMTP id j23csp8797max; Tue, 12 Jul 2022 00:13:08 -0700 (PDT) X-Google-Smtp-Source: AGRyM1trMgdajIcjmXj3Uyj6qalzJCRWy5aVHK1TLF+YJJ1xwzFMpgO/DnCIV0JQyb6SojbkGiD1 X-Received: by 2002:a05:6512:1093:b0:489:e605:415d with SMTP id j19-20020a056512109300b00489e605415dmr4145483lfg.323.1657609988252; Tue, 12 Jul 2022 00:13:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657609988; cv=none; d=google.com; s=arc-20160816; b=JHxCSk8Bu8pba/zUySFxN7V/H4wHQWTIuLcS0TkT2+D5V3xRs0gvmRhtVhg1Y2JFcf sQygf+DkGnEVGLSbkLefzlHRZ3MvC8usgDpBu7zLqIPpYoU33MlszRshatw0V5aemC4R oMQzWbsXXpykpWGN5WY4JgdLAdKyRm8DWq5vOtmebfcj8uFS9zzPoM+eEBJ0dm3dr/CO wnE/CZcVM/VFH8ZjaC8Agga0O0cqLpRh1nPdLghsoJqkxniOGwP/8ma8pqP9eAFxsohK X9fJzfjYNFjN/VwhA15/Xch6yeLryGqb/Dpl66RRy0ha/OrnNitXf13ETLPRfUI1lvu3 rqgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=CFQRLo9XZSlQvp26SDuLusTgikmU2xRX4LupRbbnyPQ=; b=ahGCclgLuSM19PZFRStYV0Xu6bPauT4jtZlH7sYdwlR5vEoLZMBzg78qk8GqmCe6Wy 7cEFeLt/pY4nVGjvowffZN5Y7EE5O1F6fdZL6m8BQOCCNGIzoa/c5s7VupVABM/+S1ks +Bqtf3h+jZgblF4hhlIaFJZZQXI2sac235IiKJFV+FGoOxsagS3wwOLvqM+BcYH/sUPb Hy2gS++FC3De+feOzdBsds/YfMfUs+4eJ06eKsqMOmhq1ed43UGrIHyFcGDqQHdDQZ/2 istx+XuwHaQ0HIJ1oy7JJvJa2xAo8H8/VFQlxVZFh8h9SgGLezksJq6rQvp2kAkCgDQL srNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HHpWE6KP; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id t9-20020a19ad09000000b00489dedf1dddsi3568039lfc.238.2022.07.12.00.13.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jul 2022 00:13:08 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HHpWE6KP; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 59DF58409B; Tue, 12 Jul 2022 09:12:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="HHpWE6KP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8077B840FF; Tue, 12 Jul 2022 09:12:49 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) (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 2E103840D3 for ; Tue, 12 Jul 2022 09:12:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sumit.garg@linaro.org Received: by mail-pj1-x102a.google.com with SMTP id a15so6878855pjs.0 for ; Tue, 12 Jul 2022 00:12:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CFQRLo9XZSlQvp26SDuLusTgikmU2xRX4LupRbbnyPQ=; b=HHpWE6KP2LVchSfLfZvMyuBPD/6OdoZjWkZOa6DmsMfcniDcayvldjSf9X9ieL/YCO KeYIaHyV4zTGeelgZiRZhEElakSZKUFkjbgJjAfIOfjGOn3pda0qqIekhxWFxyWdWeri ctaGgpLNPtKgOgvbd4c4Qlc/gcgXzifM8NYXpEGr1GEe3lQBe+bFU12D56y7a3fHeFnR 9/OVJG5eQQEhfVYo1J/+33MxcypZZxT+KG3wvpDHTCZ92adJxEQp0CdowCLtFhKU/3Dl HyRLVAmUStV33NI5RS1GaSE6P5dB/MrBbaHVenPmX1Lz/vrm14sm1fEueHKT2Fvv1clx rMyQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=CFQRLo9XZSlQvp26SDuLusTgikmU2xRX4LupRbbnyPQ=; b=DgJsTuy34OilA8UHloAR7aQ/1CvR4Xb13a3D/KFEp0AIv4Q96IuBMYri65xlHIKQ2J szi0Geo4L32AiCJCowfNwaxSZHuuq/NxlvUL4a4qGPxw6/x5X03pROd1I3B3f0QVED1X 3F2uRQcbl5JucWBKSv7qYFNxBgMxEVj2pQJFYj5peEwjm1D2CoZ8eV5qC20yaowrC8uB Q7hmkeoX0ErvNY/APhOrPCOnoiMiqiQZgrVN/GYRkSWNC9MtPKgfV4m4sIGq3OH6+PZh 9S0Yq1j3ERvRAOKwTywdYIgF+SQYXWyYLpuisafk2aIXOtNWkK0Aw38ztMyeJ3YLjAz+ 56Xw== X-Gm-Message-State: AJIora+RoYo6pxyiLiWnnIbAJf5cXIrE7bb2AdHVTffKiSdnhWdxvIQb +Roe2zfkRHPNda3RaxBKaZ2QJRiLYz/B5A== X-Received: by 2002:a17:902:ab87:b0:162:26cf:bf7a with SMTP id f7-20020a170902ab8700b0016226cfbf7amr22162910plr.168.1657609963491; Tue, 12 Jul 2022 00:12:43 -0700 (PDT) Received: from localhost.localdomain ([27.56.177.217]) by smtp.gmail.com with ESMTPSA id x10-20020a170902a38a00b001678ce9080dsm5928843pla.258.2022.07.12.00.12.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jul 2022 00:12:43 -0700 (PDT) From: Sumit Garg To: u-boot@lists.denx.de Cc: rfried.dev@gmail.com, peng.fan@nxp.com, jh80.chung@samsung.com, sjg@chromium.org, trini@konsulko.com, dsankouski@gmail.com, stephan@gerhold.net, vinod.koul@linaro.org, nicolas.dechesne@linaro.org, mworsfold@impinj.com, daniel.thompson@linaro.org, pbrobinson@gmail.com, Sumit Garg Subject: [PATCH v3 4/9] uart: sdm845: Fix debug UART pinmux Date: Tue, 12 Jul 2022 12:42:07 +0530 Message-Id: <20220712071212.2188390-5-sumit.garg@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220712071212.2188390-1-sumit.garg@linaro.org> References: <20220712071212.2188390-1-sumit.garg@linaro.org> MIME-Version: 1.0 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.6 at phobos.denx.de X-Virus-Status: Clean Configure debug UART pins as function: "qup9" rather than being regular gpios. It fixes a hang seen during pinmux setting. Signed-off-by: Sumit Garg Reviewed-by: Ramon Fried --- arch/arm/dts/sdm845.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/sdm845.dtsi b/arch/arm/dts/sdm845.dtsi index b9506f1297..df5b6dfcfc 100644 --- a/arch/arm/dts/sdm845.dtsi +++ b/arch/arm/dts/sdm845.dtsi @@ -47,7 +47,7 @@ /* DEBUG UART */ qup_uart9: qup-uart9-default { pins = "GPIO_4", "GPIO_5"; - function = "gpio"; + function = "qup9"; }; };