From nobody Thu Oct 2 20:23:04 2025 Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) (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 4A24D1F428F for ; Thu, 11 Sep 2025 14:17:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.33 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757600238; cv=none; b=GA4kByzE3WHgNGP/14lxGbcGCifWIr8fkgV/pGtMn/MMsXfuoeOkancgQYnGHUAr65QFziPBmCsuAIFzPIrt5bRnFhAomjbpH08ik2Q9CP0XSsYgjXAGaGdGHONy0ASOQzp4+KvDC/d6HvDOIoy4B0CjiBQkDzaa9QWcuQhl+SQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757600238; c=relaxed/simple; bh=51Wr1zkiqucX+TpqXj27BKYwkeF8/UGUpE90bjdstNE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:MIME-Version: Content-Type:References; b=bHsFfORLLli9bwmzlX/8BAw9V7WLnZ1eXM7GTuxoAogcXLhHwGkS0SlCU3LWSXeelx4A0zX6/xPKd9RiNyVglnyIlWuXy8HlvcC4/8J48Atdd0/7lWz1MeVGmtIa2VZq6K0b4No5K4dRDTmw8JAho4cvNm9hYtvlN2+IQZPPkbk= 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=mF7WodyZ; arc=none smtp.client-ip=203.254.224.33 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="mF7WodyZ" Received: from epcas5p2.samsung.com (unknown [182.195.41.40]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20250911141709epoutp03e4eaa23770b7fd56b0d4980eaf418e33~kQBic8Jhz0154601546epoutp03K for ; Thu, 11 Sep 2025 14:17:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20250911141709epoutp03e4eaa23770b7fd56b0d4980eaf418e33~kQBic8Jhz0154601546epoutp03K DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1757600229; bh=gwxCLnysq/NZQPnFGzZvZp4/1kftabIwqJTZB7qwRU8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mF7WodyZyowez10hhvI8cicy6CHY1B60Adww3K0V99BBEK73XUhNZR6pFekA9wDIA Yj26wWP9NofOwfpAqlEjE0Iuxpxf86UQtftCMaVPVgj6OUk3sHg2huSgDRIcTN+300 bax6Gn6n1mcnbd4qkd8DrWTFhhpSdeu5wDE2f83c= Received: from epsnrtp04.localdomain (unknown [182.195.42.156]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPS id 20250911141708epcas5p22807e6c6a34b138c0c4c64d03a787988~kQBhzFHJD2246622466epcas5p2j; Thu, 11 Sep 2025 14:17:08 +0000 (GMT) Received: from epcas5p4.samsung.com (unknown [182.195.38.91]) by epsnrtp04.localdomain (Postfix) with ESMTP id 4cN04M2WY1z6B9m5; Thu, 11 Sep 2025 14:17:07 +0000 (GMT) Received: from epsmtip1.samsung.com (unknown [182.195.34.30]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20250911141706epcas5p29ba4f0af11e3a95a9754fd6255f7b5a7~kQBf-Mj1B0880308803epcas5p2X; Thu, 11 Sep 2025 14:17:06 +0000 (GMT) Received: from cheetah.samsungds.net (unknown [107.109.115.53]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20250911141702epsmtip11ecb960ff9fecf37f2cc9d9fe3c6ac0b~kQBcbig8N0084200842epsmtip19; Thu, 11 Sep 2025 14:17:02 +0000 (GMT) From: Ravi Patel To: gregkh@linuxfoundation.org, jirislaby@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, jesper.nilsson@axis.com, lars.persson@axis.com, alim.akhtar@samsung.com, arnd@kernel.org, krzk@kernel.org Cc: andriy.shevchenko@linux.intel.com, geert+renesas@glider.be, thierry.bultel.yh@bp.renesas.com, dianders@chromium.org, robert.marko@sartura.hr, schnelle@linux.ibm.com, kkartik@nvidia.com, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@axis.com, ksk4725@coasia.com, kenkim@coasia.com, smn1196@coasia.com, pjsin865@coasia.com, shradha.t@samsung.com, Ravi Patel Subject: [PATCH 1/3] dt-bindings: serial: samsung: Update axis,artpec8-uart to use samsung,uart-fifosize Date: Thu, 11 Sep 2025 19:46:03 +0530 Message-ID: <20250911141605.13034-2-ravi.patel@samsung.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250911141605.13034-1-ravi.patel@samsung.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-CMS-MailID: 20250911141706epcas5p29ba4f0af11e3a95a9754fd6255f7b5a7 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" CMS-TYPE: 105P cpgsPolicy: CPGSC10-541,Y X-CFilter-Loop: Reflected X-CMS-RootMailID: 20250911141706epcas5p29ba4f0af11e3a95a9754fd6255f7b5a7 References: <20250911141605.13034-1-ravi.patel@samsung.com> Update the axis,artpec8-uart compatible such that it uses the samsung,uart-fifosize as required property. This is to remove the axis,artpec8-uart specific code (which is kind of duplicated) from the driver and use the other matching exynos8895 uart code for ARTPEC-8. Signed-off-by: Ravi Patel --- Documentation/devicetree/bindings/serial/samsung_uart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/serial/samsung_uart.yaml b/D= ocumentation/devicetree/bindings/serial/samsung_uart.yaml index 1a1f991d5364..08eceaae2921 100644 --- a/Documentation/devicetree/bindings/serial/samsung_uart.yaml +++ b/Documentation/devicetree/bindings/serial/samsung_uart.yaml @@ -152,7 +152,6 @@ allOf: contains: enum: - apple,s5l-uart - - axis,artpec8-uart - samsung,exynos4210-uart - samsung,exynos5433-uart then: @@ -168,6 +167,7 @@ allOf: compatible: contains: enum: + - axis,artpec8-uart - google,gs101-uart - samsung,exynos8895-uart then: -- 2.17.1 From nobody Thu Oct 2 20:23:05 2025 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) (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 677A8212B0A for ; Thu, 11 Sep 2025 14:17:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.34 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757600238; cv=none; b=dJu0OXNJB9VheEHtd7zAebVrEGG08wK9VB0+QTDT08D8TYHfAgxmGb5us9LmuRLNnOER0vFfjazAtfthdPlqAsYTftq4P3Naf61twvA9T8ku3t1ZOjtl78S01JhUl138+vWC16MvqruFeisdKiz7r/C8rD/3glGM74I140HCyvU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757600238; c=relaxed/simple; bh=QAkJSSRSi/BwImwzkIxcT5GbTZk5FqYPBKjQeHAJg9M=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:MIME-Version: Content-Type:References; b=OjnJgUomY7GBVYvhpdZ6r/jUsOpzXxYsnKbwwtj1G5oC1m+H1qY6dnScv23d+FCSKW33iYI9OPImYJXd5Bj6C4oEuMMGV5AEI6LqP5FWB3CetyKpkmO6dedKpjHI0Jue/GwoIA00eGjnktg6g5HPR4vDvB/eHaLk9Uf39iWZxCk= 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=Y3XUE5wE; arc=none smtp.client-ip=203.254.224.34 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="Y3XUE5wE" Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20250911141713epoutp04a19ed07a4cb6134a8ab439824586c414~kQBmruTb62085420854epoutp04j for ; Thu, 11 Sep 2025 14:17:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20250911141713epoutp04a19ed07a4cb6134a8ab439824586c414~kQBmruTb62085420854epoutp04j DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1757600233; bh=Jg8MFO3EvcQCH2GMBa7esLpNK5V25mOJPytVnl79R0w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Y3XUE5wEkA3/opDPTwcYqxbUqa35BrKznBmAnVJS+PkmoPxis/HGSYrT/wEJ44HbF D0VP4EfpFp4e6oYY2Jls8p0Miujma/+3bP8FbtwkSr8nIK1XFJZvaMrwToBvSsdw2C 36zc+WS8zW94Db4PdybebVkKhn7Q9FT033EgTBK4= Received: from epsnrtp01.localdomain (unknown [182.195.42.153]) by epcas5p3.samsung.com (KnoxPortal) with ESMTPS id 20250911141712epcas5p36d9f96f77cbd7fc897d915f22de68fa0~kQBlhE0bP0750507505epcas5p3Y; Thu, 11 Sep 2025 14:17:12 +0000 (GMT) Received: from epcas5p3.samsung.com (unknown [182.195.38.89]) by epsnrtp01.localdomain (Postfix) with ESMTP id 4cN04R2NX1z6B9m4; Thu, 11 Sep 2025 14:17:11 +0000 (GMT) Received: from epsmtip1.samsung.com (unknown [182.195.34.30]) by epcas5p1.samsung.com (KnoxPortal) with ESMTPA id 20250911141710epcas5p190bae9561e3886250c74a9e11def935b~kQBjrqDaJ0925909259epcas5p1F; Thu, 11 Sep 2025 14:17:10 +0000 (GMT) Received: from cheetah.samsungds.net (unknown [107.109.115.53]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20250911141706epsmtip127af8a1ef2bade909c2937ce4b346240~kQBgOqSyA0081400814epsmtip1h; Thu, 11 Sep 2025 14:17:06 +0000 (GMT) From: Ravi Patel To: gregkh@linuxfoundation.org, jirislaby@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, jesper.nilsson@axis.com, lars.persson@axis.com, alim.akhtar@samsung.com, arnd@kernel.org, krzk@kernel.org Cc: andriy.shevchenko@linux.intel.com, geert+renesas@glider.be, thierry.bultel.yh@bp.renesas.com, dianders@chromium.org, robert.marko@sartura.hr, schnelle@linux.ibm.com, kkartik@nvidia.com, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@axis.com, ksk4725@coasia.com, kenkim@coasia.com, smn1196@coasia.com, pjsin865@coasia.com, shradha.t@samsung.com, Ravi Patel Subject: [PATCH 2/3] arm64: dts: axis: Add samsung,exynos8895-uart compatible for serial node Date: Thu, 11 Sep 2025 19:46:04 +0530 Message-ID: <20250911141605.13034-3-ravi.patel@samsung.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250911141605.13034-1-ravi.patel@samsung.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-CMS-MailID: 20250911141710epcas5p190bae9561e3886250c74a9e11def935b X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" CMS-TYPE: 105P cpgsPolicy: CPGSC10-541,Y X-CFilter-Loop: Reflected X-CMS-RootMailID: 20250911141710epcas5p190bae9561e3886250c74a9e11def935b References: <20250911141605.13034-1-ravi.patel@samsung.com> Add the samsung,exynos8895-uart compatible in the serial node and also add samsung,uart-fifosize property. This is to remove the axis,artpec8-uart specific code (which is kind of duplicated) from the driver and use the other matching exynos8895 uart code for ARTPEC-8. Signed-off-by: Ravi Patel --- arch/arm64/boot/dts/exynos/axis/artpec8.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/exynos/axis/artpec8.dtsi b/arch/arm64/boot= /dts/exynos/axis/artpec8.dtsi index db9833297982..0f018b258b60 100644 --- a/arch/arm64/boot/dts/exynos/axis/artpec8.dtsi +++ b/arch/arm64/boot/dts/exynos/axis/artpec8.dtsi @@ -223,7 +223,7 @@ }; serial_0: serial@16cc0000 { - compatible =3D "axis,artpec8-uart"; + compatible =3D "axis,artpec8-uart", "samsung,exynos8895-uart"; reg =3D <0x16cc0000 0x100>; clocks =3D <&cmu_fsys CLK_GOUT_FSYS_UART0_PCLK>, <&cmu_fsys CLK_GOUT_FSYS_UART0_SCLK_UART>; @@ -231,6 +231,7 @@ interrupts =3D ; pinctrl-names =3D "default"; pinctrl-0 =3D <&serial0_bus>; + samsung,uart-fifosize =3D <64>; }; }; -- 2.17.1 From nobody Thu Oct 2 20:23:05 2025 Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) (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 C21E131B126 for ; Thu, 11 Sep 2025 14:17:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.33 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757600240; cv=none; b=SRXVPBtsh/4vKvS0zHTiES/l2xOsXl+NA5P0Aa8q/HxLTGZrSiaamECAeKdBli72uAoBd3/dYOlj+lm7mpx7oS6rUOvV4tYUoV39akzXn90y1Tgu5c07WO4oDqm4fWVuHp6q+xA8mzzpS4N1twLsykZZbJQUWhz6M9QVNMHZ2YQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757600240; c=relaxed/simple; bh=5+tN6K7SF96fi7rMsUYISsa4l8A0u28hfVWoo8Jl1iU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:MIME-Version: Content-Type:References; b=Yuz2ola7u36UHhhbsSISGnC3CvMgB/4vaIVdktlgYOkkSxNe+T8LxSafTnsbg+GJC/Kue+UhBOv2USb+PytOOV5pFJguTbgI795VR2ZKnfQj/SyPoBMsxtzFv9pZv+JUEuGHhAnXit+N0dPii1Y1xCPa9gg8BQLr6FHJ4At1jPs= 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=RGM1Hwq3; arc=none smtp.client-ip=203.254.224.33 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="RGM1Hwq3" Received: from epcas5p2.samsung.com (unknown [182.195.41.40]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20250911141717epoutp03e9d33133e465ac8ec434b9510cbdad2c~kQBp9l7Ma0075000750epoutp03a for ; Thu, 11 Sep 2025 14:17:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20250911141717epoutp03e9d33133e465ac8ec434b9510cbdad2c~kQBp9l7Ma0075000750epoutp03a DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1757600237; bh=K69kgncGciGQZo0JXjJXKC6BvkMPaiJgLJglmZzL4cM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RGM1Hwq34Eh+BIhNJJSTYu+kN9RjqqGF/+z4QqIRGqah5I7L6MqsicFC1T02Z6Ttu +urbOzmpH0gl9WyYKUW8dSojqr0apczlDYuJiu1enayc0qACKZR1mit/gpLxPyzEmC E+9LgCmncmQDWY0OScWrQcXDMXUagdCugwpeNa5g= Received: from epsnrtp03.localdomain (unknown [182.195.42.155]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPS id 20250911141715epcas5p493e6a04e3f957c7589b55a2153801fa9~kQBo7E2ov3129231292epcas5p4G; Thu, 11 Sep 2025 14:17:15 +0000 (GMT) Received: from epcas5p2.samsung.com (unknown [182.195.38.91]) by epsnrtp03.localdomain (Postfix) with ESMTP id 4cN04W1zmqz3hhT3; Thu, 11 Sep 2025 14:17:15 +0000 (GMT) Received: from epsmtip1.samsung.com (unknown [182.195.34.30]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20250911141714epcas5p29f591a1d645c9c69dc5b7d2c2d12af50~kQBndP0JP1801718017epcas5p2y; Thu, 11 Sep 2025 14:17:14 +0000 (GMT) Received: from cheetah.samsungds.net (unknown [107.109.115.53]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20250911141710epsmtip120b4dcf88bd4e7d7187d3e096f10cd67~kQBj6-TyE3273832738epsmtip1d; Thu, 11 Sep 2025 14:17:10 +0000 (GMT) From: Ravi Patel To: gregkh@linuxfoundation.org, jirislaby@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, jesper.nilsson@axis.com, lars.persson@axis.com, alim.akhtar@samsung.com, arnd@kernel.org, krzk@kernel.org Cc: andriy.shevchenko@linux.intel.com, geert+renesas@glider.be, thierry.bultel.yh@bp.renesas.com, dianders@chromium.org, robert.marko@sartura.hr, schnelle@linux.ibm.com, kkartik@nvidia.com, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@axis.com, ksk4725@coasia.com, kenkim@coasia.com, smn1196@coasia.com, pjsin865@coasia.com, shradha.t@samsung.com, Ravi Patel Subject: [PATCH 3/3] tty: serial: samsung: Remove unused artpec-8 specific code Date: Thu, 11 Sep 2025 19:46:05 +0530 Message-ID: <20250911141605.13034-4-ravi.patel@samsung.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250911141605.13034-1-ravi.patel@samsung.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-CMS-MailID: 20250911141714epcas5p29f591a1d645c9c69dc5b7d2c2d12af50 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" CMS-TYPE: 105P cpgsPolicy: CPGSC10-541,Y X-CFilter-Loop: Reflected X-CMS-RootMailID: 20250911141714epcas5p29f591a1d645c9c69dc5b7d2c2d12af50 References: <20250911141605.13034-1-ravi.patel@samsung.com> Since ARTPEC-8 is using exynos8895 driver data, remove the unused artpec-8 specific driver data. ARTPEC-8 is using exynos4210 for earlycon, so earlycon code for ARTPEC-8 is also not required. Signed-off-by: Ravi Patel --- NOTE: This is exactly the revert of the below commit. commit 1db536f95d0264a2b83fb032d5b057ba0113e622 Author: Vincent Whitchurch Date: Fri Mar 11 10:45:15 2022 +0100 tty: serial: samsung: Add ARTPEC-8 support --- drivers/tty/serial/Kconfig | 2 +- drivers/tty/serial/samsung_tty.c | 38 -------------------------------- 2 files changed, 1 insertion(+), 39 deletions(-) diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index 44427415a80d..6f4d6f44d997 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -219,7 +219,7 @@ config SERIAL_CLPS711X_CONSOLE config SERIAL_SAMSUNG tristate "Samsung SoC serial support" - depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || ARCH_APPLE || A= RCH_ARTPEC || COMPILE_TEST + depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || ARCH_APPLE || C= OMPILE_TEST select SERIAL_CORE help Support for the on-chip UARTs on the Samsung diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsung_= tty.c index 2fb58c626daf..322ab280a59e 100644 --- a/drivers/tty/serial/samsung_tty.c +++ b/drivers/tty/serial/samsung_tty.c @@ -2577,37 +2577,6 @@ static const struct s3c24xx_serial_drv_data s5l_seri= al_drv_data =3D { #define S5L_SERIAL_DRV_DATA NULL #endif -#if defined(CONFIG_ARCH_ARTPEC) -static const struct s3c24xx_serial_drv_data artpec8_serial_drv_data =3D { - .info =3D { - .name =3D "Axis ARTPEC-8 UART", - .type =3D TYPE_S3C6400, - .port_type =3D PORT_S3C6400, - .iotype =3D UPIO_MEM, - .fifosize =3D 64, - .has_divslot =3D true, - .rx_fifomask =3D S5PV210_UFSTAT_RXMASK, - .rx_fifoshift =3D S5PV210_UFSTAT_RXSHIFT, - .rx_fifofull =3D S5PV210_UFSTAT_RXFULL, - .tx_fifofull =3D S5PV210_UFSTAT_TXFULL, - .tx_fifomask =3D S5PV210_UFSTAT_TXMASK, - .tx_fifoshift =3D S5PV210_UFSTAT_TXSHIFT, - .def_clk_sel =3D S3C2410_UCON_CLKSEL0, - .num_clks =3D 1, - .clksel_mask =3D 0, - .clksel_shift =3D 0, - }, - .def_cfg =3D { - .ucon =3D S5PV210_UCON_DEFAULT, - .ufcon =3D S5PV210_UFCON_DEFAULT, - .has_fracval =3D 1, - } -}; -#define ARTPEC8_SERIAL_DRV_DATA (&artpec8_serial_drv_data) -#else -#define ARTPEC8_SERIAL_DRV_DATA (NULL) -#endif - static const struct platform_device_id s3c24xx_serial_driver_ids[] =3D { { .name =3D "s3c6400-uart", @@ -2627,9 +2596,6 @@ static const struct platform_device_id s3c24xx_serial= _driver_ids[] =3D { }, { .name =3D "exynos850-uart", .driver_data =3D (kernel_ulong_t)EXYNOS850_SERIAL_DRV_DATA, - }, { - .name =3D "artpec8-uart", - .driver_data =3D (kernel_ulong_t)ARTPEC8_SERIAL_DRV_DATA, }, { .name =3D "gs101-uart", .driver_data =3D (kernel_ulong_t)GS101_SERIAL_DRV_DATA, @@ -2655,8 +2621,6 @@ static const struct of_device_id s3c24xx_uart_dt_matc= h[] =3D { .data =3D S5L_SERIAL_DRV_DATA }, { .compatible =3D "samsung,exynos850-uart", .data =3D EXYNOS850_SERIAL_DRV_DATA }, - { .compatible =3D "axis,artpec8-uart", - .data =3D ARTPEC8_SERIAL_DRV_DATA }, { .compatible =3D "google,gs101-uart", .data =3D GS101_SERIAL_DRV_DATA }, { .compatible =3D "samsung,exynos8895-uart", @@ -2828,8 +2792,6 @@ OF_EARLYCON_DECLARE(s5pv210, "samsung,s5pv210-uart", s5pv210_early_console_setup); OF_EARLYCON_DECLARE(exynos4210, "samsung,exynos4210-uart", s5pv210_early_console_setup); -OF_EARLYCON_DECLARE(artpec8, "axis,artpec8-uart", - s5pv210_early_console_setup); static int __init gs101_early_console_setup(struct earlycon_device *device, const char *opt) -- 2.17.1