From patchwork Thu Mar 24 12:44:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Palmer X-Patchwork-Id: 12790662 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C3416C433EF for ; Thu, 24 Mar 2022 12:46:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fhK15Ev3azJzUV7zRtCOp1GdFtzBwe0/mcEztu4QEzQ=; b=kQ2rUcx93aWBai mf1MA2Sc3V3n53X5cDkIk0uenlHuJqiY8hJ/j3qa7DnaOi90qjs1mBbOlDdvSKc8vmbSo1fNBaXvB yat26idoHhRIhyh/NU78Z1BrP2zyCL1ubdiMjZSHg7xBoXKRExtNYTG9tV/gO0PHXANBC4AaLiNyf gaJiytKTkENUaOjeCXLPEquzwk0cX3svyf7guJS2fxxzMfnu/V6hizjoE1QhRF69KUljJIE8zp9S1 FaLT7ZyEWTWxiv23SRDCSNX5x5gldb4x2VtiTgk5TNK70hpoDBYhhx9vVDKroIajePfUyeeVIJXza hXt0OV1re2J4OP9m0O7Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXMpx-00GcAE-Ub; Thu, 24 Mar 2022 12:45:10 +0000 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXMpK-00Gbxo-Rd for linux-arm-kernel@lists.infradead.org; Thu, 24 Mar 2022 12:44:32 +0000 Received: by mail-pj1-x1036.google.com with SMTP id b8so4612465pjb.4 for ; Thu, 24 Mar 2022 05:44:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jMLkcxx+n1ArS2RqcTBzK629rFDC4Wj9OjjlSjnYeys=; b=TokHDTdXWsgf05xnA8MYSVPp7G5Lzf+SJZt0QibiGJOAYLYCIcGmjK1uLCSRNecipc ZRwI0W2W8QtfWWYJVRmBCdYL4BKx/3czhJDLsRAj22xBPu2dK/lhTHcR9HAarFkfaoDx ARy/sd1AgCWOKhfu2ix0doMBpL212yCzvirB8= 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=jMLkcxx+n1ArS2RqcTBzK629rFDC4Wj9OjjlSjnYeys=; b=gZc7gdECrtW1LsuV2ywK5cSmzG3EVugNqJzeicRhCd6tY/Sb1zhK5ejb2WRbHiowUa NkPY2Xe8+QVV+27nkBQ942Ccx8QS9w36IkoK++p89WXvcJD+g6SecedKR3/cNqWKeEN1 AdteqGydKpvf1ZxE/UOb0YrpzYb8lBXFN+WAU4Y0CaJUVwLN0sabfWoAw1U04V+Zg4RW 4263QgKg5oIi3l+NKOvx5TbW8WbCbY80Rl94IrFa3WfmEgdB0hoWfwYPXl7FLp4kkxfD 6PrdT1aG24BSWHfF1qXFfVBifcXyu3R1qZ5ptAmmmMEoRfLjS7+viIQkkfjUErlx/Cmc h5Og== X-Gm-Message-State: AOAM531WQ2AQJhuK2x/837aLow35+etM3D+AeS2Df4cHw3fpVqFCnhch bgHPbe1Byg8XLhQblr7BI6ERDA== X-Google-Smtp-Source: ABdhPJxR5oI994cwYDr7DiON56A05ru42hSIYYblDm7LVcmMi8P8kvbt2WLe9fswPW8g+j8z9VdW2g== X-Received: by 2002:a17:902:c40c:b0:154:837c:5b2 with SMTP id k12-20020a170902c40c00b00154837c05b2mr5779342plk.46.1648125869833; Thu, 24 Mar 2022 05:44:29 -0700 (PDT) Received: from shiro.work ([2400:4162:2428:2f01:7285:c2ff:fe8e:66d7]) by smtp.googlemail.com with ESMTPSA id t10-20020a056a00138a00b004fa9c9fda44sm3786924pfg.89.2022.03.24.05.44.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Mar 2022 05:44:29 -0700 (PDT) From: Daniel Palmer To: devicetree@vger.kernel.org, linux-serial@vger.kernel.org, robh+dt@kernel.org, andriy.shevchenko@linux.intel.com, jirislaby@kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, romain.perier@gmail.com, Daniel Palmer Subject: [PATCH 3/4] ARM: dts: mstar: Switch pm_uart to mstar,msc313-uart Date: Thu, 24 Mar 2022 21:44:01 +0900 Message-Id: <20220324124402.3631379-4-daniel@0x0f.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220324124402.3631379-1-daniel@0x0f.com> References: <20220324124402.3631379-1-daniel@0x0f.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220324_054430_925949_F1C4465C X-CRM114-Status: GOOD ( 13.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The UART used in these SoCs is actually a variant of the dw apb uart. Now there is a compatible string in that driver to handle the quirks switch the compatible for pm_uart over to mstar,msc313-uart. Signed-off-by: Daniel Palmer Reviewed-by: Romain Perier --- arch/arm/boot/dts/mstar-v7.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/mstar-v7.dtsi b/arch/arm/boot/dts/mstar-v7.dtsi index c26ba9b7b6dd..8464a8f1b136 100644 --- a/arch/arm/boot/dts/mstar-v7.dtsi +++ b/arch/arm/boot/dts/mstar-v7.dtsi @@ -175,7 +175,7 @@ gpio: gpio@207800 { }; pm_uart: uart@221000 { - compatible = "ns16550a"; + compatible = "mstar,msc313-uart", "snps,dw-apb-uart"; reg = <0x221000 0x100>; reg-shift = <3>; interrupts-extended = <&intc_irq GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;