Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753956AbcCHFng (ORCPT ); Tue, 8 Mar 2016 00:43:36 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:53304 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753488AbcCHFne (ORCPT ); Tue, 8 Mar 2016 00:43:34 -0500 From: Christopher Covington To: Russell King , Greg Kroah-Hartman , Jiri Slaby , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, Timur Tabi , Jon Masters , Mark Langsdorf , Andre Przywara , Dave Martin , Aleksey Makarov , Christopher Covington , Christopher Covington Subject: [PATCH] tty: amba-pl011: Use 32-bit accesses for SBSA UART Date: Tue, 8 Mar 2016 00:43:19 -0500 Message-Id: <1457415800-8799-1-git-send-email-cov@codeaurora.org> X-Mailer: git-send-email 2.7.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1155 Lines: 30 From: Christopher Covington Version 2 of the Server Base System Architecture (SBSA) describes the Generic UART registers as 32 bits wide. At least one implementation, found of the Qualcomm Technologies QDF2432, only supports 32 bit accesses. While other implementations may also support smaller sized accesses, simply use 32 bit accesses all the time for the SBSA UART for simple, broad, compatibility. Signed-off-by: Christopher Covington --- drivers/tty/serial/amba-pl011.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c index c0da0cc..ffb5eb8 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -121,6 +121,7 @@ static struct vendor_data vendor_arm = { static struct vendor_data vendor_sbsa = { .reg_offset = pl011_std_offsets, + .access_32b = true, .oversampling = false, .dma_threshold = false, .cts_event_workaround = false, -- Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project