Received: by 10.223.171.82 with SMTP id r18csp17116wrc; Thu, 8 Mar 2018 11:46:41 -0800 (PST) X-Google-Smtp-Source: AG47ELv5kqUqMJw9HM8WUf1Mb6cd882kjw59EtThDDrAo8in0ZsgIZbnTImitzMAIPTVXh645Jfa X-Received: by 2002:a17:902:b58e:: with SMTP id a14-v6mr24199654pls.76.1520538401774; Thu, 08 Mar 2018 11:46:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520538401; cv=none; d=google.com; s=arc-20160816; b=Isn2eH5Xs92EHfbzYKaDIREVO1Y2OMNbzWisuw4MjNv90XfyQfehj8B6WN4HfVNFcR VQx0QYguLgV+Fx9YFytLSQrjl8J/coSJU1r3ChZyp2diLl71kKiSRCnnjdyZp0N4qFMe MSpPkooNbPC5fpjGng29tu0xnsC45d1lQQP9Jk7I/DvNAf4/xqKmAKrlWz4eKi6p1+qb qGxBHeswMsHI7QVevjnTLls1zgycFS6MzVyELKP+bROKEVmOj9J1kZDr0Lq2emN/GPrm 2tfZHoxCRx7yhKpO6RcOtlA1IYThUsLwoZX0vFFplUdme3Bi75mv3unx7ep4CwHcP2Hu /g5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:organization:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=xBNch3e36p8KEaq9Ru+9HaXUBcMlSI6i190mQBs4F+E=; b=Evjb+JDYN+1UDe6N60kHzBLMBfqXMve4jKwTRlkAxu0ABC6m92qGeQQGaeIMlW0+Zm DHZfFIOY/4id6edZyFTXgnSuzIMPWGmn4GhI5g8RGBBudEr3UT6KPRlsGpz2w9oPN4ja xB4gPQXY1VXYnL3MIT0nPqJbgfi0F+YZc3pgLNghxgsn9QYht4X0SVMX+M2CY1NgzhZV Wy/GYmqk0UkpE7CEMKITxsWPT3QLm9g6/UokmefKMLIb6JYh6QZQdak/oGKiGnmnuqYZ PduHEOR2FgYXTY3BMKfndhZf5rYZ/CapNEkJ4d/Of09e2f0yZ9q8TSTrBkKCg85MwB7N aVCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=FLtWXlPF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a3-v6si15245422plp.76.2018.03.08.11.46.25; Thu, 08 Mar 2018 11:46:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=FLtWXlPF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750897AbeCHTpc (ORCPT + 99 others); Thu, 8 Mar 2018 14:45:32 -0500 Received: from mail-pl0-f65.google.com ([209.85.160.65]:40222 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750713AbeCHTpb (ORCPT ); Thu, 8 Mar 2018 14:45:31 -0500 Received: by mail-pl0-f65.google.com with SMTP id i6-v6so3890452plt.7 for ; Thu, 08 Mar 2018 11:45:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version; bh=xBNch3e36p8KEaq9Ru+9HaXUBcMlSI6i190mQBs4F+E=; b=FLtWXlPF4TQ35G1DxwOpLQ2nA3VQ890ZoltPF3hoC3J6h1e27cr0N2I4FHcYrnMQpC H7xoJo4TQC5FS+5Pwoa3stZD434CFkDA/kY+gwMY1xi/sHE/Q9/9oenNqnQXODvSC8Pt t+Jbp897F9pxeoQEvmJJXJPwkhVEIl7J3DIu/mM8HB8cDuJrZTs5+ObtNpdUGcESpMFW yIzno8LHeMMBdkdQkQ5+ru0m+IMgQyYPAtpt7FXXnMnIyOzhn6uZM3xtF/2Sb9HG/Pkc vU8Y6yLyc5icLqaqFsxMiTErEMbb07momNx99EBPZxzqFigBTT3kL9p3/ElJ0w3FaNCX wFRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:organization:references:date :in-reply-to:message-id:user-agent:mime-version; bh=xBNch3e36p8KEaq9Ru+9HaXUBcMlSI6i190mQBs4F+E=; b=B3TQOg/EZad4zXcc1smdZSyDF4cukN3qkZ4+VHRxVySJ75rcgYGwZ5d/UjFXkEuZEt FUtjhqP/M8wO6Zq3hJ7XnehQ/x2et+nFjCM/M+Mr2LLEVbkO9RasWnHf3GQcudAHJhq+ ZJyOoqOJZFNctqnFI3TMRAgR1xE6rKketJy8X1o1bsaFL/DwG62CqegzBGkf4+daeaTT qrR9qwpnV5vHm0RT6o+Jr4EG17ZrNphMa8SZqrIhsMhytxZ+LxWRDS1dNNqz0kSTklVB 0mHRINY1BIBqVbP78sDdEdK1S4LFhlYRfKuw/TTvEkKE/5Je02mbS24dWveVuxyqlvoC pNmg== X-Gm-Message-State: APf1xPD8urwUQonAEbrDwKCmDK6rR1mztptSJE9YA8q6XRuDs8DSyWQ9 nloh6qZb6HtnERLPSgmTktVb4Q== X-Received: by 2002:a17:902:9883:: with SMTP id s3-v6mr24468694plp.96.1520538330367; Thu, 08 Mar 2018 11:45:30 -0800 (PST) Received: from localhost ([98.237.141.101]) by smtp.googlemail.com with ESMTPSA id t28sm10077515pfk.138.2018.03.08.11.45.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Mar 2018 11:45:29 -0800 (PST) From: Kevin Hilman To: Neil Armstrong Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] amlogic: meson-gx-socinfo: Update soc ids Organization: BayLibre References: <1518620335-17716-1-git-send-email-narmstrong@baylibre.com> <1518689694.2883.68.camel@baylibre.com> <7ho9jzgyr2.fsf@baylibre.com> <37263741-e817-9a48-615e-13c5b1e2cec0@baylibre.com> Date: Thu, 08 Mar 2018 11:45:28 -0800 In-Reply-To: <37263741-e817-9a48-615e-13c5b1e2cec0@baylibre.com> (Neil Armstrong's message of "Thu, 8 Mar 2018 10:36:34 +0100") Message-ID: <7hina6fj1j.fsf@baylibre.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Neil Armstrong writes: > Hi Kevin, > > On 08/03/2018 02:08, Kevin Hilman wrote: >> Jerome Brunet writes: >> >>> On Wed, 2018-02-14 at 15:58 +0100, Neil Armstrong wrote: >>>> Updates the Amlogic Meson SoCs IDs for the Armv8 based SoCs. >>>> It includes the new families and packages. >>>> >>>> Signed-off-by: Neil Armstrong >>>> --- >>>> drivers/soc/amlogic/meson-gx-socinfo.c | 8 ++++++++ >>>> 1 file changed, 8 insertions(+) >>>> >>>> diff --git a/drivers/soc/amlogic/meson-gx-socinfo.c b/drivers/soc/amlogic/meson-gx-socinfo.c >>>> index f2d8c3c..a7efe30 100644 >>>> --- a/drivers/soc/amlogic/meson-gx-socinfo.c >>>> +++ b/drivers/soc/amlogic/meson-gx-socinfo.c >>>> @@ -33,6 +33,10 @@ static const struct meson_gx_soc_id { >>>> { "GXL", 0x21 }, >>>> { "GXM", 0x22 }, >>>> { "TXL", 0x23 }, >>>> + { "TXLX", 0x24 }, >>>> + { "AXG", 0x25 }, >>>> + { "GXLX", 0x26 }, >>>> + { "TXHD", 0x27 }, >>>> }; >>>> >>>> static const struct meson_gx_package_id { >>>> @@ -47,6 +51,10 @@ static const struct meson_gx_package_id { >>>> { "S905L", 0x21, 0xc0 }, >>>> { "S905M2", 0x21, 0xe0 }, >>>> { "S912", 0x22, 0 }, >>>> + { "962X", 0x24, 0x10 }, >>>> + { "962E", 0x24, 0x20 }, >>>> + { "A113X", 0x25, 0x37 }, >>>> + { "A113D", 0x25, 0xd0 }, >>>> }; >>>> >>>> static inline unsigned int socinfo_to_major(u32 socinfo) >>> >>> Tested on my s400 board which, according to the marking, features an AXG A113D. >>> AXG is detected correctly but the package id read is 0x22 instead of 0xd0. >> >> Neil, can you update accordingly? Have you seen 0xd0 on other A11x >> chips? or is this from the docs? > > I got it from the Amlogic lastest Linux and U-boot code. > I will set 0x22 and squash the "meson-gx-socinfo: Add package id for S905H" patch, is it ok ? Sure, that's fine. Kevin