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 5E978C61DB3 for ; Tue, 10 Jan 2023 08:10:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230161AbjAJIKw (ORCPT ); Tue, 10 Jan 2023 03:10:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230157AbjAJIKY (ORCPT ); Tue, 10 Jan 2023 03:10:24 -0500 Received: from mail-yw1-x112b.google.com (mail-yw1-x112b.google.com [IPv6:2607:f8b0:4864:20::112b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5BC1479DB for ; Tue, 10 Jan 2023 00:09:33 -0800 (PST) Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-4b718cab0e4so144649577b3.9 for ; Tue, 10 Jan 2023 00:09:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=tq8ocMuirduWJZqIgZEnM5IOavs3CaIqud02LDlW6K0=; b=LsppTRULCPtgrdu92sd2DvxhFH5CjO+Pb9oI3rJi2U2Vk6P2qo5FIWBFWN5Yd4Xm5B 45a0vFI5SiCxTbbZxHYHgir8L5ME4ifLyw6OrHbXTmIX+ynERp/tm2pUpqzQYCR03e0d Nntk4u5gmccPLWboOLyOYsB+PeDJuweGa+7crX2pZTC7v4er5ioTMgseeY8YPcbj4x/S eGSpXmk11beSs0XSNNsFvCrIAQEszyAwKEXUqFEFYYDds3kpjbsoGn7pUVel16QJdaSK AYNXVinvhWMslI/KcPS5XGnYtraE4dBTsZEV6sAhSoN9LuSC6z9sjm0gDzr6THVA02VC 1zRg== 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:message-id :reply-to; bh=tq8ocMuirduWJZqIgZEnM5IOavs3CaIqud02LDlW6K0=; b=gKpA+MuVNQDiHobI/6dTBJWJP2gZaeOcs5JKdyH54h/jKpP1l7PD1TkXqjNquSbjUN XI1gDrc2HZ0CGj1zARthOj5VM/VhcRBActGykU/vzT9qwHmDQADUhyfWmRvFE4W1JN2V DjO2RZjtCLi8PPgYNa3zmzH7cXQ7SPKgXCBGTr5qDSvMZwhteXpzay5nVP8SWH0Knjbi z2brVOU7KKnnukNyUBcr60tUwOkVtGZCyKKTZiGmgrHXISEtICiXASh9J4zD5PinvbU+ hWhG2TO7cDghM3IPoc+OI7SYlCQ6sRez7P8JecicgJko9KkJZWOuzUtk2o5LtjgUQfxC T0RQ== X-Gm-Message-State: AFqh2krQK66kcvSEQ0s8/T1kLjhIWm7ODRkcJagUBmUwb3WIdPHjxGbi KmlDSupDJnccYMCstF3wcBxDotr6nZ5bzM1PAUIWnw== X-Google-Smtp-Source: AMrXdXsR8JXSoiTv7T0NjBKpFyvsp3SR4ElGO0TYvtJbEI39ppUyftmvesxRs5Bx1pnG9jyO0CZTOvKZ19L6aQaKdYo= X-Received: by 2002:a0d:fd46:0:b0:463:e60:e538 with SMTP id n67-20020a0dfd46000000b004630e60e538mr224921ywf.130.1673338172985; Tue, 10 Jan 2023 00:09:32 -0800 (PST) MIME-Version: 1.0 References: <20221215213206.56666-1-biju.das.jz@bp.renesas.com> In-Reply-To: From: Linus Walleij Date: Tue, 10 Jan 2023 09:09:21 +0100 Message-ID: Subject: Re: [PATCH v5 0/9] Add RZ/G2L POEG support To: Geert Uytterhoeven Cc: Biju Das , Drew Fustini , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Thierry Reding , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , linux-renesas-soc@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, Chris Paterson , Biju Das , Prabhakar Mahadev Lad Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Mon, Jan 9, 2023 at 2:41 PM Geert Uytterhoeven wrote: > On Mon, Jan 9, 2023 at 2:16 PM Linus Walleij wrote: > > On Tue, Jan 3, 2023 at 10:01 AM Geert Uytterhoeven wrote: > > > > If this should go into sysfs we should probably create something > > > > generic, such as a list of stuff to be exported as sysfs switches. > > > > > > > > It generally also looks really dangerous, which is another reason > > > > for keeping it in debugfs. It's the big hammer to hurt yourself with, > > > > more or less. > > > > > > Yes, generic would be nice. Anyone familiar with other hardware > > > that could make use of this? > > > > Drew was using this for Beagle Bone IIRC, Drew? > > Yes, that's what I remember, too. And I tested it on Koelsch. > > But again, that's for debugging purposes. For non-debugging > operation, we need something different. Actually Drew's usecase wasn't for debugging. It was kind-of production, but it was for "one-offs" such as factory lines and other very specific-purpose embedded. The placement in debugfs was mostly because it is fragile and dangerous. Yours, Linus Walleij