{"id":817804,"url":"http://patchwork.ozlabs.org/api/covers/817804/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-imx/cover/20170923141403.20882-1-martin.blumenstingl@googlemail.com/","project":{"id":19,"url":"http://patchwork.ozlabs.org/api/projects/19/?format=json","name":"Linux IMX development","link_name":"linux-imx","list_id":"linux-imx-kernel.lists.patchwork.ozlabs.org","list_email":"linux-imx-kernel@lists.patchwork.ozlabs.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170923141403.20882-1-martin.blumenstingl@googlemail.com>","list_archive_url":null,"date":"2017-09-23T14:14:00","name":"[0/3] soc: amlogic: Add Meson6/8/8b SoC Information driver","submitter":{"id":66366,"url":"http://patchwork.ozlabs.org/api/people/66366/?format=json","name":"Martin Blumenstingl","email":"martin.blumenstingl@googlemail.com"},"mbox":"http://patchwork.ozlabs.org/project/linux-imx/cover/20170923141403.20882-1-martin.blumenstingl@googlemail.com/mbox/","series":[{"id":4765,"url":"http://patchwork.ozlabs.org/api/series/4765/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-imx/list/?series=4765","date":"2017-09-23T14:14:00","name":"soc: amlogic: Add Meson6/8/8b SoC Information driver","version":1,"mbox":"http://patchwork.ozlabs.org/series/4765/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/817804/comments/","headers":{"Return-Path":"<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming-imx@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-imx@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"RiKK0aQO\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=googlemail.com header.i=@googlemail.com\n\theader.b=\"GvYzp00R\"; dkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xzsp26xfFz9tX9\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tSun, 24 Sep 2017 00:15:54 +1000 (AEST)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dvlDj-0004RO-V4; Sat, 23 Sep 2017 14:15:51 +0000","from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dvlCd-0002nQ-PG; Sat, 23 Sep 2017 14:14:46 +0000","by mail-wm0-x244.google.com with SMTP id i131so3528354wma.1;\n\tSat, 23 Sep 2017 07:14:22 -0700 (PDT)","from blackbox.darklights.net\n\t(p200300DCD3F644048154F1156768CB50.dip0.t-ipconnect.de.\n\t[2003:dc:d3f6:4404:8154:f115:6768:cb50])\n\tby smtp.googlemail.com with ESMTPSA id\n\tt36sm3719702wrc.28.2017.09.23.07.14.19\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSat, 23 Sep 2017 07:14:20 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:\n\tList-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:\n\tSubject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:\n\tResent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:\n\tReferences:List-Owner; bh=3Y9wQMrXUSOj5B50rm5uijWQgnmwI2SR9ZOhvjXuuG8=;\n\tb=RiK\n\tK0aQOgFUbKsZdeajPkzXwkeM8fhVDjWGYTgtyV3tIgEnzWHs3TVVJvc74vwW2sO2GS5uN7phvLz6q\n\tc1fXMdnw/QxFPopcS6xPNaotCt6uM4Qy6MkvWeHK1UJ8zEbmrf/TlTGjPL91BpkDSwHkExGcUdAHg\n\tYnnFoYee6i1gpcv3NeKG+G/UZ4tTeeocPvii/GiUgP1kG77v1HIsovH1KEjnMKXjVamu6noIuG4si\n\t+2B/b+xJ/aDLyU+WI+jN29Cv/tF6ofNoEL9HgqcsDAaCF7bJ5lpkFR/JVfHa150kskzVIFonaTyde\n\tfvUF7ncEyCmE3fUUModYa/fwOMN7fzQ==;","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=googlemail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=gFvjA0uc63c6uOcD5INXgP0zXNu/tQ7EtEKDUlKtsHM=;\n\tb=GvYzp00RUF+t5WLlSyHLy+T96KiJ5pTnZ3/dN72CFel/gKGwxifbxaGGjO10wS5BKI\n\t4HiYukKKSsBlzl2O3pXpOaTEVkaz0V2UuK06ulS8DFCqqUBbONJQMnxroXR0EOcoX3/A\n\tXcCOEKp3XP4w1SJJ9zvS9bVK9UAzz0BCESQxM6pZDJ5OFDivXrMrbGzIjYPKbosFAJBG\n\tB3xSn6uDoZ8SIsvsF8zIbnWppYEgonQAMiuszD5qd1IYw7VcwpJ7GbgWKjbEUQT73AIR\n\t8VQFoVCygc6j3GyrqO+cyG5tcFsMqJQj3ucOMNrWkIj7Vbjk4aUV909deNvkrTEamhHE\n\taRNQ=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=gFvjA0uc63c6uOcD5INXgP0zXNu/tQ7EtEKDUlKtsHM=;\n\tb=uINa5dUoMJSMbUBbONkC8acS+4tDK6wPeukkTzlKTcJlBk0ejC3lTkAj18FO9JviAG\n\thSz2eB3iwC95w7Ta46IIO3z8T7SRWibNZVcsjqBEoFAStmZz6y9+pbF3Edj1jud4QQTZ\n\t4eOoaaZiv3p/KLQ1Gqd9gzj2+af7AYhJGjrdcxENVtH/wa7d9Aw8gRAmPbF0ZoIJ5s9L\n\tTkwBGL4nPgjtSB26+YGj3gaWKWiotTY0BDjAYird/QEUigDPocJzJFFAFDYwCMcjzmRT\n\traALjposzrEpuu80YgBqN63JMj1ojRijlipIGIDbz/brqPqS0jzI1FwSJgUfEEGWxEi8\n\tpM+g==","X-Gm-Message-State":"AHPjjUg4aCtrytaLXplecUPUjnsIkLjiE9pwFWPNbLkPOnePOlYX3gD1\n\tjxgr63TEtLLCrEQ/fyw9DYU=","X-Google-Smtp-Source":"AOwi7QDLfxkkH9ZtX1nHnXKJbkaCp+0Eqx69j1ZYzjDEBzEO4ENDKQHucNFRRZ9+np2GlwvEdTXkkA==","X-Received":"by 10.28.58.66 with SMTP id h63mr6502465wma.10.1506176061238;\n\tSat, 23 Sep 2017 07:14:21 -0700 (PDT)","From":"Martin Blumenstingl <martin.blumenstingl@googlemail.com>","To":"carlo@caione.org, khilman@baylibre.com,\n\tlinux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, \n\trobh+dt@kernel.org, devicetree@vger.kernel.org","Subject":"[PATCH 0/3] soc: amlogic: Add Meson6/8/8b SoC Information driver","Date":"Sat, 23 Sep 2017 16:14:00 +0200","Message-Id":"<20170923141403.20882-1-martin.blumenstingl@googlemail.com>","X-Mailer":"git-send-email 2.14.1","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170923_071444_106901_E2A10438 ","X-CRM114-Status":"UNSURE (   9.44  )","X-CRM114-Notice":"Please train this message.","X-Spam-Score":"-2.0 (--)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-2.0 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\n\tprovider (martin.blumenstingl[at]googlemail.com)\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain","X-BeenThere":"linux-arm-kernel@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-arm-kernel/>","List-Post":"<mailto:linux-arm-kernel@lists.infradead.org>","List-Help":"<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>","Cc":"mark.rutland@arm.com,\n\tMartin Blumenstingl <martin.blumenstingl@googlemail.com>,\n\tlinux@armlinux.org.uk, narmstrong@baylibre.com","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>","Errors-To":"linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org","List-Id":"linux-imx-kernel.lists.patchwork.ozlabs.org"},"content":"The 32-bit Amlogic SoC have some registers which contain some information\nthe SoC's major and version, as well as a \"major version\".\nThis patchset adds support for this register decoding and exposing with the\nSoC bus infrastructure, with dt-bindings and DT node.\n\nThis is inspired by Neil's Meson GX socinfo driver, see [0]\n\nAll information was taken from Amlogic's 3.10 GPL kernel sources because\nthe public S805 datasheet from Hardkernel does not contain any relevant\ninformation for these register blocks.\n\n\n[0] http://lists.infradead.org/pipermail/linux-amlogic/2017-June/004187.html\n\nMartin Blumenstingl (3):\n  dt-bindings: Amlogic: add documentation for the SoC info register\n    areas\n  soc: amlogic: Add Meson6/Meson8/Meson8b/Meson8m2 SoC Information\n    driver\n  ARM: dts: meson: add SoC information nodes\n\n .../devicetree/bindings/arm/amlogic/analog-top.txt |  20 +++\n .../devicetree/bindings/arm/amlogic/assist.txt     |  17 ++\n .../devicetree/bindings/arm/amlogic/bootrom.txt    |  17 ++\n arch/arm/boot/dts/meson.dtsi                       |  10 ++\n arch/arm/boot/dts/meson8.dtsi                      |   5 +\n arch/arm/boot/dts/meson8b.dtsi                     |   5 +\n drivers/soc/amlogic/Kconfig                        |  10 ++\n drivers/soc/amlogic/Makefile                       |   1 +\n drivers/soc/amlogic/meson-mx-socinfo.c             | 175 +++++++++++++++++++++\n 9 files changed, 260 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/arm/amlogic/analog-top.txt\n create mode 100644 Documentation/devicetree/bindings/arm/amlogic/assist.txt\n create mode 100644 Documentation/devicetree/bindings/arm/amlogic/bootrom.txt\n create mode 100644 drivers/soc/amlogic/meson-mx-socinfo.c"}