From patchwork Fri Jun 12 13:00:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Palmer X-Patchwork-Id: 199181 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 61A7BC433E0 for ; Fri, 12 Jun 2020 13:03:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 418E42081A for ; Fri, 12 Jun 2020 13:03:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=0x0f.com header.i=@0x0f.com header.b="Bp+EnSjP" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726478AbgFLNDR (ORCPT ); Fri, 12 Jun 2020 09:03:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726309AbgFLNDN (ORCPT ); Fri, 12 Jun 2020 09:03:13 -0400 Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10183C03E96F for ; Fri, 12 Jun 2020 06:03:12 -0700 (PDT) Received: by mail-pj1-x1041.google.com with SMTP id i12so3621352pju.3 for ; Fri, 12 Jun 2020 06:03:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zFVtoiNjl4oNMGacca0AXJ3/iXBsqOkayEm+1Qa1zHs=; b=Bp+EnSjPOUJ1eV1lT+rQ/Iq2sJb89w6XMqQP1w1VdqIElaVRV2saN62kX3v9tOC2Gq GIMz4yxfEZ53TxmZTGwpc4J1DFsyc6GDl+nv9YpIYmSe31OXVi4s6wTEyNxKPWeD0Ncd Cz1Ba9KkwWGJpAkXZn7nedykAq6EDC/g6gR6U= 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=zFVtoiNjl4oNMGacca0AXJ3/iXBsqOkayEm+1Qa1zHs=; b=hZpbKc207+Wzm1WYrskYFqLLXdz9TUMOqVZh36WdEX8eJxY3iUGMsMwTKgxiTzIMoa WouUCDy4cqxnqSoXojikK/Qw1sAfbjsc9P0b4aQohMmC3/o6gAfTum17Fxe5IbyVH+h1 KZAuDDJENmPycdqOBpR8vmlsnJSjo2d5BXstZ+i6XNurXH0n3iL/QSEgqnNUSKsvlzD2 wqHjxylcS0mnRXZoAjW7Nv2iIVoAcmHIP6jDRWGfny462vc+5Dk7yKnP5UQtG3/fdWKz zZgTymNAWCYOz+14Cne41Vm2ncNcK0SeDsAvPonaocWarS1wGM16XuXypjPKPU8ioJWl LAJQ== X-Gm-Message-State: AOAM5302en0U59lwFWdmXhyNRMmBOQcu8KtSTrwnChKFAGtrfQRdU/YF M7r4qDiHjI0QCCgHw8H8JibfBg== X-Google-Smtp-Source: ABdhPJxLhwaoXhyApJdmwU+cJ78D3efrWpzxB05a1uevQvfO0cfy85Cc2vgBn1EEb0keJzGjIWtnQg== X-Received: by 2002:a17:902:7c16:: with SMTP id x22mr11291382pll.244.1591966991703; Fri, 12 Jun 2020 06:03:11 -0700 (PDT) Received: from shiro.work (p1285116-ipngn200805sizuokaden.shizuoka.ocn.ne.jp. [114.171.61.116]) by smtp.googlemail.com with ESMTPSA id k12sm5481939pgm.11.2020.06.12.06.03.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jun 2020 06:03:10 -0700 (PDT) From: Daniel Palmer To: linux-kernel@vger.kernel.org Cc: daniel@0x0f.com, afaerber@suse.de, devicetree@vger.kernel.org, Daniel Palmer , Rob Herring , Russell King , Sam Ravnborg , Linus Walleij , Heiko Stuebner , Stephan Gerhold , Lubomir Rintel , Mark Brown , allen , Mauro Carvalho Chehab , "David S. Miller" , Jonathan Corbet , Greg Kroah-Hartman , Arnd Bergmann , Andrew Morton , Doug Anderson , Benjamin Gaignard , Gregory Fong , Bartosz Golaszewski , Masahiro Yamada , Will Deacon , Nick Desaulniers , Nathan Huckleberry , Ard Biesheuvel , Nathan Chancellor , Marc Zyngier , linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 01/12] dt-bindings: vendor-prefixes: Add mstar vendor prefix Date: Fri, 12 Jun 2020 22:00:01 +0900 Message-Id: <20200612130032.3905240-2-daniel@0x0f.com> X-Mailer: git-send-email 2.27.0.rc0 In-Reply-To: <20200612130032.3905240-1-daniel@0x0f.com> References: <20200610090421.3428945-1-daniel@0x0f.com> <20200612130032.3905240-1-daniel@0x0f.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add prefix for MStar Semiconductor, Inc. Signed-off-by: Daniel Palmer --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index ef6d75b9113a..86b569a0c008 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -678,6 +678,8 @@ patternProperties: description: Microsemi Corporation "^msi,.*": description: Micro-Star International Co. Ltd. + "^mstar,.*": + description: MStar Semiconductor, Inc. (acquired by MediaTek Inc.) "^mti,.*": description: Imagination Technologies Ltd. (formerly MIPS Technologies Inc.) "^multi-inno,.*": From patchwork Fri Jun 12 13:00:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Palmer X-Patchwork-Id: 199180 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, UNWANTED_LANGUAGE_BODY, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 01880C433E0 for ; Fri, 12 Jun 2020 13:04:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D151520801 for ; Fri, 12 Jun 2020 13:04:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=0x0f.com header.i=@0x0f.com header.b="v5LIkUnU" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726283AbgFLNEH (ORCPT ); Fri, 12 Jun 2020 09:04:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726258AbgFLNEH (ORCPT ); Fri, 12 Jun 2020 09:04:07 -0400 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 282A5C03E96F for ; Fri, 12 Jun 2020 06:04:06 -0700 (PDT) Received: by mail-pf1-x443.google.com with SMTP id x207so4279365pfc.5 for ; Fri, 12 Jun 2020 06:04:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=XxDkda8O67HgHGJSLFTrtV7JMSfXrWrn5BJlGMpDUew=; b=v5LIkUnUnF2+bxJwj82k5O3Ugtx+V+dOnpssvRtDYX+KsvElv43rxkxrOOUV/zuGnN bm54gsNjWwVP4WCpw5aBqG3GjMIVZH6QB6WYJ5fJk0Ri2vbBVR/ZWwoE775ZJ2mNzs1L Xi9bznFrxDfQwG3cqR4VwmgWt2Y7PJNlj0x6g= 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XxDkda8O67HgHGJSLFTrtV7JMSfXrWrn5BJlGMpDUew=; b=AQ70AikHF1jAPsHNOADtkXPZrRPzCvCWliddq+tnmPU+WF6UtylVbD70VJwn8W7x8/ azfg7tJZ2RSzmres1zYdOXwCg6PT2VI1CsJ8t4rqJuJ80nl8roxSMX9NyaqD4Unku12N b7vzoDqZpN51q+1MbxpqJHViiJpta3IEtLWYEEK9fmu7sRalhbQrBEex5+cpYJNG1elv xjOChJzmQlfPYYj6oyUiAHZaUEq7nv7v2RA5qGoxZvaEiqhm+4xp3CKO0j8hPlEOjPnm peaTD2i/BRzezbGAlhgCbY73s4cK0ssgEgw/oLX36226UYAdEw5LVCKKxTq61zkS7swS vM/A== X-Gm-Message-State: AOAM531r7LJKcxWk2kEkT9LdfpAvW/jZCIY6jgFCL0ShKvQpwK91eoYD DnNiK0Hnu0uhzlGZtJo7uRXrKQ== X-Google-Smtp-Source: ABdhPJytiIJDeVXmChbd5bb89VuMarC4J8a0f2CzkWR4+onp+oE0ehGtriSY+VxWyDm+C4WNZXHdkg== X-Received: by 2002:aa7:9f10:: with SMTP id g16mr11840277pfr.47.1591967045681; Fri, 12 Jun 2020 06:04:05 -0700 (PDT) Received: from shiro.work (p1285116-ipngn200805sizuokaden.shizuoka.ocn.ne.jp. [114.171.61.116]) by smtp.googlemail.com with ESMTPSA id k12sm5481939pgm.11.2020.06.12.06.03.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jun 2020 06:04:04 -0700 (PDT) From: Daniel Palmer To: linux-kernel@vger.kernel.org Cc: daniel@0x0f.com, afaerber@suse.de, devicetree@vger.kernel.org, Daniel Palmer , Rob Herring , Russell King , Sam Ravnborg , Linus Walleij , Heiko Stuebner , Stephan Gerhold , Lubomir Rintel , Mark Brown , allen , Mauro Carvalho Chehab , "David S. Miller" , Jonathan Corbet , Greg Kroah-Hartman , Arnd Bergmann , Andrew Morton , Mike Rapoport , Doug Anderson , Benjamin Gaignard , Gregory Fong , Bartosz Golaszewski , Masahiro Yamada , Nathan Chancellor , Will Deacon , Nathan Huckleberry , Marc Zyngier , Ard Biesheuvel , linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 03/12] dt-bindings: vendor-prefixes: Add 70mai vendor prefix Date: Fri, 12 Jun 2020 22:00:03 +0900 Message-Id: <20200612130032.3905240-4-daniel@0x0f.com> X-Mailer: git-send-email 2.27.0.rc0 In-Reply-To: <20200612130032.3905240-1-daniel@0x0f.com> References: <20200610090421.3428945-1-daniel@0x0f.com> <20200612130032.3905240-1-daniel@0x0f.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add prefix for 70mai Co., Ltd Signed-off-by: Daniel Palmer --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 314a2ddcb6a0..7c45b4c6fe40 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -23,6 +23,8 @@ patternProperties: "^(simple-audio-card|simple-graph-card|st-plgpio|st-spics|ts),.*": true # Keep list in alphabetical order. + "^70mai,.*": + description: 70mai Co., Ltd. "^abilis,.*": description: Abilis Systems "^abracon,.*": From patchwork Fri Jun 12 13:00:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Palmer X-Patchwork-Id: 199179 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLACK, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 761BFC433E0 for ; Fri, 12 Jun 2020 13:05:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 494E3207D8 for ; Fri, 12 Jun 2020 13:05:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=0x0f.com header.i=@0x0f.com header.b="A3WWYsIm" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726538AbgFLNFE (ORCPT ); Fri, 12 Jun 2020 09:05:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726101AbgFLNFE (ORCPT ); Fri, 12 Jun 2020 09:05:04 -0400 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43883C03E96F for ; Fri, 12 Jun 2020 06:05:02 -0700 (PDT) Received: by mail-pj1-x102d.google.com with SMTP id ga6so3632262pjb.1 for ; Fri, 12 Jun 2020 06:05:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4vHmV15pvTuxcnNHNJqFUF5syqcXyyEAOXSJ5/cf22M=; b=A3WWYsImEEOqMez/ZJ06SYg+jhnolFaaDZqe7H+eYUw0R75IoOwbW2fIBQJSXMVGFs 4uVMyzTwq6676zRYmMsAYtRvgYtI67TvzvRRlpozn+hQxow1jei1Z8N28yVpXH4ETxVR qnWiAA6O5D6SWdZkpZgstkYmP8B8eL6Equ/Mo= 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4vHmV15pvTuxcnNHNJqFUF5syqcXyyEAOXSJ5/cf22M=; b=Yk2byvn2U/xIy95iyIdsmEnNC9gxEn/TtmRTBusa2eXNM0DPSBfcm//VdiAyz50tuQ fD1/iOSFG9540yoZ9gvn6wCSVe7MzK8IrU3VmhkO1DhoBPtjrUa46SeqwkMCrzy0OW/4 gnyDKZqpRVsyZWlveBCJOdLJunMIS8W2x/FX8KKpy1M1F2dHAIeN93cJxITQTngSaFQY LyQAp3QrT5CS0cdFbhaqM7Q5x4I8hA8o8cU2ES9j8gpe4P3JEeqbh/KLVTb9cLPsrlUW QaSkf2auQT3wlb1D9D8bsNIkLhIrgaYCS8t5NK7C0VocYX67Dc9IvU0Qcbwbg8ShC0j2 5OqQ== X-Gm-Message-State: AOAM530LV24aG4ZSdfgSHULr7t6uy7xnmbwE+4A4Nn4XHkk2xONZj6xi mdOZH7dlRnoHr1Jr82pHDzYXeA== X-Google-Smtp-Source: ABdhPJxqETrV/iuA8Ip8gK6XEQz+Oa4LZk63JEndPG/JrYOaZDGEFgqbuBRuBHxe/r4eEHuEHgprwg== X-Received: by 2002:a17:90b:3d7:: with SMTP id go23mr12862528pjb.157.1591967101454; Fri, 12 Jun 2020 06:05:01 -0700 (PDT) Received: from shiro.work (p1285116-ipngn200805sizuokaden.shizuoka.ocn.ne.jp. [114.171.61.116]) by smtp.googlemail.com with ESMTPSA id k12sm5481939pgm.11.2020.06.12.06.04.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jun 2020 06:05:00 -0700 (PDT) From: Daniel Palmer To: linux-kernel@vger.kernel.org Cc: daniel@0x0f.com, afaerber@suse.de, devicetree@vger.kernel.org, Daniel Palmer , Rob Herring , Russell King , Sam Ravnborg , Linus Walleij , Heiko Stuebner , Stephan Gerhold , Lubomir Rintel , Mark Brown , allen , Mauro Carvalho Chehab , "David S. Miller" , Greg Kroah-Hartman , Jonathan Corbet , Arnd Bergmann , Andrew Morton , Mike Rapoport , Doug Anderson , Benjamin Gaignard , Gregory Fong , Bartosz Golaszewski , Masahiro Yamada , Will Deacon , Nathan Chancellor , Christian Lamparter , Marc Zyngier , Nathan Huckleberry , Ard Biesheuvel , linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 05/12] dt-bindings: dt-bindings: arm: Add mstar YAML schema Date: Fri, 12 Jun 2020 22:00:05 +0900 Message-Id: <20200612130032.3905240-6-daniel@0x0f.com> X-Mailer: git-send-email 2.27.0.rc0 In-Reply-To: <20200612130032.3905240-1-daniel@0x0f.com> References: <20200610090421.3428945-1-daniel@0x0f.com> <20200612130032.3905240-1-daniel@0x0f.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This adds some intial boards for Armv7 based mstar platforms. Signed-off-by: Daniel Palmer --- .../devicetree/bindings/arm/mstar.yaml | 33 +++++++++++++++++++ MAINTAINERS | 7 ++++ 2 files changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/mstar.yaml diff --git a/Documentation/devicetree/bindings/arm/mstar.yaml b/Documentation/devicetree/bindings/arm/mstar.yaml new file mode 100644 index 000000000000..633e89f415cb --- /dev/null +++ b/Documentation/devicetree/bindings/arm/mstar.yaml @@ -0,0 +1,33 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/mstar.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MStar platforms device tree bindings + +maintainers: + - Daniel Palmer + +properties: + $nodename: + const: '/' + compatible: + oneOf: + # infinity boards + items: + - enum: + - thingyjp,breadbee-crust # thingy.jp BreadBee Crust + - const: mstar,infinity + + # infinity3 boards + items: + - enum: + - thingyjp,breadbee # thingy.jp BreadBee + - const: mstar,infinity3 + + # mercury5 boards + items: + - enum: + - 70mai,midrived08 # 70mai midrive d08 + - const: mstar,mercury5 diff --git a/MAINTAINERS b/MAINTAINERS index 77a3fa5e3edd..c44070f76a1b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2110,6 +2110,13 @@ L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) S: Maintained F: arch/arm/mach-pxa/mioa701.c +ARM/MStar/Sigmastar Armv7 SoC support +M: Daniel Palmer +L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) +S: Maintained +W: http://linux-chenxing.org/ +F: Documentation/devicetree/bindings/arm/mstar.yaml + ARM/NEC MOBILEPRO 900/c MACHINE SUPPORT M: Michael Petchkovsky S: Maintained From patchwork Fri Jun 12 13:00:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Palmer X-Patchwork-Id: 199178 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BECB0C433DF for ; Fri, 12 Jun 2020 13:05:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9D01C2081A for ; Fri, 12 Jun 2020 13:05:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=0x0f.com header.i=@0x0f.com header.b="nUjvkzZr" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726263AbgFLNF6 (ORCPT ); Fri, 12 Jun 2020 09:05:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726053AbgFLNF5 (ORCPT ); Fri, 12 Jun 2020 09:05:57 -0400 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF926C03E96F for ; Fri, 12 Jun 2020 06:05:56 -0700 (PDT) Received: by mail-pf1-x442.google.com with SMTP id s23so4278257pfh.7 for ; Fri, 12 Jun 2020 06:05:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WPc9wn7ciRL1/w7YcmkKxstKF3mhNYu9SS7UDFpaIkA=; b=nUjvkzZrPNUxwZXt4rddj1k8k11Ut+O8vNlUvODyzPA5TRw+69KGcqYsPZ2G62F8Y+ jzeH5qlPBMohmEll60co1xTFxhjueauzIrYC6s43YQZvhTZLQrKMj6I11sfQ294FeN7o 1Cu8BgHXOYm6//LunIaFVzyeszvlCLlSWTqTQ= 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WPc9wn7ciRL1/w7YcmkKxstKF3mhNYu9SS7UDFpaIkA=; b=mgpwyYJ6L7rmXpCv1YM4UvWH91Q9WjO1skH1L7lC5eniZA8fb4ZlNlImvV2+fZz5PS LWTrn6OyykpXjQyh6rKjfNWLcCSTiT25wO/kDxtJJgW2wBleaZ/1irls9d2dq5vSDDMJ iyfoBp52HmB8JSH7lUIrvz9UzkL1nz0ZRRtFZ1qJsLX6IKyaQpxz8Wc1x3Lf9rIdhyTw FoCvRe4sRWmAaHG3M6OkK79IgoW6/rAGFBohItdVC5CHjQlUxIn5RLik/5ZVQKXP+PbJ /L+fK9Jy1kuVGeDyrGNvSp6qeTT6pgluYi6uK3PqIuAxxCe9jZUIuUBQ+AnXux9I5Z9h ZuBQ== X-Gm-Message-State: AOAM5336S94FR/mxBHd5bK8bDPZMe250oBRGJ9daUlUzS0CB0Yw4KZxW GkJKViep5TUHXZK5F8jHZVlauA== X-Google-Smtp-Source: ABdhPJz1wFdIUTrlUYxHra18zo59hPt+Ljqw4iZ1xFCh8+Ip1RV9JHwrv4UOCHYaJcYh4KYJzR2RpA== X-Received: by 2002:a63:a119:: with SMTP id b25mr10659528pgf.10.1591967156245; Fri, 12 Jun 2020 06:05:56 -0700 (PDT) Received: from shiro.work (p1285116-ipngn200805sizuokaden.shizuoka.ocn.ne.jp. [114.171.61.116]) by smtp.googlemail.com with ESMTPSA id k12sm5481939pgm.11.2020.06.12.06.05.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jun 2020 06:05:55 -0700 (PDT) From: Daniel Palmer To: linux-kernel@vger.kernel.org Cc: daniel@0x0f.com, afaerber@suse.de, devicetree@vger.kernel.org, Daniel Palmer , Rob Herring , Russell King , Sam Ravnborg , Linus Walleij , Heiko Stuebner , Stephan Gerhold , Lubomir Rintel , Mark Brown , allen , Mauro Carvalho Chehab , "David S. Miller" , Greg Kroah-Hartman , Jonathan Corbet , Arnd Bergmann , Mike Rapoport , Andrew Morton , Doug Anderson , Benjamin Gaignard , Gregory Fong , Bartosz Golaszewski , Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nathan Huckleberry , Ard Biesheuvel , Marc Zyngier , linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 07/12] ARM: mstar: Add binding details for mstar, l3bridge Date: Fri, 12 Jun 2020 22:00:07 +0900 Message-Id: <20200612130032.3905240-8-daniel@0x0f.com> X-Mailer: git-send-email 2.27.0.rc0 In-Reply-To: <20200612130032.3905240-1-daniel@0x0f.com> References: <20200610090421.3428945-1-daniel@0x0f.com> <20200612130032.3905240-1-daniel@0x0f.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This adds a YAML description of the l3bridge node needed by the platform code for the MStar/SigmaStar Armv7 SoCs. Signed-off-by: Daniel Palmer --- .../bindings/misc/mstar,l3bridge.yaml | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/mstar,l3bridge.yaml diff --git a/Documentation/devicetree/bindings/misc/mstar,l3bridge.yaml b/Documentation/devicetree/bindings/misc/mstar,l3bridge.yaml new file mode 100644 index 000000000000..cb7fd1cdfb1a --- /dev/null +++ b/Documentation/devicetree/bindings/misc/mstar,l3bridge.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2020 thingy.jp. +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/misc/mstar,l3bridge.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: MStar/SigmaStar Armv7 SoC l3bridge + +maintainers: + - Daniel Palmer + +description: | + MStar/SigmaStar's Armv7 SoCs have a pipeline in the interface + between the CPU and memory. This means that before DMA capable + devices are allowed to run the pipeline must be flushed to ensure + everything is in memory. + + The l3bridge region contains registers that allow such a flush + to be triggered. + + This node is used by the platform code to find where the registers + are and install a barrier that triggers the required pipeline flush. + +properties: + compatible: + items: + - const: mstar,l3bridge + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + l3bridge: l3bridge@1f204400 { + compatible = "mstar,l3bridge"; + reg = <0x1f204400 0x200>; + }; From patchwork Fri Jun 12 13:00:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Palmer X-Patchwork-Id: 199177 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F815C433DF for ; Fri, 12 Jun 2020 13:06:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 57534207D8 for ; Fri, 12 Jun 2020 13:06:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=0x0f.com header.i=@0x0f.com header.b="Cbc+o6tZ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726272AbgFLNGy (ORCPT ); Fri, 12 Jun 2020 09:06:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726258AbgFLNGw (ORCPT ); Fri, 12 Jun 2020 09:06:52 -0400 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F0D6C03E96F for ; Fri, 12 Jun 2020 06:06:51 -0700 (PDT) Received: by mail-pf1-x443.google.com with SMTP id b16so4261370pfi.13 for ; Fri, 12 Jun 2020 06:06:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DNpIJBz2KGtG+lwsglq7c9aHY9dZZb83R83ottokbxA=; b=Cbc+o6tZh4dLX7Cn6d1kR1nCuPXsJVjLHvJW2ZG7UdxtQrriNSDpwkxRIm1Agaswlj xcFXTk6Nfic0W5IIfycBw4qlMZ6D8B/jwvolntDDrihyKZddvV9XTQ8nDwdLkCL/9v1z WYexwbvnp99gniEQVuv0PR4qHBdJ+o4ErcZIs= 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=DNpIJBz2KGtG+lwsglq7c9aHY9dZZb83R83ottokbxA=; b=FmUVUNvKV6Ef81bBUx3G8GJoO1RlKkhAVA5OPFsGq2iSN27+R3NAY+wp3S9A4v2zGA 38zXzqcrGd3wiIZBjOj7pG+iT4uK+0ZBJuqHhNg7JAeEWH2HsVdZO49z5lywIRuPURel uOUgjj0oQZl0ETtdfErUsLtgw4CV0XTCIhbHhdmFP74nghAP7G6X89gy4a5CvMWPW/g9 pbZAbvu/k0mrWIXgCL5v53oE9D/QR/VUbes9140ONm1714CPWKUoPfb1Cpf3EiZQljig 4MRGBT7TmdjEz+WAXU9pYWhVukpjiDAe0+VSD72mD41WZ3OZpu4FCeTQSkhdD+wJVpSP 99Hg== X-Gm-Message-State: AOAM5320sd9BuW5emz6EMWaOOeQZ5c3KJRlDKvjDTINKogDA9d1/JHsQ w1Ojun6dFeOvHXU7sXO4a0R9rg== X-Google-Smtp-Source: ABdhPJxTEkNGZzCiMUzMoSHFsARQU9db5VWFyGj0N4YhoDGivY8b2UfohZ1qIdIyMrUV+4R1q+a6WA== X-Received: by 2002:a62:1b01:: with SMTP id b1mr12057949pfb.14.1591967210456; Fri, 12 Jun 2020 06:06:50 -0700 (PDT) Received: from shiro.work (p1285116-ipngn200805sizuokaden.shizuoka.ocn.ne.jp. [114.171.61.116]) by smtp.googlemail.com with ESMTPSA id k12sm5481939pgm.11.2020.06.12.06.06.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jun 2020 06:06:49 -0700 (PDT) From: Daniel Palmer To: linux-kernel@vger.kernel.org Cc: daniel@0x0f.com, afaerber@suse.de, devicetree@vger.kernel.org, Daniel Palmer , Rob Herring , Russell King , Sam Ravnborg , Linus Walleij , Heiko Stuebner , Stephan Gerhold , Lubomir Rintel , Mark Brown , allen , Mauro Carvalho Chehab , "David S. Miller" , Jonathan Corbet , Greg Kroah-Hartman , Arnd Bergmann , Mike Rapoport , Doug Anderson , Benjamin Gaignard , Gregory Fong , Bartosz Golaszewski , Masahiro Yamada , Nick Desaulniers , Will Deacon , Christian Lamparter , Joel Stanley , Nathan Chancellor , Nathan Huckleberry , Ard Biesheuvel , Marc Zyngier , linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 09/12] ARM: mstar: Add infinity/infinity3 family dtsis Date: Fri, 12 Jun 2020 22:00:09 +0900 Message-Id: <20200612130032.3905240-10-daniel@0x0f.com> X-Mailer: git-send-email 2.27.0.rc0 In-Reply-To: <20200612130032.3905240-1-daniel@0x0f.com> References: <20200610090421.3428945-1-daniel@0x0f.com> <20200612130032.3905240-1-daniel@0x0f.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This adds two family level dtsis for the infinity and infinity3 and then adds a chip level dtsi each for a chip in those families. infinity3.dtsi includes infinity.dtsi as these SoCs share most of their memory map and we would have a lot of duplication otherwise. Signed-off-by: Daniel Palmer --- MAINTAINERS | 1 + arch/arm/boot/dts/infinity-msc313.dtsi | 14 ++++++++++++++ arch/arm/boot/dts/infinity.dtsi | 7 +++++++ arch/arm/boot/dts/infinity3-msc313e.dtsi | 14 ++++++++++++++ arch/arm/boot/dts/infinity3.dtsi | 7 +++++++ 5 files changed, 43 insertions(+) create mode 100644 arch/arm/boot/dts/infinity-msc313.dtsi create mode 100644 arch/arm/boot/dts/infinity.dtsi create mode 100644 arch/arm/boot/dts/infinity3-msc313e.dtsi create mode 100644 arch/arm/boot/dts/infinity3.dtsi diff --git a/MAINTAINERS b/MAINTAINERS index 00de66458e53..7673acf55172 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2116,6 +2116,7 @@ L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) S: Maintained W: http://linux-chenxing.org/ F: Documentation/devicetree/bindings/arm/mstar.yaml +F: arch/arm/boot/dts/infinity*.dtsi F: arch/arm/boot/dts/mstar-v7.dtsi F: arch/arm/mach-mstar/ diff --git a/arch/arm/boot/dts/infinity-msc313.dtsi b/arch/arm/boot/dts/infinity-msc313.dtsi new file mode 100644 index 000000000000..42f2b5552c77 --- /dev/null +++ b/arch/arm/boot/dts/infinity-msc313.dtsi @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (c) 2020 thingy.jp. + * Author: Daniel Palmer + */ + +#include "infinity.dtsi" + +/ { + memory@20000000 { + device_type = "memory"; + reg = <0x20000000 0x4000000>; + }; +}; diff --git a/arch/arm/boot/dts/infinity.dtsi b/arch/arm/boot/dts/infinity.dtsi new file mode 100644 index 000000000000..f68e6d59c328 --- /dev/null +++ b/arch/arm/boot/dts/infinity.dtsi @@ -0,0 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (c) 2020 thingy.jp. + * Author: Daniel Palmer + */ + +#include "mstar-v7.dtsi" diff --git a/arch/arm/boot/dts/infinity3-msc313e.dtsi b/arch/arm/boot/dts/infinity3-msc313e.dtsi new file mode 100644 index 000000000000..4e7239afd823 --- /dev/null +++ b/arch/arm/boot/dts/infinity3-msc313e.dtsi @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (c) 2020 thingy.jp. + * Author: Daniel Palmer + */ + +#include "infinity3.dtsi" + +/ { + memory@20000000 { + device_type = "memory"; + reg = <0x20000000 0x4000000>; + }; +}; diff --git a/arch/arm/boot/dts/infinity3.dtsi b/arch/arm/boot/dts/infinity3.dtsi new file mode 100644 index 000000000000..2830d064c07d --- /dev/null +++ b/arch/arm/boot/dts/infinity3.dtsi @@ -0,0 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (c) 2020 thingy.jp. + * Author: Daniel Palmer + */ + +#include "infinity.dtsi" From patchwork Fri Jun 12 13:00:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Palmer X-Patchwork-Id: 199176 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8A081C433E0 for ; Fri, 12 Jun 2020 13:07:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6962320792 for ; Fri, 12 Jun 2020 13:07:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=0x0f.com header.i=@0x0f.com header.b="NuI67t30" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726112AbgFLNHq (ORCPT ); Fri, 12 Jun 2020 09:07:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726108AbgFLNHp (ORCPT ); Fri, 12 Jun 2020 09:07:45 -0400 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7237DC03E96F for ; Fri, 12 Jun 2020 06:07:44 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id e9so4098209pgo.9 for ; Fri, 12 Jun 2020 06:07:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jxsELow/CoU16NBO8fCV4XFh+Vs58ACm8fFgodBIGbU=; b=NuI67t30a905WyYSCiYxuh1Ijiy1/Wa8B9xKb7AeSHFnLHPFAIM5Sfi0YIomasGcew vVxJOto3eAaqYzWsjqsn7w8L+iymOA09GwfQopEKadpZaPvLxDTOSYJT3oV7wXg0kOiL Vtd2INi2ObnQNjqAPVoxyFZ4bIGuxdHbbZ3S0= 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jxsELow/CoU16NBO8fCV4XFh+Vs58ACm8fFgodBIGbU=; b=fGdo8W24O8FDC/vrGHxey9nsn8QqVrZKdG1MBPRlAYn1wiD3oRLOS5x8W98kIAAt+H m4qbySUXpvtxaXx/t4xan60KNBkIV2dK2JFPl7AZ2YZxNKv/JElX15TSLU2vDrSuDUjA AsUVzVp+l6e/kRh0PUaduhqRBzxqSsE5bZuvCPSGxmgghLjc/RApcjLp/NqyzQLcuvuU GBQDRn2FoX5oMp7UFZhSOJi4Umpvf8gcV7F6DhHxqTB9LEQx3NstAcY27hp0hLWuvLud mbW+JFCH/ae+22tY5dlL6DxJb5rVah4MYaErKIUa3F6brD5NPolvaVmfmYwrovCoZSGA hBuA== X-Gm-Message-State: AOAM530nj8d+CPbNNYyq+HR93J4Kk5MPJwO6z1QeHxTOYJ/kC4atovCo uWeJ8oBazO9vHLNL8s4hKQdgXA== X-Google-Smtp-Source: ABdhPJz2Y/2ZRGcxpgC59S7WYCQmMiJa7Peh3f0jjhater+MI9bFf679XvSAX4tfw/CcBWsGldRl5w== X-Received: by 2002:a62:e503:: with SMTP id n3mr11081283pff.197.1591967263956; Fri, 12 Jun 2020 06:07:43 -0700 (PDT) Received: from shiro.work (p1285116-ipngn200805sizuokaden.shizuoka.ocn.ne.jp. [114.171.61.116]) by smtp.googlemail.com with ESMTPSA id k12sm5481939pgm.11.2020.06.12.06.07.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jun 2020 06:07:43 -0700 (PDT) From: Daniel Palmer To: linux-kernel@vger.kernel.org Cc: daniel@0x0f.com, afaerber@suse.de, devicetree@vger.kernel.org, Daniel Palmer , Rob Herring , Russell King , Sam Ravnborg , Linus Walleij , Heiko Stuebner , Stephan Gerhold , Lubomir Rintel , Mark Brown , allen , Mauro Carvalho Chehab , "David S. Miller" , Jonathan Corbet , Greg Kroah-Hartman , Arnd Bergmann , Andrew Morton , Mike Rapoport , Doug Anderson , Benjamin Gaignard , Gregory Fong , Bartosz Golaszewski , Masahiro Yamada , Nick Desaulniers , Nathan Chancellor , Marc Zyngier , Nathan Huckleberry , Ard Biesheuvel , linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 11/12] ARM: mstar: Add dts for msc313(e) based BreadBee boards Date: Fri, 12 Jun 2020 22:00:11 +0900 Message-Id: <20200612130032.3905240-12-daniel@0x0f.com> X-Mailer: git-send-email 2.27.0.rc0 In-Reply-To: <20200612130032.3905240-1-daniel@0x0f.com> References: <20200610090421.3428945-1-daniel@0x0f.com> <20200612130032.3905240-1-daniel@0x0f.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org BreadBee is an opensource development board based on the MStar msc313(e) SoC. Hardware details, schematics and so on can be found at: https://github.com/breadbee/breadbee Signed-off-by: Daniel Palmer --- arch/arm/boot/dts/Makefile | 3 +++ .../dts/infinity-msc313-breadbee_crust.dts | 25 +++++++++++++++++++ .../boot/dts/infinity3-msc313e-breadbee.dts | 25 +++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 arch/arm/boot/dts/infinity-msc313-breadbee_crust.dts create mode 100644 arch/arm/boot/dts/infinity3-msc313e-breadbee.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index e6a1cac0bfc7..4a5f8075a4f6 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1342,6 +1342,9 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \ mt8127-moose.dtb \ mt8135-evbp1.dtb dtb-$(CONFIG_ARCH_MILBEAUT) += milbeaut-m10v-evb.dtb +dtb-$(CONFIG_ARCH_MSTARV7) += \ + infinity-msc313-breadbee_crust.dtb \ + infinity3-msc313e-breadbee.dtb dtb-$(CONFIG_ARCH_ZX) += zx296702-ad1.dtb dtb-$(CONFIG_ARCH_ASPEED) += \ aspeed-ast2500-evb.dtb \ diff --git a/arch/arm/boot/dts/infinity-msc313-breadbee_crust.dts b/arch/arm/boot/dts/infinity-msc313-breadbee_crust.dts new file mode 100644 index 000000000000..f24c5580d3e4 --- /dev/null +++ b/arch/arm/boot/dts/infinity-msc313-breadbee_crust.dts @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2019 thingy.jp. + * Author: Daniel Palmer + */ + +/dts-v1/; +#include "infinity-msc313.dtsi" + +/ { + model = "BreadBee Crust"; + compatible = "thingyjp,breadbee-crust", "mstar,infinity"; + + aliases { + serial0 = &pm_uart; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&pm_uart { + status = "okay"; +}; diff --git a/arch/arm/boot/dts/infinity3-msc313e-breadbee.dts b/arch/arm/boot/dts/infinity3-msc313e-breadbee.dts new file mode 100644 index 000000000000..1f93401c8530 --- /dev/null +++ b/arch/arm/boot/dts/infinity3-msc313e-breadbee.dts @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2019 thingy.jp. + * Author: Daniel Palmer + */ + +/dts-v1/; +#include "infinity3-msc313e.dtsi" + +/ { + model = "BreadBee"; + compatible = "thingyjp,breadbee", "mstar,infinity3"; + + aliases { + serial0 = &pm_uart; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&pm_uart { + status = "okay"; +};