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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7E452C54EE9 for ; Sun, 25 Sep 2022 05:06:58 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4MZv4w3WXlz3chS for ; Sun, 25 Sep 2022 15:06:56 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=jv4KKGWk; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::102d; helo=mail-pj1-x102d.google.com; envelope-from=dmitry.torokhov@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=jv4KKGWk; dkim-atps=neutral Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) (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 lists.ozlabs.org (Postfix) with ESMTPS id 4MZv4C2Kg5z30Bp for ; Sun, 25 Sep 2022 15:06:17 +1000 (AEST) Received: by mail-pj1-x102d.google.com with SMTP id q9-20020a17090a178900b0020265d92ae3so9513384pja.5 for ; Sat, 24 Sep 2022 22:06:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date; bh=+hF2iRaC8IwIsQwNG2CBaYdzZGOTAXTx4/lHRlsiuzc=; b=jv4KKGWkKkIq512ndX4nKTtjG4XrjJbLxVL06117qJ+I0Xm9IvyOF33yFL2yCMkT5w Fxr73rJYZ0yGupKFvbOCuSWXRglw34svpFSj2ZR+NTD98r9R2nKyZ7OV/byUgNDMPuWA n12xWQ/oGyITJ7XxydUu7bqbaRuSJTcP1zo0ZtIYbEELTEu8an9bP9pk5l0ruU5P7m/j q+kH5idzaF/sDR8LlHZEaWwn2WXjs8ccZNKNxEQhq2+zYivfMcj3Hej1tX51/en6ACMc xgNG28EX/v7hw1mWSB2esMYmJU9Z0pbSh2/+3Bi91HKJblrgtCYqGKXXwQDHxy2d4+9t A6RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date; bh=+hF2iRaC8IwIsQwNG2CBaYdzZGOTAXTx4/lHRlsiuzc=; b=2cd381qWyORLfFdS7hokx4/9jEr1wPBrILD2gRdePnjV586Qft1vPQvNfmR1MHFejE B/Aic07Ya/9QHMgPvFhMamMUVCxyZxDKnFZoVyPPnlbVARKtvMK25Mo0JT2VS8dgBev1 drmzUCAryqyR7Bt4YevCCA2HPx45m3knu26sDMLigLepFPnXa+S0y4Imuw/enwE1tQMk GeSq+UQo+hjVo/almH4sQ5n5EiFGkXkeraTuqYFrVkbsioAegCKfu7pfZt8SvhOBtn0A 7hicoPLeOQKy45Mtk5QQ2OU7xGphNIz2i+kHuZgEmoyY9U1hONU1TKlK62Vr24uvNPN4 fEcA== X-Gm-Message-State: ACrzQf3Yo26SbHMQ6hlBWWJlg0QYK+QXn1p65lCHiXcJYXTyOaCqeBsT K1Qt4rcEQcBi7BmpbrSELlk= X-Google-Smtp-Source: AMsMyM66KSNWmGU9MaV1h6icVVQeJXcHFgyUNZUjSSQXwQRU5yNzpVeQLbsx3vXKtyM388kCZLUbsg== X-Received: by 2002:a17:903:2443:b0:178:221d:c599 with SMTP id l3-20020a170903244300b00178221dc599mr16471698pls.100.1664082370927; Sat, 24 Sep 2022 22:06:10 -0700 (PDT) Received: from google.com ([2620:15c:9d:2:37c:3916:9a45:14cc]) by smtp.gmail.com with ESMTPSA id 7-20020a621507000000b0053e80515df8sm9167942pfv.202.2022.09.24.22.06.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 22:06:10 -0700 (PDT) Date: Sat, 24 Sep 2022 22:06:07 -0700 From: Dmitry Torokhov To: Michael Ellerman , Nicholas Piggin Subject: Is PPC 44x PIKA Warp board still relevant? Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Hi Michael, Nick, I was wondering if PIKA Warp board still relevant. The reason for my question is that I am interested in dropping legacy gpio APIs, especially OF-specific ones, in favor of newer gpiod APIs, and arch/powerpc/platforms/44x/warp.c is one of few users of it. The code in question is supposed to turn off green led and flash red led in case of overheating, and is doing so by directly accessing GPIOs owned by led-gpio driver without requesting/allocating them. This is not really supported with gpiod API, and is not a good practice in general. Before I spend much time trying to implement a replacement without access to the hardware, I wonder if this board is in use at all, and if it is how important is the feature of flashing red led on critical temperature shutdown? Thanks. -- Dmitry 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 95570C54EE9 for ; Sun, 25 Sep 2022 05:08:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230245AbiIYFGP (ORCPT ); Sun, 25 Sep 2022 01:06:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229567AbiIYFGN (ORCPT ); Sun, 25 Sep 2022 01:06:13 -0400 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 940AE3D599 for ; Sat, 24 Sep 2022 22:06:11 -0700 (PDT) Received: by mail-pl1-x632.google.com with SMTP id w10so3527390pll.11 for ; Sat, 24 Sep 2022 22:06:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date; bh=+hF2iRaC8IwIsQwNG2CBaYdzZGOTAXTx4/lHRlsiuzc=; b=jv4KKGWkKkIq512ndX4nKTtjG4XrjJbLxVL06117qJ+I0Xm9IvyOF33yFL2yCMkT5w Fxr73rJYZ0yGupKFvbOCuSWXRglw34svpFSj2ZR+NTD98r9R2nKyZ7OV/byUgNDMPuWA n12xWQ/oGyITJ7XxydUu7bqbaRuSJTcP1zo0ZtIYbEELTEu8an9bP9pk5l0ruU5P7m/j q+kH5idzaF/sDR8LlHZEaWwn2WXjs8ccZNKNxEQhq2+zYivfMcj3Hej1tX51/en6ACMc xgNG28EX/v7hw1mWSB2esMYmJU9Z0pbSh2/+3Bi91HKJblrgtCYqGKXXwQDHxy2d4+9t A6RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date; bh=+hF2iRaC8IwIsQwNG2CBaYdzZGOTAXTx4/lHRlsiuzc=; b=MR+bD0f6VvDx2YR9cUTnJ2SNlIq0le4WmXCIojkVwifymnQ1Z6V+DG/tyD2HTaM1rn 6pZTe8qOGSNRuyJISWeS3O1qC7fzRlDR1atx+mCW8n415sVIQRskGCwTsWwI9mJDYXOU XDsYhSjxmrvbq16J/ndSto4FufkpMY0ULOFsFEJK3l3qV1olfZ8K+v+d4XtBjkcW0lUd ePb/FEXU19vjNlQ/v3p1Odc588RYUfduULJrxhWho/PY0Gm2H9YKdp7jRSSphnx37qGU 7R0Bizya2ULpYt3rutTvDEU7hVhWB9TYB03cTlD55JgcR9SGpHQtDmU/4jTLLvWB9bvd Obkg== X-Gm-Message-State: ACrzQf1to9vnrjKy5L8fHKs7+yXhlrEMo+cPxBtJutXa+OtWxtLTbrtK Xmz46CN2oEYucSkJEwcchVw= X-Google-Smtp-Source: AMsMyM66KSNWmGU9MaV1h6icVVQeJXcHFgyUNZUjSSQXwQRU5yNzpVeQLbsx3vXKtyM388kCZLUbsg== X-Received: by 2002:a17:903:2443:b0:178:221d:c599 with SMTP id l3-20020a170903244300b00178221dc599mr16471698pls.100.1664082370927; Sat, 24 Sep 2022 22:06:10 -0700 (PDT) Received: from google.com ([2620:15c:9d:2:37c:3916:9a45:14cc]) by smtp.gmail.com with ESMTPSA id 7-20020a621507000000b0053e80515df8sm9167942pfv.202.2022.09.24.22.06.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 22:06:10 -0700 (PDT) Date: Sat, 24 Sep 2022 22:06:07 -0700 From: Dmitry Torokhov To: Michael Ellerman , Nicholas Piggin Cc: Christophe Leroy , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Is PPC 44x PIKA Warp board still relevant? Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Michael, Nick, I was wondering if PIKA Warp board still relevant. The reason for my question is that I am interested in dropping legacy gpio APIs, especially OF-specific ones, in favor of newer gpiod APIs, and arch/powerpc/platforms/44x/warp.c is one of few users of it. The code in question is supposed to turn off green led and flash red led in case of overheating, and is doing so by directly accessing GPIOs owned by led-gpio driver without requesting/allocating them. This is not really supported with gpiod API, and is not a good practice in general. Before I spend much time trying to implement a replacement without access to the hardware, I wonder if this board is in use at all, and if it is how important is the feature of flashing red led on critical temperature shutdown? Thanks. -- Dmitry