Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1911268rwb; Wed, 5 Oct 2022 06:38:09 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4C2zztI2tyAEwGaX4l8cqX2vXW4+JprtfhFDg12F5jRakZLlXQh8ZB6lYWZGhtBhI0wRAC X-Received: by 2002:a05:6402:42d0:b0:457:d16e:283d with SMTP id i16-20020a05640242d000b00457d16e283dmr28421781edc.395.1664977089355; Wed, 05 Oct 2022 06:38:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664977089; cv=none; d=google.com; s=arc-20160816; b=QDBxzdRVKLinBnqCjnJjPaOL7xG39hd6cNgYMtRIyTNI+RS1wDYD6+aXPBipT99L39 Nb0BMBWslSlWKePwAMz7zPTfxpTnIQ7lNQTQZth96rAL3FsrEZGK943aGMTEHhMuXKBH bkDkEoMbGO0j4ITjtfQ+2sX2HYcqDosWkrbsFKlJga0XbCojkRTPJA2AmfCgcngbCL87 Md7FjGKqIcK0WSyiVaz2XPo5y2wGSVR53UFyGy/vjdMmmOPOQ1gkJC3immpm9oKC7D2a VmQKU5YCs+LIrx3EZIm3jaPjwL8VqGCEbTFzLvMayGaTEvWk8XcJJfp8NeW+UkMg4vc+ F0kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=6LkuqTP0xa6XajPgZoG/IjY8IZRdyk1AbTrKKTZip3M=; b=JFiqKqZFPuEJmrJXKTKy9YROwgoeMipKLHEn/b98mk+8diinSEDbA5YrO5Tgyo2uwx OL7tLiFeZmx881F6nyWSgd4gYZnIlVJ1OSOn2ndrKacS62+q5V65LN+uAL7dRe/mB5ty YOX4IBOef1dUNXPWVznIK/4H9i4od4ko/Tu6tVNXdg+QxMP3mFTgf9Jjvqku77KjX5Nh AgJ/0lxFbFe/Kol6z5ahN9EBi7g5/MRyv2Ac5hCdMcpZVB4EL1BuQFhoYWEs5O7nKBvg 4rv18SsakEHwsmz8TX8wQEq+9BxfbRl8LMsJJqwrq6a2zM2z7qLvPXGXJOP80fwRCOA8 k2cA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=occGOyRn; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a13-20020a170906684d00b0078d2d7c0904si1391374ejs.903.2022.10.05.06.37.42; Wed, 05 Oct 2022 06:38:09 -0700 (PDT) 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=@canonical.com header.s=20210705 header.b=occGOyRn; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229976AbiJENcX (ORCPT + 99 others); Wed, 5 Oct 2022 09:32:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229979AbiJENcV (ORCPT ); Wed, 5 Oct 2022 09:32:21 -0400 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54E2879EFA for ; Wed, 5 Oct 2022 06:32:20 -0700 (PDT) Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id BE4843F138 for ; Wed, 5 Oct 2022 13:32:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1664976738; bh=6LkuqTP0xa6XajPgZoG/IjY8IZRdyk1AbTrKKTZip3M=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=occGOyRn3hyBeTNlbf+F3KveT9D/456dhK8qTFtBNyFHwtpBtYW44mcTbndHkaET5 FfuBAlDY8BVJEZNpme2Y3GTCN+oqPryYN6U6duPhp/ITk394vGRbnfDwntKHWm+R2r t9yiQjR1sQKxRE/PxfxPJJcajl54Lj9XTZMZ0HvNPM3IpKUyuNioDv1bVU8fQ1LJsk UdRgucE6ml4CoC+tbMOCrarO96qE76fsBFQAVDn5IOurTtq3AIaQ43AoE3DoodrrRt 0NJDC/UhD6unyjoeUhj6Ka/NhWkQVjPmI2pk4zHmpjn4yOU586Oh4Sci8vZ3eMudp7 8RwrjqkclBDzA== Received: by mail-qv1-f70.google.com with SMTP id c1-20020a0cfb01000000b00495ad218c74so10543791qvp.20 for ; Wed, 05 Oct 2022 06:32:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=6LkuqTP0xa6XajPgZoG/IjY8IZRdyk1AbTrKKTZip3M=; b=xeNR9Yf2qsxib5MES9yoKYaOTnXMFi/JlYfIo+XQ7lhh9Z1H4y5RBAmKnbppVUXhux /NA2/lhrQP8gLVvKnjt99VZh1JmW7ei0llkX7g62rLWyIhQ7kx6D9Zuo82ebgpiHZR8w BqsjBvp/9okzaKnu3prtNtKpY+IAkHu1K9czbWaMFP0ij4yFg2JIblVUyZMZI2Bl2LGM f4mpn6OQx2n+tKj6NGCEqDvtF9FdIeLWUtaJbXp1wzgQv1Tkmn19apZ2k7IVqLxrolN8 iAGnt4lDaabVhtjRKn8qWxCubHkp6/birCj1JrdYdwT8i860iRWCSrDHsn/jTy5F/4Gm JviQ== X-Gm-Message-State: ACrzQf0Jnj0D3O4KJpefJ+7slqr5CPGBWaPUBnhscKi1rRAamZ3N4ipK GP6p48+EZ5LmsdYd74zGMO1msT9WIrc3UKM+A67kV6MNGE0UJXFieQsgKb1ibbAf8XSRIKDyjqo uWuyd69U5vMlIckqXoTEqk8sd9MH6vrIJ/hjtA/JRTcisjIwQeie0XohU8A== X-Received: by 2002:a05:620a:488a:b0:6ce:5caa:37d1 with SMTP id ea10-20020a05620a488a00b006ce5caa37d1mr19656620qkb.37.1664976735803; Wed, 05 Oct 2022 06:32:15 -0700 (PDT) X-Received: by 2002:a05:620a:488a:b0:6ce:5caa:37d1 with SMTP id ea10-20020a05620a488a00b006ce5caa37d1mr19656602qkb.37.1664976735563; Wed, 05 Oct 2022 06:32:15 -0700 (PDT) MIME-Version: 1.0 References: <20220929143225.17907-1-hal.feng@linux.starfivetech.com> <20220930074341.6386-1-hal.feng@linux.starfivetech.com> In-Reply-To: From: Emil Renner Berthing Date: Wed, 5 Oct 2022 15:31:59 +0200 Message-ID: Subject: Re: [PATCH v1 26/30] pinctrl: starfive: Add StarFive JH7110 driver To: Linus Walleij Cc: Hal Feng , Emil Renner Berthing , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Daniel Lezcano , Thomas Gleixner , Marc Zyngier , Philipp Zabel , Stephen Boyd , Michael Turquette , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Tue, 4 Oct 2022 at 10:57, Linus Walleij wrote: > > On Fri, Sep 30, 2022 at 9:45 AM Hal Feng > wrote: > > > From: Jianlong Huang > > > > Add pinctrl driver for StarFive JH7110 SoC. > > > > Signed-off-by: Jianlong Huang > > Signed-off-by: Hal Feng > > Since Emil submitted the first driver I would really appreciate his review > on this version. I tried really hard to come up with a good way to share code between the JH7100 and JH7110 drivers, but so many details different on the JH7110 that it's probably best to just have a separate driver, so that part is fine. As mentioned elsewhere this driver certainly shouldn't be accepted without following the generic pinctrl and pinmux bindings. You can see the driver I wrote here: https://github.com/esmil/linux/commit/c2633315385fef1a25aa3711facef07d915820e1 It is certainly not perfect and far from complete, but at least it does follow the generic bindings. Feel free to copy all or parts of that. /Emil > > Yours, > Linus Walleij > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv