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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CC5D8C6FD1C for ; Tue, 14 Mar 2023 08:42:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229757AbjCNImn (ORCPT ); Tue, 14 Mar 2023 04:42:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229789AbjCNIml (ORCPT ); Tue, 14 Mar 2023 04:42:41 -0400 Received: from mail-yw1-x1135.google.com (mail-yw1-x1135.google.com [IPv6:2607:f8b0:4864:20::1135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFDAA64846 for ; Tue, 14 Mar 2023 01:42:23 -0700 (PDT) Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-53916ab0c6bso290427817b3.7 for ; Tue, 14 Mar 2023 01:42:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678783343; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=RyfJlLPgjERQcTzZdEIvIGdNCCYbhGHEmYJcVkMFQx8=; b=sAKlkh+PD8fSIcuCtZF3dp6H2rffw4yT6e/1S6gniQdexILJ4kNwGDKmWE5Yb/Z7Rf J4nTSihP/wcKeEb6OlFGId6CldujUB2jfNkKJeQbZ6IiUWPQMMvrf9RiTBt+BYPnMoml WFEgS1t8TaPpiy5QmNNUqbegmtn22gfHHQsS+L1o1/r07vxUdHth+NZsPgfAZkx3bfX6 SPmw2tAfweH/Mjyc0qIY35493OZu49je1M6yqTLgmbIeu3UnB7McqZKb+J1xX1be+Rs9 SMo8GVkG//UPQL5EZSObC//ZwnqvROh9sHb1IqA8UabHg/d3I77dZAxJhP5h6npQE9Hg YA0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678783343; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RyfJlLPgjERQcTzZdEIvIGdNCCYbhGHEmYJcVkMFQx8=; b=ej1u0EhUVPUb7rfNr7tnmFH9E3zI7iktAmKWsizRKDXT2E7XRRpwnmgheTO+lGl8Ve vGsHsj9h/eb8CiRKem50DIhWQfsSqJgPf2azmHwD3SxeiDE4AFRR8PbDuy7Py6kU9cIm QaVcGiVNNrXPL2wkUg7D5PUegytvYQzrcro3Rmuk5BBIaNmId9jH2DLpbnkpY/sdFCu3 bsA/WMF8CJSGVDovWqIybL2mbKmp0cttkC8HNB5vHTkGGNh4CIomdWhrUGWL996otEP/ hhN96gUMIk7cBUuAh1ieWqtdGLsbBchvVKNkkO8gFOmmFZaTON9+Ls9TZtHYJ4nGuA1i nsaQ== X-Gm-Message-State: AO0yUKVFRvfZ2BPL5WR5lzrxuFbRrzMoKEmTXym2B8tF8aFp3dsAjghH bCh01siToqfoXwvGTiAvqfzp06ihJVrovkNoZ42Y2g== X-Google-Smtp-Source: AK7set+5W+F4WPOOqhDRx4CVAT8IMDCIBpyCU/Ol0rUg1nVe96Ns9ilnkVMyyby2mh6+/aPqtuVgkHjoUuUWlWwpiPc= X-Received: by 2002:a81:b605:0:b0:541:9895:4ce9 with SMTP id u5-20020a81b605000000b0054198954ce9mr4816352ywh.9.1678783342936; Tue, 14 Mar 2023 01:42:22 -0700 (PDT) MIME-Version: 1.0 References: <20230306090014.128732-1-biju.das.jz@bp.renesas.com> <20230306090014.128732-2-biju.das.jz@bp.renesas.com> In-Reply-To: From: Linus Walleij Date: Tue, 14 Mar 2023 09:42:11 +0100 Message-ID: Subject: Re: [PATCH v6 01/13] pinctrl: core: Add pinctrl_get_device() To: Biju Das Cc: Andy Shevchenko , "linux-gpio@vger.kernel.org" , Geert Uytterhoeven , Thierry Reding , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Prabhakar Mahadev Lad , "linux-renesas-soc@vger.kernel.org" , Rob Herring , Krzysztof Kozlowski Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On Tue, Mar 14, 2023 at 9:27 AM Biju Das wrote: > If we cannot do it in user space, then we need to make it as part of > Dt bindings and users will define the use case they need in DT. That sounds like a much better idea :) The kernel is for protecting hardware from users after all, and it seems you want to select one of these use cases and DT is excellent for system config like this. So I would say work ahead on this path. Yours, Linus Walleij