From patchwork Fri Feb 2 21:24:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tamseel Shams X-Patchwork-Id: 13543662 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 28ABD6127 for ; Sat, 3 Feb 2024 02:21:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.24 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706926866; cv=none; b=kaEpx7iQQVQUw/DWW4hzxol11a7ZwDTMhcbrGPzK108x72V+HhHVpuVD2LQi/eE5WCLUo9FiBq4TB2GI07NMu/GIeXQUYlkbZnQKFOUTPShaUaClhkGSWD7QYtu3yxk+Fef3peamfqABLJRMO2bjwWQS03nc/n+CEFoT2EmW+jQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706926866; c=relaxed/simple; bh=wPUk1BPhWZU4IVetHCywU4mKyGrBFvnVln1QytgmoUQ=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:References; b=h/mIGGMUnSxEatJ98OzIcPufWyJmFXkyqoSwSk8QIZnT2Qw+WL/YfggDxyZpG1U/0FQabtxs/UcjCk/gAKgmbVzRWvLRlX53//IrX015F+TbvDlhyEDHic87WMTErVkftkZTipFkOXLdbQop95NDb6dljmGdaVWtW6b6BzAvy94= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=CjL1dJsd; arc=none smtp.client-ip=203.254.224.24 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="CjL1dJsd" Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20240203022056epoutp01e4fa43cda108d10de7cc343ce7e46dc5~wOO6cOanR0212402124epoutp01X for ; Sat, 3 Feb 2024 02:20:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20240203022056epoutp01e4fa43cda108d10de7cc343ce7e46dc5~wOO6cOanR0212402124epoutp01X DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1706926856; bh=VKWOrraSGT+Gzd2NQjMMwCtPcf85H8O4/u9KpUJECSg=; h=From:To:Cc:Subject:Date:References:From; b=CjL1dJsdRZ3NKEh8TMsCUnpw5c+vgfe1igpulgJSZOzhK8FIPoCu/az9UGCmUkuxm 9HA3mc0FKdhRM3uFexhl8jl9Y8U1toKJP/FPBgtDYfTtDCobK6+58kqM07uP683jGi kCB+ku1mu0jbdXIzXU7Z/H5keyRqlo8CqL9xq+AA= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20240203022055epcas5p2ff1cb017c7ea0a608c725fc0a6238787~wOO6CSq8Q0473604736epcas5p2q; Sat, 3 Feb 2024 02:20:55 +0000 (GMT) Received: from epsmgec5p1-new.samsung.com (unknown [182.195.38.177]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4TRbwQ1dWPz4x9Ps; Sat, 3 Feb 2024 02:20:54 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmgec5p1-new.samsung.com (Symantec Messaging Gateway) with SMTP id 5A.A2.19369.603ADB56; Sat, 3 Feb 2024 11:20:54 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p1.samsung.com (KnoxPortal) with ESMTPA id 20240202212456epcas5p15589813cd79526e9d0c444082e2f0e51~wKMe2a4fu2319923199epcas5p1c; Fri, 2 Feb 2024 21:24:56 +0000 (GMT) Received: from epsmgmcp1.samsung.com (unknown [182.195.42.82]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20240202212456epsmtrp225338eb9a31b5ce02096033e4d2a6fea~wKMe1srJ10549205492epsmtrp2Z; Fri, 2 Feb 2024 21:24:56 +0000 (GMT) X-AuditID: b6c32a50-9e1ff70000004ba9-2e-65bda3061007 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgmcp1.samsung.com (Symantec Messaging Gateway) with SMTP id 0B.43.18939.8AD5DB56; Sat, 3 Feb 2024 06:24:56 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20240202212455epsmtip1c148fc79a26232a10e5b2b1a89409868~wKMdBvRWu2776927769epsmtip1C; Fri, 2 Feb 2024 21:24:54 +0000 (GMT) From: Tamseel Shams To: alim.akhtar@samsung.com, linux-fsd@tesla.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, gregkh@linuxfoundation.org, jirislaby@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Tamseel Shams Subject: [PATCH 1/2] serial: samsung: honor fifosize from dts at first Date: Sat, 3 Feb 2024 02:54:47 +0530 Message-Id: <20240202212448.74840-1-m.shams@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrBKsWRmVeSWpSXmKPExsWy7bCmhi7b4r2pBs3XOC0ezNvGZrFm7zkm i/lHzrFaNC9ez2bxbq6MRd+Lh8wWmx5fY7V4+Crc4vKuOWwWM87vY7I4s7iX3eJu62J2i9a9 R9gdeD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NOHW TZrgFrBiyeIYV/umzH7LFv0mJZbijERDLeai4kQAzgomOgsEAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprHLMWRmVeSWpSXmKPExsWy7bCSnO6K2L2pBo3TzSwezNvGZrFm7zkm i/lHzrFaNC9ez2bxbq6MRd+Lh8wWmx5fY7V4+Crc4vKuOWwWM87vY7I4s7iX3eJu62J2i9a9 R9gdeD02repk87hzbQ+bx/65a9g9Ni+p9+jbsorR41/TXHaPz5vkAtijuGxSUnMyy1KL9O0S uDLmbTIqWMRT8WJ2WgPjVq4uRg4OCQETiYb9QV2MXBxCAtsZJR4tfcvWxcgJFBeXmPZrPyOE LSyx8t9zdoiiZiaJP3vvsIA0swloShw/zw0SFxHYxShx/1gbK4jDLHCJUeL1x5+sIN3CAm4S /XOXMYPYLAKqEr+f7gGL8wpYSEzcdgJqg7zE6g0HmCcw8ixgZFjFKJpaUJybnptcYKhXnJhb XJqXrpecn7uJERyEWkE7GJet/6t3iJGJg/EQowQHs5II7wThvalCvCmJlVWpRfnxRaU5qcWH GKU5WJTEeZVzOlOEBNITS1KzU1MLUotgskwcnFINTAWuN32+SZ32a78qvrytWafj5ZyN/H6+ D+Q+cVo9+KbYOFW8ya27QL+nLju/Szi3+Ninuwr3ij/lJzucKemd/7XE+9zMBUqrC3j9ymoK Z9pM8/39zHyDQtNdz/4rMhk3PeUf5wsYmOYd+CYbXvKbd33Kby+27t1a1w9uCIme4nPsv3/p OdYQHZWMf8vOv/cV9fo+daFAq0RZzIdHt4+Ueuof/PGfeb7dGUf55YdS7f13185KY5WbttDw TrG/e1zISqUzsyoT7y912z/Zuu5g+oILl1deSjlx+XD7/xs8fRWL+VuuartvmmT/NNq6UW/m Zr1vDV0m7+/Yizh/qFYLcl63T5Sz7NXEwEcsR3yClViKMxINtZiLihMBVCpzwLECAAA= X-CMS-MailID: 20240202212456epcas5p15589813cd79526e9d0c444082e2f0e51 X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20240202212456epcas5p15589813cd79526e9d0c444082e2f0e51 References: Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Currently for platforms which passes UART fifosize from DT gets override by local driver structure "s3c24xx_serial_drv_data", which is not indentded. Change the code to honor fifosize from device tree at first. Signed-off-by: Tamseel Shams --- drivers/tty/serial/samsung_tty.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsung_tty.c index 71d17d804fda..e4c4c9f4f9b0 100644 --- a/drivers/tty/serial/samsung_tty.c +++ b/drivers/tty/serial/samsung_tty.c @@ -1990,8 +1990,7 @@ static int s3c24xx_serial_probe(struct platform_device *pdev) } if (np) { - of_property_read_u32(np, - "samsung,uart-fifosize", &ourport->port.fifosize); + ret = of_property_read_u32(np, "samsung,uart-fifosize", &ourport->port.fifosize); if (of_property_read_u32(np, "reg-io-width", &prop) == 0) { switch (prop) { @@ -2009,10 +2008,13 @@ static int s3c24xx_serial_probe(struct platform_device *pdev) } } - if (ourport->drv_data->fifosize[index]) - ourport->port.fifosize = ourport->drv_data->fifosize[index]; - else if (ourport->info->fifosize) - ourport->port.fifosize = ourport->info->fifosize; + if (ret) { + if (ourport->drv_data->fifosize[index]) + ourport->port.fifosize = ourport->drv_data->fifosize[index]; + else if (ourport->info->fifosize) + ourport->port.fifosize = ourport->info->fifosize; + } + ourport->port.has_sysrq = IS_ENABLED(CONFIG_SERIAL_SAMSUNG_CONSOLE); /* From patchwork Fri Feb 2 21:24:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tamseel Shams X-Patchwork-Id: 13543663 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 792246FD5 for ; Sat, 3 Feb 2024 02:21:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.24 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706926873; cv=none; b=mv5L3ExGY8R+ympSVESmu6MVzhjF4LCM0EnYzf5gBuIYaejQcMbc+VoIL3LDkLiw4NQ5izwOoXz/rcckKDQBeP4VaoeonzrXfXYis9rudhDq0pwbYc9MlsJvDvNCY6ROYoLkGfSmLcE7wys2LtqVEycZmTZJmoQYZhYQbgsejuM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706926873; c=relaxed/simple; bh=MFOE+nUaSwDTYdIw9JQlFvPuda2tfFqnXYWlhZRBQXc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:Content-Type: References; b=Dn++tn/ojL1EnfzVLL33/+a3UHSCMCQ8sjQC5hvf+scLmrBoB4hzKJY/e8lvY2eR6F0hU0ZXTXr/d40jb/AJY9LWk3Lo0lHtC6ezl4TmN1oJF4Tau2BipJiI5Rv0PzXEIAkGHsmgMJilLyRMUZrykrVW9+I3IAR0VF8cVOoVNN4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=Z7eg7EEI; arc=none smtp.client-ip=203.254.224.24 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="Z7eg7EEI" Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20240203022109epoutp014a4c091d0ba83c7ae52e4498e7b6d80e~wOPGvZyP80214502145epoutp01V for ; Sat, 3 Feb 2024 02:21:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20240203022109epoutp014a4c091d0ba83c7ae52e4498e7b6d80e~wOPGvZyP80214502145epoutp01V DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1706926869; bh=rTfeTZ1ggn+RSJzom8PUIzN6CDAju1vOdXUC/7MJkyo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Z7eg7EEIlK/mhLhTPJolRKNed07EJdR+lp40BnruGQIGEB9pw3t7q2D2hEsst3avh NhySbkh1qKjU9thDKpyT8OmcGWnr0ISBfRok6XXTHSHxXNaxVp9lm58wRwWUq2CQw6 NLBV4S1rDlxJDyG2jKHBOwB2RVmN8xjeV+sidu/Y= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20240203022108epcas5p231f876cc1c931ed688c54c4274e2434f~wOPFaRoUJ1637916379epcas5p2E; Sat, 3 Feb 2024 02:21:08 +0000 (GMT) Received: from epsmgec5p1new.samsung.com (unknown [182.195.38.182]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4TRbwf6LwKz4x9Pq; Sat, 3 Feb 2024 02:21:06 +0000 (GMT) Received: from epcas5p4.samsung.com ( [182.195.41.42]) by epsmgec5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 86.37.08567.213ADB56; Sat, 3 Feb 2024 11:21:06 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20240202212459epcas5p2e1703c35ebe9302ac5b2f3d3fcd853c0~wKMgv5ky52407524075epcas5p2x; Fri, 2 Feb 2024 21:24:59 +0000 (GMT) Received: from epsmgms1p2new.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20240202212459epsmtrp21812ca3f066d52542904ed328fd6ca46~wKMgvGfhC0549205492epsmtrp2a; Fri, 2 Feb 2024 21:24:59 +0000 (GMT) X-AuditID: b6c32a44-3abff70000002177-0a-65bda3128b3b Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 46.6F.08817.AAD5DB56; Sat, 3 Feb 2024 06:24:58 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20240202212457epsmtip1d30d18afeb2388fde8b116ce91299907~wKMe7cwip2723127231epsmtip1g; Fri, 2 Feb 2024 21:24:56 +0000 (GMT) From: Tamseel Shams To: alim.akhtar@samsung.com, linux-fsd@tesla.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, gregkh@linuxfoundation.org, jirislaby@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Tamseel Shams Subject: [PATCH 2/2] arm64: dts: fsd: Add fifosize for UART in Device Tree Date: Sat, 3 Feb 2024 02:54:48 +0530 Message-Id: <20240202212448.74840-2-m.shams@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240202212448.74840-1-m.shams@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpjk+LIzCtJLcpLzFFi42LZdlhTS1do8d5Ug+lzdS0ezNvGZrFm7zkm i/lHzrFaNC9ez2bxbq6MRd+Lh8wWmx5fY7V4+Crc4vKuOWwWM87vY7I4s7iX3eJu62J2i9a9 R9gdeD02repk87hzbQ+bx/65a9g9Ni+p9+jbsorR41/TXHaPz5vkAtijsm0yUhNTUosUUvOS 81My89JtlbyD453jTc0MDHUNLS3MlRTyEnNTbZVcfAJ03TJzgG5VUihLzCkFCgUkF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WRmVeSWpSXmKPExsWy7bCSnO6q2L2pBsu3m1s8mLeNzWLN3nNM FvOPnGO1aF68ns3i3VwZi74XD5ktNj2+xmrx8FW4xeVdc9gsZpzfx2RxZnEvu8Xd1sXsFq17 j7A78HpsWtXJ5nHn2h42j/1z17B7bF5S79G3ZRWjx7+muewenzfJBbBHcdmkpOZklqUW6dsl cGWcX3aQraCXvaJp8y2WBsY7rF2MnBwSAiYSqy5/A7K5OIQEdjNKbH3TC5UQl5j2az8jhC0s sfLfc3aIomYmiaWvFgA5HBxsApoSx89zg8RFBHYxStw/1gY2iVngEqPE648/WUGKhAW8JM40 cYMMYhFQlZi6eSYbiM0rYCHRtqCXGWKBvMTqDQfAbE4BS4nTs46yg9hCQDXPLz9gncDIt4CR YRWjZGpBcW56brFhgVFearlecWJucWleul5yfu4mRnAAa2ntYNyz6oPeIUYmDsZDjBIczEoi vBOE96YK8aYkVlalFuXHF5XmpBYfYpTmYFES5/32ujdFSCA9sSQ1OzW1ILUIJsvEwSnVwHSe 4Z+O5XGm1q/eK59eYDpg9uZv+34nuY8MUou3aZU9tpxy5cCm2vvPL0VlZZ2M5FQ5x3LjUINU G9OfpJ8PherSduR2Wl51Ytp8y2Gvyv9Kv8K711jOGQhd/GCj+v+Ri+SC7KWdKV+Nks4IWudK rfZNYWUQPL39s3SdV0OUZ346f0lyvVuNukrFfSeV9Az97iqfH3+5r7+Z4WRpobXmw7c7NsZz trV/OSZg5jn3ql2QSFFkzZYm2wOmOkKNQa1XhLqY6sV1W37xr9m8sl+tTVX35fIgP8HabCa+ WQ05vwTFTxfYG2e6lkzomd5u+srr6s81GlufK+2JF3z/7GacV7zH7GsS7zMP73AoDZ2lxFKc kWioxVxUnAgAvM6sY88CAAA= X-CMS-MailID: 20240202212459epcas5p2e1703c35ebe9302ac5b2f3d3fcd853c0 X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20240202212459epcas5p2e1703c35ebe9302ac5b2f3d3fcd853c0 References: <20240202212448.74840-1-m.shams@samsung.com> Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: UART in FSD SoC has fifosize of 64 bytes. Set fifosize as 64 bytes for UART from Device Tree. Signed-off-by: Tamseel Shams --- arch/arm64/boot/dts/tesla/fsd.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/tesla/fsd.dtsi b/arch/arm64/boot/dts/tesla/fsd.dtsi index aaffb50b8b60..047a83cee603 100644 --- a/arch/arm64/boot/dts/tesla/fsd.dtsi +++ b/arch/arm64/boot/dts/tesla/fsd.dtsi @@ -601,6 +601,7 @@ clocks = <&clock_peric PERIC_PCLK_UART0>, <&clock_peric PERIC_SCLK_UART0>; clock-names = "uart", "clk_uart_baud0"; + samsung,uart-fifosize = <64>; status = "disabled"; }; @@ -613,6 +614,7 @@ clocks = <&clock_peric PERIC_PCLK_UART1>, <&clock_peric PERIC_SCLK_UART1>; clock-names = "uart", "clk_uart_baud0"; + samsung,uart-fifosize = <64>; status = "disabled"; };