Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2454756rwb; Fri, 2 Dec 2022 10:00:00 -0800 (PST) X-Google-Smtp-Source: AA0mqf7HO8JrVyZ8q91ec1QP71jw38356SGcJwovFmoKWL49m5IjI2igCWlH2CR2s/5KJrKdbDaJ X-Received: by 2002:a17:90a:9f81:b0:218:a4b6:747f with SMTP id o1-20020a17090a9f8100b00218a4b6747fmr64843945pjp.192.1670004000373; Fri, 02 Dec 2022 10:00:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670004000; cv=none; d=google.com; s=arc-20160816; b=twz57ZVpQ1nR/twcxe7QF0BKEEMvAdpU0p3JJYoE/7I5c0m9GimO3/8sHCajzb0lNn hm+ssZQA+n/NP0LcCftFojig9Deuic7ctPKcMJDKM42rTkWESBj1rmO+FaVKmx17wyiX Ah11lDMG1V0Fq8V3Ytx1XwlE+lKHK/egDIMOq+fJVNdVkaZZ36n0LN8XEoBaXtteXVwt pz2RpDSEf3mWmKiypfa/wH6Mx2o3JxBXXuT1bVDm4sSqZlqh0mBjMfd+JxHuFcC30YoU cUN3zkpuL8AGI5mKGHiRIPGdHKNOsiujnpBYPkM4XM5T1t/5DYIzlTVivD/Zr8w0rUGL hxPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=p1XzRn925Fp44O0w9G4cuwC3UNLrpIUG0nEwGRZQ/YU=; b=zWfJFtDzqH69x5qhYNYN5GQJ50yWgGm+2awCFO/MM0ydIVmQySwrvQZ1Z/lTNwgSTH oQdMe7NlnpLPwFeEgylWH0iy1/9dclwzPrR+E/GFlNSFgRBaQfh39ALOrJQ1pBcVP7Rx X6g0pMPCiy7DYOr7XsuLhp+sDysRALMxCg++xfmT1nST8BcUgav/Hh4rYXU2nit9oTD1 FPFNbfuUB/05VmEyapx0Jk5OIPxpb2eRniy+sNfhp7VjvAXAdsG6EepuWu2oCdN0fyXM c2YIDYVdRe2F9H6UKZ6sKohQxGmcZ6Pk1uo/1GJzKlJ8XpJbLVE/aRVbTuLhh/9M8g+4 UnfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20210112.gappssmtp.com header.s=20210112 header.b="ERYRng/+"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y27-20020a056a00181b00b00575c8e2a2bdsi8698780pfa.2.2022.12.02.09.59.49; Fri, 02 Dec 2022 10:00:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@dabbelt-com.20210112.gappssmtp.com header.s=20210112 header.b="ERYRng/+"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234106AbiLBRyv (ORCPT + 83 others); Fri, 2 Dec 2022 12:54:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233609AbiLBRyt (ORCPT ); Fri, 2 Dec 2022 12:54:49 -0500 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFD4EC35AE for ; Fri, 2 Dec 2022 09:54:48 -0800 (PST) Received: by mail-pl1-x633.google.com with SMTP id k7so5289612pll.6 for ; Fri, 02 Dec 2022 09:54:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:from:to:cc:subject:date:message-id :reply-to; bh=p1XzRn925Fp44O0w9G4cuwC3UNLrpIUG0nEwGRZQ/YU=; b=ERYRng/+2McDbTloeXnaVcbmZ19evhdUD98unc3RFkNiKkugoSGQlyyxPeMsjND8ub HeSzwVpd082dYV2tWVPad7nLVJrWTpkJw+g+McKgDwhlq78ELe3ui38zomaQNEDcWKv4 qOTVAdq9+zlgKtcPcSMzJwLMLquS0wSSdMIgTjaI53pwm4n0LJ5zv4DhvQ8wYz0K0fDJ FuHKr6n6Pq0WuqSfPFxMuJSkj+zYEYiGAQy1tQNsOcxvib/qcjMMNoUDFJ/oKSDIaWdQ HMRfIzWSRnOLJvV1f4Iug0xOWkHS5yVc2HLbdvwHQVzsF2JYX8DGEgYZXWKQvj4zGhy/ xlfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=p1XzRn925Fp44O0w9G4cuwC3UNLrpIUG0nEwGRZQ/YU=; b=Ti4DjEj3xnQm0hDHTMupVyKwbIHTolfLRZ8c7ALU/Zi4P0c5tvBGdKUothx2mPVWYZ ze/uYSAHW/7KbG53QP0xVfYT1xCh8m2GTVprUaBYjyJ8+NzpUpRLbdBTN0DX0SYkSx2K FcansvU8j7eZfPQYJYCA6h6/VPDrWmRbXuPc5+fXV7QxuFcDgVqCwmWNtb36uNl8WelG QsrWAR7fkdmjdUjK9M2oNmrXxaY5ZFswBrRvOnO+jawWoDnYV4JKtM0eMDd6oApZ/FiU jgopEDBY/madUh/jW4ZCDN4b0QnG/Tss0E2bKWQX1Op560UXqAuT1pipqpUy6L/Zfvam dJ3g== X-Gm-Message-State: ANoB5pnhr8z8upgWgo/b1JHE/BCJhHdjE6rY/C1vNl9Y1lY/n5r0LGX2 9JPUDH/Y+rz6zi/iGOa01OiBfQ== X-Received: by 2002:a17:90a:3d41:b0:213:d34:a80b with SMTP id o1-20020a17090a3d4100b002130d34a80bmr77669655pjf.74.1670003688186; Fri, 02 Dec 2022 09:54:48 -0800 (PST) Received: from localhost ([50.221.140.188]) by smtp.gmail.com with ESMTPSA id i8-20020a170902c94800b00172fad607b3sm5864137pla.207.2022.12.02.09.54.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Dec 2022 09:54:47 -0800 (PST) Date: Fri, 02 Dec 2022 09:54:47 -0800 (PST) X-Google-Original-Date: Fri, 02 Dec 2022 09:54:38 PST (-0800) Subject: Re: [PATCH v2 0/9] riscv: add Bouffalolab bl808 support In-Reply-To: <20221127132448.4034-1-jszhang@kernel.org> CC: robh+dt@kernel.org, Conor Dooley , krzysztof.kozlowski+dt@linaro.org, Paul Walmsley , aou@eecs.berkeley.edu, Greg KH , jirislaby@kernel.org, ilpo.jarvinen@linux.intel.com, linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org From: Palmer Dabbelt To: jszhang@kernel.org Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 27 Nov 2022 05:24:39 PST (-0800), jszhang@kernel.org wrote: > This series adds Bouffalolab uart driver and basic devicetrees for > Bouffalolab bl808 SoC and Sipeed M1s dock board. > > It's too late for v6.2-rc1, but I hope I can catch up the v6.3-rc1 > window. > > I think I have addressed all review comments to v1, correct me if I > missed anything. > > PS: this series assumes the "thead,c906" riscv cpu binding patch is > merged(I see Conor has picked up it). > > Since v1: > - use FIELD_PREP and FIELD_GET macro > - rewrite bflb_uart_tx_chars() > - add vendor prefix for bouffalolab > - add dt binding for bl808 compatibles > - enable SOC_BOUFFALOLAB in defconfig > - collect Reviewed-by tag > - modify commit-msg as suggested > > Jisheng Zhang (9): > dt-bindings: serial: add documentation for Bouffalolab UART Driver > serial: bflb_uart: add Bouffalolab UART Driver > riscv: add the Bouffalolab SoC family Kconfig option > dt-bindings: vendor-prefixes: add bouffalolab > dt-bindings: riscv: Add bouffalolab bl808 board compatibles > riscv: dts: bouffalolab: add the bl808 SoC base device tree > riscv: dts: bouffalolab: add Sipeed M1s SoM and Dock devicetree > MAINTAINERS: riscv: add entry for Bouffalolab SoC > riscv: defconfig: enable BOUFFALOLAB SoC > > .../bindings/riscv/bouffalolab.yaml | 34 + > .../bindings/serial/bouffalolab,uart.yaml | 47 ++ > .../devicetree/bindings/vendor-prefixes.yaml | 2 + > MAINTAINERS | 9 + > arch/riscv/Kconfig.socs | 6 + > arch/riscv/boot/dts/Makefile | 1 + > arch/riscv/boot/dts/bouffalolab/Makefile | 2 + > .../dts/bouffalolab/bl808-sipeed-m1s-dock.dts | 25 + > .../dts/bouffalolab/bl808-sipeed-m1s.dtsi | 21 + > arch/riscv/boot/dts/bouffalolab/bl808.dtsi | 74 +++ > arch/riscv/configs/defconfig | 1 + > drivers/tty/serial/Kconfig | 18 + > drivers/tty/serial/Makefile | 1 + > drivers/tty/serial/bflb_uart.c | 610 ++++++++++++++++++ > include/uapi/linux/serial_core.h | 3 + > 15 files changed, 854 insertions(+) > create mode 100644 Documentation/devicetree/bindings/riscv/bouffalolab.yaml > create mode 100644 Documentation/devicetree/bindings/serial/bouffalolab,uart.yaml > create mode 100644 arch/riscv/boot/dts/bouffalolab/Makefile > create mode 100644 arch/riscv/boot/dts/bouffalolab/bl808-sipeed-m1s-dock.dts > create mode 100644 arch/riscv/boot/dts/bouffalolab/bl808-sipeed-m1s.dtsi > create mode 100644 arch/riscv/boot/dts/bouffalolab/bl808.dtsi > create mode 100644 drivers/tty/serial/bflb_uart.c Acked-by: Palmer Dabbelt