From mboxrd@z Thu Jan 1 00:00:00 1970 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=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 5A7D0C433E0 for ; Thu, 25 Mar 2021 06:22:10 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 02B4E61A1D for ; Thu, 25 Mar 2021 06:22:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 02B4E61A1D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=L4zoad+Hz4PGlyA2yP5JXwBlQpa2GDST4KnuRsIa/8A=; b=ThVBukK6h6uaZexxHLebXMIjiS cEz0CE9XtVdha1x3mBlfRIq3+DrkdBz3FsLAs6Ydg8070P2E3gH7BVswdZ90n0OxoAvVOSt6zM8BL Vj6xB9/q4L97xvoyTPAVjr7zeSNY3gV9wxkPc+df5+RfR+sVFTxrCU7gvRj0BJESVVxUpN1lxuVnv pEFOcHNtvJkJZ+46J3NozFcKksLwUohUk0gz1+A+xh9ra3XUj96Kt0q+gpn2QfBUmElTQPUSiRuF4 RMLwYtEyfnFgXdg2tiJ5hL19eQGD6GGMCNQW8nLV8OjbN6gS7bO+V2f8GQnSHLhaHSshMVa10A/r1 8tW0JFMw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lPJLP-000eEV-VE; Thu, 25 Mar 2021 06:19:48 +0000 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lPJL7-000eBt-Pl for linux-arm-kernel@lists.infradead.org; Thu, 25 Mar 2021 06:19:37 +0000 Received: by mail-pf1-x435.google.com with SMTP id h3so938506pfr.12 for ; Wed, 24 Mar 2021 23:19:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=/kmlPkyo71FWJnthOEG8OfBY+DU0oUwUoSQ3xvASTfk=; b=GIKHpj2X/w0aWtK/cCT3zMxFDuVHKqLEjZhSsTAJ30LMmNHSzry1QilCbSE924dopM Okq1CU7Za3XkrvqmJ2jVMPJxtGuN6P4uiNn5jq4jDTvQI2M6prGdh5A6g699pT00IsQA I+Wae1knfuoaiJDDZO9SXOiOUjEzaUvuuBjeK37Ffs2TkhMZn7O8RXANA5r3K/an3b5t PdU3DTmaTPwdfWceL/Q7FM7YpHtIr75+WZv0J2rAtpnwQxq1dxM06vnJ+JKvEcI25j2q 9dC3KuI/VHaN5u8GdrLrlNMSYVNIrmFeC2ECgUCCAU0QMVKFDW+PPiKmvDXjLMPIZHYn IRUA== 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; bh=/kmlPkyo71FWJnthOEG8OfBY+DU0oUwUoSQ3xvASTfk=; b=Rv9YgxOezL0Ed0NKlEF2vwBIdTXP6DkzosSbirUpwFo9NNwkKjyAVvZdC2yC6CPRb/ l2ycqS+wvOXT4CF2exlXElroXMlvtWoRdXQ7Qo1+YERFJUef+lGfljevyjzSYEevonN+ PvAHIzek8bovGp0K7+kzlVPjONbvETjR4bRR4ZPkZ367MuwAw8xDrJcuJgnOIOH1I6Il S+FVtRHTbH6JRhOkamtI5iv8JWi3ONXRExwI3KfcU3WOKVTrOk8TiB8WV2brDWRtdsct 37r3zgFv05r/DSHHnUVtYcZfLYwVDs2v2QXMTtsapUdsM1AuRaecM79x9Arv2l83fDvJ lisA== X-Gm-Message-State: AOAM532BuNIsRidgUnQEhuDsZohpB7B56lumSnY4NAAdQ/srFwwRJ6at +T3YkUPFS3jom42FdN6swAw= X-Google-Smtp-Source: ABdhPJwHicJzgcq3LsgBgQWVv44//t4VL9VjGkair/7dfJHxAt0qlCqbU4D7yY94haoQpDk3WoP8/Q== X-Received: by 2002:a17:902:7404:b029:e4:503b:f83d with SMTP id g4-20020a1709027404b02900e4503bf83dmr7751615pll.35.1616653168212; Wed, 24 Mar 2021 23:19:28 -0700 (PDT) Received: from fmin-OptiPlex-7060.nreal.work ([137.59.103.165]) by smtp.gmail.com with ESMTPSA id b19sm4393086pfo.7.2021.03.24.23.19.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Mar 2021 23:19:27 -0700 (PDT) From: dillon.minfei@gmail.com To: robh@kernel.org, valentin.caron@foss.st.com, Alexandre.torgue@foss.st.com, rong.a.chen@intel.com, a.fatoum@pengutronix.de, mcoquelin.stm32@gmail.com, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux@armlinux.org.uk, vladimir.murzin@arm.com, afzal.mohd.ma@gmail.com, gregkh@linuxfoundation.org, erwan.leray@foss.st.com, erwan.leray@st.com, linux-serial@vger.kernel.org, lkp@intel.com Cc: dillon min Subject: [PATCH v5 0/9] ARM: STM32: add art-pi(stm32h750xbh6) board support Date: Thu, 25 Mar 2021 14:19:15 +0800 Message-Id: <1616653162-19954-1-git-send-email-dillon.minfei@gmail.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210325_061934_931932_E103E67A X-CRM114-Status: GOOD ( 16.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: dillon min This patchset intend to add art-pi board support, this board developed by rt-thread(https://www.rt-thread.org/). Board resources: 8MiB QSPI flash 16MiB SPI flash 32MiB SDRAM AP6212 wifi,bt,fm comb sw context: - as stm32h750 just has 128k bytes internal flash, so running a fw on internal flash to download u-boot/kernel to qspi flash, boot u-boot/kernel from qspi flash. this fw is based on rt-thread. - kernel can be xip on qspi flash or load to sdram - root filesystem is jffs2(created by buildroot), stored on spi flash to support the boad, add following changes. - fix r0-r3, r12 register restore failed after svc call, - add dts binding - update yaml doc --- changes in v5: - accroding to rob's suggestion, replace false with 'type: object' of 'additionalProperties'. - add Tested-by: Valentin Caron changes in v4: - use unevaluatedProperties: false to fix dtbs_check warrnings instead of add 'bluetooth' in st,stm32-uart.yaml changes in v3: - fix dtbs_check warrning: (8002cbd78fd5 and 4bc21d3dd678) >> arch/arm/boot/dts/stm32h743i-eval.dt.yaml: soc: pin-controller: {'type': 'object'} is not allowed for {'#address-cells': [[1]], '#size-cells': [[1]], 'ranges': [[0, >> arch/arm/boot/dts/stm32h743i-eval.dt.yaml: soc: 'i2c@40005C00', 'i2c@58001C00' do not match any of the regexes: '@(0|[1-9a-f][0-9a-f]*)$', '^[^@]+$', 'pinctrl-[0-9]+' >> arch/arm/boot/dts/stm32h750i-art-pi.dt.yaml: serial@40004800: 'bluetooth' does not match any of the regexes: 'pinctrl-[0-9]+' changes in v2: - reorganize the pinctrl device tree about stm32h7-pinctrl/stm32h743/750-pinctrl stm32h7-pinctrl.dtsi --> stm32h743-pinctrl.dtsi --> stm32h743i-disco.dts | |-> stm32h743i-eval.dts |-> stm32h750-pinctrl.dtsi --> stm32h750i-art-pi.dts same to the stm32f7/f4's pinctrl style - fix author name/copyright mistake - add compatible string st,stm32h750-pinctrl to pinctl-stm32h743.c as they have same pin alternate functions, update Kconfig description - make item in stm32h750i-art-pi.dts sort by letter *** BLURB HERE *** dillon min (9): Documentation: arm: stm32: Add stm32h750 value line doc dt-bindings: arm: stm32: Add compatible strings for ART-PI board dt-bindings: pinctrl: stm32: Add stm32h750 pinctrl ARM: dts: stm32: introduce stm32h7-pinctrl.dtsi to support stm32h750 ARM: dts: stm32: add stm32h750-pinctrl.dtsi ARM: dts: stm32: add support for art-pi board based on stm32h750xbh6 ARM: stm32: Add a new SOC - STM32H750 pinctrl: stm32: Add STM32H750 MCU pinctrl support dt-bindings: serial: stm32: Use 'type: object' instead of false for 'additionalProperties' Documentation/arm/index.rst | 1 + Documentation/arm/stm32/stm32h750-overview.rst | 34 +++ .../devicetree/bindings/arm/stm32/stm32.yaml | 4 + .../bindings/pinctrl/st,stm32-pinctrl.yaml | 1 + .../devicetree/bindings/serial/st,stm32-uart.yaml | 3 +- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/stm32h7-pinctrl.dtsi | 274 ++++++++++++++++++ arch/arm/boot/dts/stm32h743-pinctrl.dtsi | 307 +-------------------- arch/arm/boot/dts/stm32h743.dtsi | 153 +++++++++- arch/arm/boot/dts/stm32h750-pinctrl.dtsi | 12 + arch/arm/boot/dts/stm32h750.dtsi | 6 + arch/arm/boot/dts/stm32h750i-art-pi.dts | 229 +++++++++++++++ arch/arm/mach-stm32/board-dt.c | 1 + drivers/pinctrl/stm32/Kconfig | 2 +- drivers/pinctrl/stm32/pinctrl-stm32h743.c | 3 + 15 files changed, 726 insertions(+), 305 deletions(-) create mode 100644 Documentation/arm/stm32/stm32h750-overview.rst create mode 100644 arch/arm/boot/dts/stm32h7-pinctrl.dtsi create mode 100644 arch/arm/boot/dts/stm32h750-pinctrl.dtsi create mode 100644 arch/arm/boot/dts/stm32h750.dtsi create mode 100644 arch/arm/boot/dts/stm32h750i-art-pi.dts -- 2.7.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel