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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 B28A4EB48EB for ; Thu, 12 Feb 2026 10:06:08 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0B1BB10E717; Thu, 12 Feb 2026 10:06:08 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=onurozkan.dev header.i=@onurozkan.dev header.b="ociVI7so"; dkim-atps=neutral Received: from forward101d.mail.yandex.net (forward101d.mail.yandex.net [178.154.239.212]) by gabe.freedesktop.org (Postfix) with ESMTPS id B993810E717 for ; Thu, 12 Feb 2026 10:06:06 +0000 (UTC) Received: from mail-nwsmtp-smtp-production-main-99.klg.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-99.klg.yp-c.yandex.net [IPv6:2a02:6b8:c42:eaca:0:640:4fc0:0]) by forward101d.mail.yandex.net (Yandex) with ESMTPS id D48C7C00A5; Thu, 12 Feb 2026 13:06:04 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-99.klg.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id d5RU869G5W20-aR99l8st; Thu, 12 Feb 2026 13:06:04 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onurozkan.dev; s=mail; t=1770890764; bh=Q1Uxz3qdI5DYZbxwCOrlky4H0PgOY4+4wHp6bfHqcIw=; h=Message-ID:Date:Cc:Subject:To:From; b=ociVI7so0a3pU/ge/sfVnrryfnx+jx6+RqUb7BMsBdaa+jfRE9V5nRJnXJpcoo8Wu +YIzem3Kl7YA1kftoza01RXgvGPz+UBUKpGjcRM93IMuDxCEIZaYkG9NLM6vLmOfyX wx2o3+UYAZ5rfr6V1G/pgAss8Dfplez3bD8xiDqk= Authentication-Results: mail-nwsmtp-smtp-production-main-99.klg.yp-c.yandex.net; dkim=pass header.i=@onurozkan.dev From: =?UTF-8?q?Onur=20=C3=96zkan?= To: daniel.almeida@collabora.com, aliceryhl@google.com, dakr@kernel.org, airlied@gmail.com, simona@ffwll.ch, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, lgirdwood@gmail.com, broonie@kernel.org, ojeda@kernel.org, rust-for-linux@vger.kernel.org Cc: =?UTF-8?q?Onur=20=C3=96zkan?= Subject: [PATCH v2 0/1] drm/tyr: make SRAM supply optional like panthor Date: Thu, 12 Feb 2026 13:05:37 +0300 Message-ID: <20260212100538.170445-1-work@onurozkan.dev> X-Mailer: git-send-email 2.51.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Changes in v2: - Add rust_helper_regulator_get_optional() to fix CONFIG_REGULATOR=n builds where `regulator_get_optional()` may be only a static inline. - Update Regulator invariants documentation to mention both regulator_get() and regulator_get_optional(). Onur Özkan (1): drm/tyr: make SRAM supply optional like panthor drivers/gpu/drm/tyr/driver.rs | 5 ++-- rust/helpers/regulator.c | 5 ++++ rust/kernel/regulator.rs | 45 +++++++++++++++++++++++++++++++++-- 3 files changed, 51 insertions(+), 4 deletions(-) -- 2.51.2