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=-5.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 1F678C433E0 for ; Fri, 12 Feb 2021 08:32:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D551B64DEA for ; Fri, 12 Feb 2021 08:32:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229782AbhBLIcl (ORCPT ); Fri, 12 Feb 2021 03:32:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229521AbhBLIcf (ORCPT ); Fri, 12 Feb 2021 03:32:35 -0500 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 541DCC061756 for ; Fri, 12 Feb 2021 00:31:54 -0800 (PST) Received: by mail-wr1-x432.google.com with SMTP id g6so6888494wrs.11 for ; Fri, 12 Feb 2021 00:31:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bFLMZJzO2X7AmTjGDgiekh+q0A7ao7IABpMZ8vcxjN8=; b=VD/cMWDz1r7yuuCWpoD2JYGRcBEvhXg0FtVgb09VK0kA4Mhz5aEeK0ca0o8HHw9ZJ/ mmxZrhsCQIEIGkfkw60OvRm4UotEbksbGpNMGYRE70ppb3w/EQLUuIh6lMhB9fAVf4Q4 N06puEYH9rh17nO3jz4CBY5+zYYgoI65jXJ2c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bFLMZJzO2X7AmTjGDgiekh+q0A7ao7IABpMZ8vcxjN8=; b=QvpsfFdn1OqUvvcoQhS3fVTrE6wYCNdgB4hZsmot5Cw5gxfE2ITKBV8nsY6mEAyAL7 oEFP+TV9mT7sVF6VtEqSNe93qGdBSTeqgy17CrTcyN9kZMXrsEcx02rD1qGO/UiBaIlz wy9PhDCI0lX8FZ/upnyfkxnTrDoMI0ls8IaAQV6ixf2L02fs0JRV1PtH4CL1xP2fmRtq uDmRcj7IesnGgbtUAIKgCAHjedPdmP5IbF7rtTJgoYoDF+UIPU7fmgfNdqGLxVONE4OD ubpnEfUCCyDXI24tOD5zv6JEYfn0csLMor4aePDvBFgOq+gxBpavybrdgyatYV3JBKtq fdkg== X-Gm-Message-State: AOAM531obpV9mc2VYFzBNMNnV1w9iBXNQBmSo79AZlNpV1myUeh6L1TK UCVQfCdT9CF40xRf6TWIqGLne4pGf7RuwvWZgNJMrQ== X-Google-Smtp-Source: ABdhPJzSr6aLE29aM/ZlEZX/JDiDaDUgstNWlulXfXxAzZw6jEjWor+NQrBUqiPD9cTuvoM6S1L1nIDVoGjO/IA7c/0= X-Received: by 2002:a05:6000:1043:: with SMTP id c3mr2189193wrx.140.1613118712788; Fri, 12 Feb 2021 00:31:52 -0800 (PST) MIME-Version: 1.0 References: <20210130082128.3778939-1-michael@amarulasolutions.com> In-Reply-To: From: Michael Nazzareno Trimarchi Date: Fri, 12 Feb 2021 09:31:40 +0100 Message-ID: Subject: Re: [PATCH] pinctrl: Support pin that does not support configuration option To: Linus Walleij Cc: Fabio Estevam , Dong Aisheng , "open list:GPIO SUBSYSTEM" , linux-kernel , Sascha Hauer , Angelo Compagnucci Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi On Fri, Feb 12, 2021 at 9:26 AM Linus Walleij wrote: > > On Mon, Feb 1, 2021 at 12:54 PM Michael Nazzareno Trimarchi > wrote: > > On Mon, Feb 1, 2021 at 12:47 PM Fabio Estevam wrote: > > > > > > Hi Michael, > > > > > > On Sat, Jan 30, 2021 at 5:21 AM Michael Trimarchi > > > wrote: > > > > > > > > Some of the iMX25 pins have not an associated configuration register so > > > > when they are configured the standard way through the device tree the > > > > kernel complains with: > > > > > > > > imx25-pinctrl 43fac000.iomuxc: Pin(MX25_PAD_EXT_ARMCLK) does not support > > > > config function > > > > > > Could you please share your device tree that causes this warning? > > > > > > Shouldn't you pass 0x80000000 in the devicetree for this pad then? > > > > > > 0x80000000 means that the kernel should not touch the PAD_CTL register > > > and use the default configuration from the bootloader/POR. > > > > arch/arm/boot/dts/imx25-lisa.dts: > > MX25_PAD_EXT_ARMCLK__GPIO_3_15 0x80000000 > > > > The problem that exists pad that can be muxed but not configured > > Did you reach any conclusion on this? > > I need Fabio's consent to apply the patch, but it seems maybe the > DTS should be changed instead? > Let me re-check with the latest linux code. I did not find any change there. It's on my side now Michael > Yours, > Linus Walleij -- Michael Nazzareno Trimarchi Amarula Solutions BV COO Co-Founder Cruquiuskade 47 Amsterdam 1018 AM NL T. +31(0)851119172 M. +39(0)3479132170 [`as] https://www.amarulasolutions.com