From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1033221AbdAEIYs (ORCPT ); Thu, 5 Jan 2017 03:24:48 -0500 Received: from fllnx209.ext.ti.com ([198.47.19.16]:39901 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756659AbdAEIXR (ORCPT ); Thu, 5 Jan 2017 03:23:17 -0500 Subject: Re: [PATCH v2 2/4] serial: 8250: Add new port type for TI DA8xx/OMAPL13x/AM17xx/AM18xx/C66x To: David Lechner , Greg Kroah-Hartman , Santosh Shilimkar References: <1483561814-21953-1-git-send-email-david@lechnology.com> <1483561814-21953-3-git-send-email-david@lechnology.com> CC: Franklin S Cooper Jr , Rob Herring , Mark Rutland , Kevin Hilman , Axel Haslam , Alexandre Bailon , Bartosz Golaszewski , Jiri Slaby , , , , From: Sekhar Nori Message-ID: <7b175d65-7193-32e4-999b-e3cdd0005c3a@ti.com> Date: Thu, 5 Jan 2017 13:51:50 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <1483561814-21953-3-git-send-email-david@lechnology.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 05 January 2017 02:00 AM, David Lechner wrote: > This adds a new UART port type for TI DA8xx/OMAPL13x/AM17xx/AM18xx/C66x. The Keystone2 processors do include the C66x DSP. But the SoCs being targeted with this patch are the ARM + DSP variants. Using 66AK2x is more appropriate. http://www.ti.com/lsds/ti/processors/dsp/c6000_dsp-arm/66ak2x/overview.page Also, DA8xx includes DA830 which is pin-compatible with AM17x. So you can shorten the list of supported processors to DA8xx/66AK2x. > These SoCs have standard 8250 registers plus some extra non-standard > registers. > > The UART will not function unless the non-standard Power and Emulation > Management Register (PWREMU_MGMT) is configured correctly. This is > currently handled in arch/arm/mach-davinci/serial.c for non-device-tree > boards. Making this part of the UART driver will allow UART to work on > device-tree boards as well and the mach code can eventually be removed. > > Signed-off-by: David Lechner Looks good to me, apart from the minor change above. Acked-by: Sekhar Nori Thanks, Sekhar