From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 506C63F8883 for ; Thu, 20 Aug 2026 11:12:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787224359; cv=none; b=DclHwJLgqrpscDuj2t3N4KV48u3kC6WFcJFhred4kET7TJ+zO8XuZ2PtQ8KV2LAJxim10NLH2zTBNS9Ns4GfS2NrCU0wQtb3dAEF8ndpyQERQr6i/wW3WrKHtDroUCcC+adTTO5OEoSSRGLupNiZUJZIV/GfD2SkCCE4wkwgA0o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787224359; c=relaxed/simple; bh=bpThVqQFygTLCaGsuEqWcCStUhPTHs+dDZkeeWLg/GA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=mb+ztbGWWf5hWmY3TYHzmrzYeKWgrfWsc6FjTVu37/XI+fK1mW4lGeW2qngoChy63s6lJiNW1IGEgXCyn0PCSIDABBx7FyBOnkkygZoVdlVZlAAZF4KkDXeGLOM+F9gU0zjKKnZEGm0CWTO8bZZutyUurGFyOUeBuLvlOnDWbkQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=fzmREX25; arc=none smtp.client-ip=209.85.221.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fzmREX25" Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-4815bce4652so1416453f8f.1 for ; Thu, 20 Aug 2026 04:12:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787224356; x=1787829156; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=q/CXQAuep88nNofsLR3pz9Vsltdh0mP0euDeTnwsECQ=; b=fzmREX25AF8DFmChWAmwjnrUmKLr8jzWJlea2/XkY9bhSMBGnVXTsTPxEa7Ys9YdK3 E5QVkvIEm8Ti5LSYS/O6Bm+ceeRRIX3a9v4pdWwveJybgpq/Es7ifagoZFuY4uJUhrZs +TjsHbClGwvwHaPgispAvQYaoFZuu4PRQLLcIeWLZeYWVSmv0F1eEnK1NI/429chMAzv Kxhib8pYgxcf3DYTdgt/HF+ejtd5jr7WyzePB0JMHu4FhOfSGd/fztaiiCSkLAzaY5uI j9imtKtB8DfRzbE0LzmQSZh3QBdIqzXjOU6D07oSLBxDVHyfkAREcUeJYE/43o1aBWZm qEdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787224356; x=1787829156; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=q/CXQAuep88nNofsLR3pz9Vsltdh0mP0euDeTnwsECQ=; b=Jy8Q2F0KzOg9v6j+BR6bgHFaoewZKoeBPtjfSkf2lpe4fWDb7p8e5dKzxhcOh890kY j8UIJh1o45BviUpG8WMj81JqgP8U7W71TQiT/lseylk/XGj3MQS6TK6KNSi0V1KCDSy8 vf3vnc1ibnhFhkVvjIo0Gg+gyjGaQx9SEZEWTF5P5Kt6Fqu/pQ9eAx7cTR9/B96ESNe3 y4aQirduq0GCLWIH2a3+ZZqhDuH8bmeIlv/sK5uf2eaE9yOVVZ2inNiR/VKmEA/RapSw 3yheBIibtfMQdJzDZZOBUw02AYIEWhjk8q0O5UPxq5Kf/FdEKEZ8GWwuqpqDgDsiNnpA i/Xw== X-Forwarded-Encrypted: i=1; AHgh+Ro5FVI7gpta6/XjlD1vtx4DXiVfJ41Io3/jd7CrGXR5E/bD0l3l1Za9zvjSbWocB1GD+acwQ6iVRWeLm2Y=@vger.kernel.org X-Gm-Message-State: AFuF++lQJ/UWfflslWr4hbm5uO327l9h2rg7blV6FX1EUmGIc0qAiQBB YduZwSVvsr5G9VhY6Uwx+pQBFZRnoUvnPSfAywlF55CA4KKWaOttBLFB X-Gm-Gg: AR+sD137ZDj6TRn3eqa2I8JktMz3TSE5qAO9kmF3v4vzozPTmNczA4CsK4o+mydVR+c IXMJcrlpzKEfT45DFZXgoQf3M8gCD3ScPWdsQV6AeKrLU+XYCOe9a3XE9xvFeoOn2Hy7q0kNAil fFoB7bahFAmg2PxmesVjeeGwKQfy33OfrrL1JQJrU+lOoegMzUzAS6DxorpN0J14R6L7B3elL7z hWxiwud4FwN0QAhOf+55Jo2+r9tXVVSk0gXh2jrmrdGiG6wB+5FLB6uk30seLQvmcMFOlCFRBor LzjQUtxX7ZlG3k+3m15UzNTp8Paz7jJ/73R/2vqOGfLElv/S/6/pVbI4FKgBu2ca/MbGEyiSvry VL7oI0UzPl1fPy0NlXMsIgUQeYttOqWuAs22zB+9Wp2qJviak/SV0StXbr64ZC0JUdnyp1oHYzg rD99FY8exDyPIwNduqoyDxA+wQkcCIw7F5qj6NhiC7/t1SmFDZvYvDfCXdINYlQ8+LCNXR5SHkf diK X-Received: by 2002:a05:6000:4b0e:b0:47f:86af:8fdd with SMTP id ffacd0b85a97d-482b1e86146mr22132999f8f.3.1787224356366; Thu, 20 Aug 2026 04:12:36 -0700 (PDT) Received: from deb05.proceq.com ([213.160.61.66]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-482b14b7d23sm13037801f8f.22.2026.08.20.04.12.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Aug 2026 04:12:35 -0700 (PDT) From: Mehmet Fide To: Linus Walleij , Bartosz Golaszewski Cc: Mehmet Fide , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] gpiolib: return quietly from gpiod_get_direction() without .get_direction() Date: Thu, 20 Aug 2026 13:12:34 +0200 Message-ID: <20260820111234.1085436-1-mehmet.fide@gmail.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260813193715.2346477-1-mehmet.fide@gmail.com> References: <20260813193715.2346477-1-mehmet.fide@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hello, A gentle ping on this one, sent a week ago and I have not seen a reply: https://lore.kernel.org/linux-gpio/20260813193715.2346477-1-mehmet.fide@gmail.com/ To recap: gpiod_get_direction() warns when a chip has no .get_direction(), which is a legitimate thing for a chip to lack. On vf610 the direction is not in the GPIO block at all, it is a bit of the pinmux pad register, so the driver cannot implement the callback and every caller that asks for a direction produces a WARN. Happy to respin or take a different approach if you would rather solve it elsewhere. Best regards, Mehmet Fide