Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2257014iof; Wed, 8 Jun 2022 00:37:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyEI2Va1BUWLQxJb9rKGr1DBy4RBCxVufdW0bza5YouEZEHj92SeYA0MNVCKJWC77Uso59i X-Received: by 2002:a05:6a00:15c6:b0:51c:61bb:a62d with SMTP id o6-20020a056a0015c600b0051c61bba62dmr2546674pfu.30.1654673877752; Wed, 08 Jun 2022 00:37:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654673877; cv=none; d=google.com; s=arc-20160816; b=G1ZNvpwMPjjpYUU2/6b9JUkBTIQA2xXS0KTEFs8ZHjKKqTt6Zj3LDnML2oXQJh2cZV jseNW82RLXECOMcEO4rn3PTW/lvbmsCSaMFZ2g6Rie6Nl9WFxL/OpjHSOw5ox2VyIrt/ EsW1PCtQPRGy2mTbGBjxOgT2uOtR7KiB32zNuCmY43VP0RsukfgcO3a+AVJM45m2QFh1 QVlsy7KCfBTZye+FP2rUEsmueTRDQkQ4u9nsdVQgatwlbwkPKUcQ7AGjZbSW3L0KEGIx h+QuOlq5b+GPYq3IRd4ZnWHl/ZLvR8TD+RD7l67syPIA1SshcI771sA6f8U1nqlpsdl9 N6mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=8Yruh5wQLw3rHVi8/oxq7hcXcPE/NZyHTuNNR++KGOk=; b=M2sUTCYImwRRoRW/eQ3SEr1PqfKwBjQhvdbeWngpqnincB0kNdrTqIG7MsMDXfm+yH mCyHUVr+eOMn4pY9ssNSJ0zPp5orhTCKK+KFv9O5omnx53wLe0uzmXaMsQreZGpR/dhz BL0+hX1wkSx64vxrlp/Xcag73fP59YwZI9XT0s5/1dJGQWvdOWUl2iUa+e4Fzlk0cKVx SfXZ+ih+skqCzP8Ie8wyXiT9eHz9NQJ61HX2fIgoksiPNGQUj//6s/D/oiz7zIEHxzTe /2M+AzWaKK0klSuebGsGpO+JKmTLoPlcH2PPer7aEqAZmS4KyhtApAHE6xOST4q2tOT2 exCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="FE0/aY98"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id w8-20020a17090a8a0800b001cd5b0dcab5si29344907pjn.12.2022.06.08.00.37.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 00:37:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="FE0/aY98"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 20D6925910C; Wed, 8 Jun 2022 00:08:27 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1383442AbiFHAYz (ORCPT + 99 others); Tue, 7 Jun 2022 20:24:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1384331AbiFGVy1 (ORCPT ); Tue, 7 Jun 2022 17:54:27 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 134B424AEE1; Tue, 7 Jun 2022 12:13:31 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CB8CB618E1; Tue, 7 Jun 2022 19:12:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DBCF1C385A5; Tue, 7 Jun 2022 19:12:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654629169; bh=/atc0+gFpH0rsZcqQNrfsag5GHjaKYkPOJ5HwXSCjX8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FE0/aY98Er5LvEKg4AMeU7+0xD2I5oGEyMOiwxuduvaqUm2ljrhOvvTVi8Ucohm+n dGsYXVODkbiqqLG6IoH8B41oNzKcBKVcp0lWiqIUp8NXN3pwPp5YHpBhoVdIGctMjK 5DciXl/5zYpx2MnBF/q2TuI99O1HUElFD8aDlX00= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Matthias Schiffer , Vignesh Raghavendra , Sasha Levin Subject: [PATCH 5.18 587/879] arm64: dts: ti: k3-am64-mcu: remove incorrect UART base clock rates Date: Tue, 7 Jun 2022 19:01:45 +0200 Message-Id: <20220607165019.890475391@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607165002.659942637@linuxfoundation.org> References: <20220607165002.659942637@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Matthias Schiffer [ Upstream commit 439677d416b17dd39964d5f7d64b742a2e51da5b ] We found that (at least some versions of) the sci-fw set the base clock rate for UARTs in the MCU domain to 96 MHz instead of the expected 48 MHz, leading to incorrect baud rates when used from Linux. As the 8250_omap driver will query the actual clock rate from the clk driver when clock-frequency is unset, removing the incorrect property is sufficient to fix the baud rate. Fixes: 8abae9389bdb ("arm64: dts: ti: Add support for AM642 SoC") Signed-off-by: Matthias Schiffer Signed-off-by: Vignesh Raghavendra Reviewed-by: Vignesh Raghavendra Link: https://lore.kernel.org/r/20220419075157.189347-1-matthias.schiffer@ew.tq-group.com Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi b/arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi index 2bb5c9ff172c..02d4285acbb8 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi @@ -10,7 +10,6 @@ compatible = "ti,am64-uart", "ti,am654-uart"; reg = <0x00 0x04a00000 0x00 0x100>; interrupts = ; - clock-frequency = <48000000>; current-speed = <115200>; power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>; clocks = <&k3_clks 149 0>; @@ -21,7 +20,6 @@ compatible = "ti,am64-uart", "ti,am654-uart"; reg = <0x00 0x04a10000 0x00 0x100>; interrupts = ; - clock-frequency = <48000000>; current-speed = <115200>; power-domains = <&k3_pds 160 TI_SCI_PD_EXCLUSIVE>; clocks = <&k3_clks 160 0>; -- 2.35.1