Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp823578lqj; Mon, 3 Jun 2024 01:36:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX3tcnAuhuQ6plbOWuTlCLi4KXUswV/082MLg/UlxWBGhWHv0cRxLvDdG6APk0g2rkVInVkuo2Dr1rfx/5rAgqZbEuVUg+U7TnowbqxGA== X-Google-Smtp-Source: AGHT+IG8j95nuyAK8yanflddu4mO3cS+6r+jo+dMnyk27J9zo+/PSdruxLRXpPFGHhEUyBuZOVp0 X-Received: by 2002:a17:906:244e:b0:a68:c2dd:8ce0 with SMTP id a640c23a62f3a-a68c2dd8f90mr319007366b.13.1717403815204; Mon, 03 Jun 2024 01:36:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717403815; cv=pass; d=google.com; s=arc-20160816; b=KWOlj0ScqYJ2iaojpdtf4oSaOSbMHiN3cVNxRh3JMkBTJ1xxkZK9EQh+54VLoH2sd5 wiw5ZPbCHjOpM/BzpDp3GigMNaw33oB9R28W1V6Fn6UgjANhhWIIBVh06iA14kcBtosK /WX0jgJmiXFu9NIRlcOzQY7KtMJ+SFYdF1BIlpBCFmeQmzWrG3OzEFT/adn8W/BScVgN 1FOIAf7mx+QbZmu3jW9T0CDk6UsSpBaSqFGMkCWxKVorgSeGkFSstsfG4C1EPRAlFwnX T5+HiE0AJHLkNPOkU683yH9TBzckMrwsRJJaqIsFwf0UVAJyArwrNixz0eBEwxsEocJM fwTA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=cjz3djNCgfBo1s0IP9wfX7FfPO4C8SEEcU1rb0z53ds=; fh=F8BP191yPxHH/Qh223byHoFNmnQW+jaKFIqtwzBIB7s=; b=BCU8vP+rv9TDVm3H55tdIvoPKtRVCTQ5LLqG97lrXoPnLpjf6lmKLJ5kPtxYbLLdkc Rgv8UVhsc0l+XT2EJ308cqXOCk4pBxFrW1S3G+KjDl30Q3tIujl4KaGrQZgzGtykfNUO jlEIXw+rwDFv9noqDr88+H7X+rp/KBQohCNQKieCkTAAI2qObiElHx1i6GpiaGnuk6oU 88Hp23ljmUdhgegcF8SM1gjQ9nIVriq3z7ymcXIrmdAMG5w1ghma4DxkzlgFbLxQESsV cgu7swsEB3IV8eI07hcHczcosjHO16hsMCmX9rDSWptH6aE5UUjdmRFe0FuAmga+TD2R kzHw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@dolcini.it header.s=default header.b=GUR0vCsj; arc=pass (i=1 spf=pass spfdomain=dolcini.it dkim=pass dkdomain=dolcini.it dmarc=pass fromdomain=dolcini.it); spf=pass (google.com: domain of linux-kernel+bounces-198793-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198793-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dolcini.it Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a67e73faa8dsi388867866b.254.2024.06.03.01.36.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 01:36:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198793-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@dolcini.it header.s=default header.b=GUR0vCsj; arc=pass (i=1 spf=pass spfdomain=dolcini.it dkim=pass dkdomain=dolcini.it dmarc=pass fromdomain=dolcini.it); spf=pass (google.com: domain of linux-kernel+bounces-198793-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198793-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dolcini.it Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E4B4B1F234A4 for ; Mon, 3 Jun 2024 08:36:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EE5497E788; Mon, 3 Jun 2024 08:36:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="GUR0vCsj" Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (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 BE71D5C5F3; Mon, 3 Jun 2024 08:36:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717403785; cv=none; b=qWc6ALA1A/wP2OiIeh1BtqdR+FODDtPvhXxh6L65YxESLpMvAm7gdWjHTmo6x22BEGa3q9VfREb9DX37rQmZAtK6NSPPI0r9RIHkGyloEn0b8B0tBwn1ML8sTfzw66PPNCmerJXmDXviMWrg+k7ryfQYUsate4/iAFzAb6OBtuE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717403785; c=relaxed/simple; bh=SQeZ2mhhnMXg0yuYiYntPLO4Obs/C8RAJ9ZwZZPgy2I=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=VDoXA09y151L75AzRHBYDDq5xHRSrkkEjPULOuVTrUu0UwQaMTLFD1b65+qHCHDAj1SE2Iklz7Xy8RhxsjRUvu3Qq6ox77u1y934qpNj4vre+yr6TQjXgL3bnVK6LytcSppn72j4zheCh1js0Twbfbx0NcthPbR+Ng86hw15Fz8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=GUR0vCsj; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id B7E101F9D6; Mon, 3 Jun 2024 10:36:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1717403772; bh=cjz3djNCgfBo1s0IP9wfX7FfPO4C8SEEcU1rb0z53ds=; h=From:To:Subject; b=GUR0vCsjDZFhtCdnXjgdMEzVTJNPBFb0nLDwWdEcMZtDgojbOLv0qtPoTJUadwZfq fMFRCuWNVGqQbbwibRlHvZVXDCpX6lxGDnAt9jKQI9oacyn5INoG4ztblO+8OArYr0 UeuCcQk/d6VSSNZY6ky3P0uNqF/lSy40835+syWXyLydFqZO8+XpVNitXCHPlceAZ7 75f+EGMiMiQ388mvOrb86OHmpfriFWc167sLPZx1QNioOSUS9n7fOnlXdn/Wg7kIOz IgvN+4EitpeJu9bz8vlybwAgB7lpW5Tek0SidvE65EWzKxeY+RMpbqDGboxIjma3If GEhB8eoGmbD7w== From: Francesco Dolcini To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heikki Krogerus , Bjorn Andersson Cc: Francesco Dolcini , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Dmitry Baryshkov Subject: [PATCH v2 0/2] usb: typec: mux: gpio-sbu: Make enable gpio optional Date: Mon, 3 Jun 2024 10:35:56 +0200 Message-Id: <20240603083558.9629-1-francesco@dolcini.it> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Francesco Dolcini The enable gpio is not required when the SBU mux is used only for orientation, make it optional. v2: - add Acked-by: Conor Dooley - remove useless NULL checks for the optional enable GPIO v1: - https://lore.kernel.org/all/20240524071034.4441-1-francesco@dolcini.it/ Francesco Dolcini (2): dt-bindings: usb: gpio-sbu-mux: Make 'enable-gpios' optional usb: typec: mux: gpio-sbu: Make enable gpio optional Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml | 7 ++++++- drivers/usb/typec/mux/gpio-sbu-mux.c | 6 +++++- 2 files changed, 11 insertions(+), 2 deletions(-) -- 2.39.2