Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2554412ybt; Mon, 22 Jun 2020 01:02:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzf0yx7qCLmhdOTb/g3CaFLW7CQJ9H8w9HhSGM8ILRPqDKV9oUlkIhBMz8SMwOBVds0EtkY X-Received: by 2002:a50:afe1:: with SMTP id h88mr11237783edd.295.1592812926387; Mon, 22 Jun 2020 01:02:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592812926; cv=none; d=google.com; s=arc-20160816; b=cIBN6ZxAfbK88rDu/FxV72BXcZXftq1dybinVp3pjP2GUrPDP2caZAhVxLhrjedZoV /EuRKFjA2M6AB8V0mgDRBXKUJUjPILKvoEfsEIa3+ZeNucjFSJVWZAL+AQD3MfWjwQru bmHfamgaNgmcxOKZZEAyC0N4/YpOARtPjSYEsa42X6vQjLmWjK48G+SBtdl/Ez381HxL Rrnq6pqkG1XWsU4xMbZYLT8DeTVDwHhEpG7/BbGlnmURwR+MvF7z6/vr+A8CQ7eFd1++ hnMdVjZGdqxfgDZU5W2NYU1Xt6kLrPH8IdkSboCo3hVfCsx5eiUCFgrp+NxCQFP3Wwzk hoqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:autocrypt:from:references:to:subject :dkim-signature; bh=RnzS9Psse9ulhOjd5cJJfFYSBWvJN3BYxrA41zp+nj0=; b=uSD+u6XMLI8zcCTRXFKbNKp45hT0L3MrGXngfzvJrOZI3IIXHJe8N7GSMZQgodnSrX 4BVTT3egpumaT0vLxnt9rhYzga+lXpvBk3dMEn21igLkBykkuLJZIUNgRcOPZj9jOS5h tiKj8Ju655WFaCAv+3mEReGI23O7j0tg346j7ARlPcOvNm23jM51wG2Xb4hLk93+2fZ/ HTf0EtGkCwhu2vDL5FiijpY50oe1mvas0EUzjGQAjpYH6TkhDk/9mhV7Fd1YLTBwzHgB fvEFXi9tbM2s9an49MwX9YpOYKU6Jtiz8gzKgrv8+JlfIytooSUnhTgshQ6X0JjuOMzc RyCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=QOX8nsO8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i7si1980528ejc.325.2020.06.22.01.01.43; Mon, 22 Jun 2020 01:02:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=QOX8nsO8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726140AbgFVH6v (ORCPT + 99 others); Mon, 22 Jun 2020 03:58:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728154AbgFVH6s (ORCPT ); Mon, 22 Jun 2020 03:58:48 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 970EFC061795 for ; Mon, 22 Jun 2020 00:58:48 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id z13so3855162wrw.5 for ; Mon, 22 Jun 2020 00:58:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:autocrypt:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=RnzS9Psse9ulhOjd5cJJfFYSBWvJN3BYxrA41zp+nj0=; b=QOX8nsO8Phfz0d521oNL0WXfr55SOmcu2B7BVirXReZCfMgCS5XQIC5MMWH6UW0E9/ kr9QyAqsVP1q50cG7HX8v6JsDEI+nPnfURWpKcP0lRJhsUdXZO+znoMsbr9lJSrCUkrA PLsGUoMTu38RoC9rGzRiXMGk8ntEbyfeN4kWJzejmxGwJ2r7w8IcXEGk3xdrfkJhmo+r bWqD1xrEnK0D6Woe37E7EKSViVwxS6G4Ky1ZSWbUfV4GisC7VNATbaNiMBEKESKCyuNO htDPJ6fQbFHP55sXCpyjIdkVYaDZQiu5NJoJEgH9YtcrHkzAH6GNEnKLINh9qG8sh57E NZJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:autocrypt :organization:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=RnzS9Psse9ulhOjd5cJJfFYSBWvJN3BYxrA41zp+nj0=; b=I9ymNFaQHivcruxsST1ZqKrAIyTFM44FXCkwULf5xVrXq01FX5R5yXEx83fq0RL5lM yqJWpu4AGEyMe37ErQxfD5ydAC9XAUCBSxpPNQrvB7YdzoxtxRwT51eEHhYf1VHbT12M SroVc3GXZc0VH52SgucKs5q1Vs738xuWasGAkPYR+v1UBuSSxOF0pXQeH8B23skh/9k8 IUqketJHgaff+LJV13yTeeaJ3DabWWARj3ozpLgCypO7zftalGJMh2tteTZyvrbGEXGE e16zsRdoXQwK8k4wh7yt8+QLfn5Axnejgk6Dy93iVQmT8dpMdUI9KN9491EewU6sCUMS fukg== X-Gm-Message-State: AOAM530/AuHDxsEHVp59+0InllKlGTo42DAE4eX9X1JrKbxE5i/O1n0V wAZt+qtBBrQrNMcv4bfE9rvT3imh6d0jGg== X-Received: by 2002:adf:df03:: with SMTP id y3mr16809629wrl.376.1592812726975; Mon, 22 Jun 2020 00:58:46 -0700 (PDT) Received: from ?IPv6:2a01:e35:2ec0:82b0:9902:c1f0:76c7:9dbc? ([2a01:e35:2ec0:82b0:9902:c1f0:76c7:9dbc]) by smtp.gmail.com with ESMTPSA id d63sm16560122wmc.22.2020.06.22.00.58.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Jun 2020 00:58:46 -0700 (PDT) Subject: Re: [PATCH v2] soc: amlogic: meson-gx-socinfo: Fix S905X3 and S905D3 ID's To: Christian Hewitt , Rob Herring , Mark Rutland , Kevin Hilman , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org References: <20200609081318.28023-1-christianshewitt@gmail.com> From: Neil Armstrong Autocrypt: addr=narmstrong@baylibre.com; prefer-encrypt=mutual; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKE5laWwgQXJtc3Ryb25nIDxuYXJtc3Ryb25nQGJheWxpYnJlLmNvbT7CwHsEEwEKACUC GyMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheABQJXDO2CAhkBAAoJEBaat7Gkz/iubGIH/iyk RqvgB62oKOFlgOTYCMkYpm2aAOZZLf6VKHKc7DoVwuUkjHfIRXdslbrxi4pk5VKU6ZP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BNs+fpttJlt2995A8 0JwPj8SFdm6FBcxygmxBBCc7i/BVQuY8aC0Z/w9Vzt3Eo561r6pSHr5JGHe8hwBQUcNPd/9l 2ynP57YTSE9XaGJK8gIuTXWo7pzIkTXfN40Wh5jeCCspj4jNsWiYhljjIbrEj300g8RUT2U0 FcEoiV7AjJWWQ5pi8lZJX6nmB0lc69Jw03V6mblgeZ/1oTZmOepkagwy2zLDXxihf0GowUif GphBDeP8elWBNK+ajl5rmpAMNRoKxpN/xR4NzBg62AjyIvigdywa1RehSTfccQARAQABwsBf BBgBAgAJBQJNWQbPAhsMAAoJEBaat7Gkz/iuteIH+wZuRDqK0ysAh+czshtG6JJlLW6eXJJR Vi7dIPpgFic2LcbkSlvB8E25Pcfz/+tW+04Urg4PxxFiTFdFCZO+prfd4Mge7/OvUcwoSub7 ZIPo8726ZF5/xXzajahoIu9/hZ4iywWPAHRvprXaim5E/vKjcTeBMJIqZtS4u/UK3EpAX59R XVxVpM8zJPbk535ELUr6I5HQXnihQm8l6rt9TNuf8p2WEDxc8bPAZHLjNyw9a/CdeB97m2Tr zR8QplXA5kogS4kLe/7/JmlDMO8Zgm9vKLHSUeesLOrjdZ59EcjldNNBszRZQgEhwaarfz46 BSwxi7g3Mu7u5kUByanqHyA= Organization: Baylibre Message-ID: <8757c066-2590-ff24-ebcc-2a9508fd9968@baylibre.com> Date: Mon, 22 Jun 2020 09:58:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200609081318.28023-1-christianshewitt@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/06/2020 10:13, Christian Hewitt wrote: > Correct the SoC revision and package bits/mask values for S905D3/X3 to detect > a wider range of observed SoC IDs, and tweak sort order for A311D/S922X. > > S905X3 05 0000 0101 (SEI610 initial devices) > S905X3 10 0001 0000 (ODROID-C4 and recent Android boxes) > S905X3 50 0101 0000 (SEI610 later revisions) > S905D3 04 0000 0100 (VIM3L devices in kernelci) > S905D3 b0 1011 0000 (VIM3L initial production) > > Fixes commit c9cc9bec36d0 ("soc: amlogic: meson-gx-socinfo: Add SM1 and S905X3 IDs") > Suggested-by: Neil Armstrong > Signed-off-by: Christian Hewitt > --- > drivers/soc/amlogic/meson-gx-socinfo.c | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) > > diff --git a/drivers/soc/amlogic/meson-gx-socinfo.c b/drivers/soc/amlogic/meson-gx-socinfo.c > index 01fc0d20a70d..6f54bd832c8b 100644 > --- a/drivers/soc/amlogic/meson-gx-socinfo.c > +++ b/drivers/soc/amlogic/meson-gx-socinfo.c > @@ -66,10 +66,12 @@ static const struct meson_gx_package_id { > { "A113D", 0x25, 0x22, 0xff }, > { "S905D2", 0x28, 0x10, 0xf0 }, > { "S905X2", 0x28, 0x40, 0xf0 }, > - { "S922X", 0x29, 0x40, 0xf0 }, > { "A311D", 0x29, 0x10, 0xf0 }, > - { "S905X3", 0x2b, 0x5, 0xf }, > - { "S905D3", 0x2b, 0xb0, 0xf0 }, > + { "S922X", 0x29, 0x40, 0xf0 }, > + { "S905D3", 0x2b, 0x4, 0xf5 }, > + { "S905X3", 0x2b, 0x5, 0xf5 }, > + { "S905X3", 0x2b, 0x10, 0x3f }, > + { "S905D3", 0x2b, 0x30, 0x3f }, > { "A113L", 0x2c, 0x0, 0xf8 }, > }; > > Acked-by: Neil Armstrong