From patchwork Fri Apr 21 17:50:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Zapolskiy X-Patchwork-Id: 675872 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a41:0:0:0:0:0 with SMTP id v1csp989636wrs; Fri, 21 Apr 2023 10:52:58 -0700 (PDT) X-Google-Smtp-Source: AKy350aglDMvPkH1O8MNQ+lk8U17RBXFQUP23LScNe1a2F18eu7prieDJgG5IuXdQLl5wVqZ/AUu X-Received: by 2002:a17:903:487:b0:1a6:3630:16e1 with SMTP id jj7-20020a170903048700b001a6363016e1mr9318104plb.13.1682099577830; Fri, 21 Apr 2023 10:52:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682099577; cv=none; d=google.com; s=arc-20160816; b=J82cVNn5HWe7y53TXJo6++LlE2dI3uLsVqAEaFjBk7MgYUFPJ1G2R71Id9XAFm9VZ2 aZKlkWB+KTQLxalK7Pa0TKKSwGg8XJN956ESbVdvWeD4YnyBpBy1yI3JHMlBclP/9uWk V5HPxxdqcBwhTLKYEt0J5jTTrEWkmC7TXKcQJX3V0uPZQLvFnbJ+5l4KA7pwVngaV8hr 7Dz2Aqvym/jOGLR0WS7ibnJkTemvikQLmth1J7c/Z83jhvtPgKjNZZRsK7aUwboGuh3z lFESY98FASiAPv1qP5kgrDv/cTD+uHVHAGqQhGLNPYI1CFdEybnIvERxA5k3RbsyeRBV YCpw== 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=wup+CBY6u7TSY4TeWQWa9so56VwP6kLw4QvYwq6be98=; b=xsEPIU/3wNIq/xJuO8O5AFjusNCs+FnzvzbAZYBgHYdbr1gVVjOgV+peCQwKnFxBOM EBK+ZfvifveunmF/bxMhtrdzIXyAiFFUNO0Z9Ykb0qlNL5PDXCBL/Lko/HY1ynA5veRX UiGmkxpFS2pSkQ5KrJs2UCzYaeAdYd8D05IYy0Ek2yedqx1xvcW3uJGjPtAW7k0m/ggU S/PW62LiK6SHT+odIfBkQBv5NCACY8XuaAuAtoc/hKScRQqincBoegvJNrYv+iSaeWvL zqG2oNuBNHEIKSqTs0XFcWzGyGvlhMXq0aeX5nN0nb8aC2e28EhfTcvcmrXuCYVDF+Se EB4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="LNrUAln/"; 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 b8-20020a17090a12c800b0023e066d4e2dsi4730531pjg.184.2023.04.21.10.52.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Apr 2023 10:52:57 -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="LNrUAln/"; 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 B34D6863DF; Fri, 21 Apr 2023 19:51:14 +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="LNrUAln/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5994186358; Fri, 21 Apr 2023 19:50:58 +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-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) (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 B1A4A863A4 for ; Fri, 21 Apr 2023 19:50:55 +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=vladimir.zapolskiy@linaro.org Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2a7ffe75ae4so2032271fa.0 for ; Fri, 21 Apr 2023 10:50:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1682099455; x=1684691455; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wup+CBY6u7TSY4TeWQWa9so56VwP6kLw4QvYwq6be98=; b=LNrUAln/iv2eiq4SjgLry4+EgTGHJwW1lrkyD+Df9O0Rkik7BuIhQWtnmvoMfv7QzU SgwPTgVADrrEB8lvJonAKXV6Xo8H5fGfaomwjWy9SFa/bSprotYTvPf1TTdOfOuSU5jA bMB37I5/0zisxPIwvDK40KrVJK8fHu7rDqHTWR6WpynfAsjovvVkAOnTP7FVDs4Xbv5H RISo2dDEcSC5r79l+9SFwWolGOAiQOimOaphjYjnUFX/wQ+bcumvQkSUElr8DHMH1mph Rf5NVinHe3I1l+CHoveXmfIQiTbMnx59dDN7g8D4dyfuoY3hTONV2poXzvAfEJupYBG2 OyBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682099455; x=1684691455; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wup+CBY6u7TSY4TeWQWa9so56VwP6kLw4QvYwq6be98=; b=OLiUeLKGgnHBfsI/jRLsLFA+5bfsWW4JwLM86pd74BZeurGAuuUBbImOCvSOeFACGb Vc/gcCpMDiquNO0jbgGApn1GD146/QCipItbdESNoti0w4D23YYgIs2sq0Pxeqag8jfx Ott+W29s7DDl2mF5eygI15owVBsxKCacr/C1YeVxJ1GdFUmoWPVQrrNH/oNkWvd6yNr6 Dp+y5E9NCqt/llgbNudhz1+9dHEiDRZ6H+HpBAv6uFgtctJbsJY57CscZwaxpZBVaVcl vLJPZkT4sxD7pb7AhYNiauojU+dNcKnKHJeXki+KZJZaAszYc4Nq/D77prgC6WLFTZzW JTWw== X-Gm-Message-State: AAQBX9eDnegef8F+cOF4Sd3fFEVdu7KRpEr04iwXRpS77Vy4F4W/XCTh 476xMXuONizlI6sts96W4dJaRg== X-Received: by 2002:a2e:6d12:0:b0:2a6:142e:ee70 with SMTP id i18-20020a2e6d12000000b002a6142eee70mr1436173ljc.4.1682099455419; Fri, 21 Apr 2023 10:50:55 -0700 (PDT) Received: from localhost.localdomain (88-112-131-206.elisa-laajakaista.fi. [88.112.131.206]) by smtp.gmail.com with ESMTPSA id u24-20020a2e8558000000b002a7aa25c3b6sm674256ljj.88.2023.04.21.10.50.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Apr 2023 10:50:54 -0700 (PDT) From: Vladimir Zapolskiy To: Tom Rini , Simon Glass , Ramon Fried , Dzmitry Sankouski Cc: Konrad Dybcio , Bhupesh Sharma , u-boot@lists.denx.de Subject: [PATCH v3 9/9] arm: dts: msm: add GENI SE QUP device tree node Date: Fri, 21 Apr 2023 20:50:41 +0300 Message-Id: <20230421175041.275566-10-vladimir.zapolskiy@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20230421175041.275566-1-vladimir.zapolskiy@linaro.org> References: <20230421175041.275566-1-vladimir.zapolskiy@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.8 at phobos.denx.de X-Virus-Status: Clean On modern Qualcomm platforms including SDM845 a GENI SE QUP IP description is supposed to be found in board device tree nodes, the version of the IP is used by the GENI UART driver to properly set an oversampling divider value, which impacts UART baudrate. The change touches dragonboard845c and starqltechn board device tree source files, a device tree node label to "debug" UART is renamed to 'uart9' according to the naming found in Linux. Signed-off-by: Vladimir Zapolskiy --- arch/arm/dts/dragonboard845c.dts | 2 +- arch/arm/dts/sdm845.dtsi | 25 +++++++++++++++---------- arch/arm/dts/starqltechn.dts | 2 +- 3 files changed, 17 insertions(+), 12 deletions(-) diff --git a/arch/arm/dts/dragonboard845c.dts b/arch/arm/dts/dragonboard845c.dts index 1722dce33ff2..b4f057ac6537 100644 --- a/arch/arm/dts/dragonboard845c.dts +++ b/arch/arm/dts/dragonboard845c.dts @@ -21,7 +21,7 @@ }; aliases { - serial0 = &debug_uart; + serial0 = &uart9; }; memory { diff --git a/arch/arm/dts/sdm845.dtsi b/arch/arm/dts/sdm845.dtsi index 92bdc82177d6..3b86b9328fc6 100644 --- a/arch/arm/dts/sdm845.dtsi +++ b/arch/arm/dts/sdm845.dtsi @@ -51,16 +51,21 @@ }; }; - debug_uart: serial@a84000 { - compatible = "qcom,geni-debug-uart"; - reg = <0xa84000 0x4000>; - reg-names = "se_phys"; - clock-names = "se"; - clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>; - pinctrl-names = "default"; - pinctrl-0 = <&qup_uart9>; - qcom,wrapper-core = <0x8a>; - status = "disabled"; + qupv3_id_1: geniqup@ac0000 { + compatible = "qcom,geni-se-qup"; + reg = <0x00ac0000 0x6000>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + uart9: serial@a84000 { + compatible = "qcom,geni-debug-uart"; + reg = <0xa84000 0x4000>; + clock-names = "se"; + clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>; + pinctrl-names = "default"; + pinctrl-0 = <&qup_uart9>; + }; }; spmi@c440000 { diff --git a/arch/arm/dts/starqltechn.dts b/arch/arm/dts/starqltechn.dts index 34a4f59cbd17..dcbc3b6d4966 100644 --- a/arch/arm/dts/starqltechn.dts +++ b/arch/arm/dts/starqltechn.dts @@ -21,7 +21,7 @@ }; aliases { - serial0 = &debug_uart; + serial0 = &uart9; }; memory {