From patchwork Sun Oct 2 06:45:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Nazzareno Trimarchi X-Patchwork-Id: 2413 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id F2F2540F4C for ; Sun, 2 Oct 2022 08:45:46 +0200 (CEST) Received: by mail-ed1-f70.google.com with SMTP id y1-20020a056402358100b00451b144e23esf6570095edc.18 for ; Sat, 01 Oct 2022 23:45:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1664693146; cv=pass; d=google.com; s=arc-20160816; b=OXvB1dIKL9jR01en2w2ssc16WZzrOaHCFkdNhF99TJS+Z2/Lv69PLnM8q/sxhxfPQy NYOOh1fJW+922PhRbiiMdAQf3coApJKFAZJPNqrOEpx1yH8IO99znFylQSmddxD0MpMj Lte+sud2aNgxrx+qXZUxw+a57XON6iV67zFhnW6nidEdZAL1mjSAe4IqeU46TgjPvzRz HQtUMxBccZf6nkxojrMGr6O9T1ro6+wNFMIZ51aFGkttits9HhPoSulcQuipodWI07Nx ZeOJKCh8v7ughN4GxPElPeXcGGAzxHppkcoZ//41B+GnZL09+X6r8MepoRYy5zDsQg0i 1lxA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=KOquWw85uEWjAMJL8hA89IZ1CqSRzEV6JBdYAJslzBA=; b=wknw0rsTfBUvea4RT+HVPkIX9wykPtBLmpze73GijsJhVLhW806+YqBmHEm9SafOeH wkbdq8lB443dPbGmvLKhxujXvD3qk0a+XCqqdvCaLSlU/l6RmRWX9kPFatr21Ofsl7Pl eeHwvGnDVZOLAZu4ZPy/9ErQ4JaaiJ0fj3UeoxlZMgc7Y24pmiRihpP7EWakmBb6IhrR 3ZtY2ekWQkTek/YsoeBAfFn5LLcSmFCoC3cLBuzSz+H613jsA/0nmLUbjwzmgbAhIk+Q Ok2eFs4JHS25cnhI9N/UqSy6rvXtCOpb2XvfX5ajzImJFt2V6eeAb1alIlTBpyj/70GZ LHjA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Z6eZABtX; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=michael@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date; bh=KOquWw85uEWjAMJL8hA89IZ1CqSRzEV6JBdYAJslzBA=; b=cn/wmE/ZQojyz1DmPsdYS08IjPAdYrCzl39iQYi3Lio1d+0GZuWG79Q+c46jSt0r+n LJEx2mKvoRvuv/5RrFVBmi83Z3aJKBXW/E4Mo3I0uHjpAi+N56gHGMkRYvICMq/XbRFd ozLzgdIvL/LuyaKsDsETt8Us1D1wrSeKlgr5s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date; bh=KOquWw85uEWjAMJL8hA89IZ1CqSRzEV6JBdYAJslzBA=; b=L4Tbnz2osoZk8CkGZybUNUTyQhFEhOJ14Lc3thsVpLVczIZ68WQ10qo69kpV94hQkj Ei7seoxPecHVVwqkOUnzs+eSPZbhorhmcURwyftkhsmnwVycS1gk6kqlm2upQanl15e6 wmefF0stkq0rOpZsE/2ELRTzZ0YIb9Sy+cIFqCvuTpCew2VRO4FIkws4QIZOYQs8MqsJ fXaR9Pmc/KrbOrHof6D/3gdr5qSjmHujOqpU761lBLe5cKZdvrJkebDVAmJ7D6slZNR4 ESDJTTo3rNwg/0fE8a42n2sVBOlxWR08LA7Jugv4CndQ18URGJu7Dvpt3qKfNa0nzKKJ yhoQ== X-Gm-Message-State: ACrzQf1ZwKOOvnADOhM4Hez4ZoUkdQG7D9KLM1iH7uw2//D67xngqNpY nVFcrCVpnOUsb4e22BMbkZC0Mo4M X-Google-Smtp-Source: AMsMyM51gYmRiqSIGPuIj6eXK70Mvj9sJ9srXF05koCvPlYqaHetiggPO5r+OGVPs9F5XJh2cO+DnQ== X-Received: by 2002:a05:6402:5507:b0:452:183f:16d1 with SMTP id fi7-20020a056402550700b00452183f16d1mr14254473edb.96.1664693146742; Sat, 01 Oct 2022 23:45:46 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:907:768c:b0:73d:afe3:ffd9 with SMTP id jv12-20020a170907768c00b0073dafe3ffd9ls4000096ejc.10.-pod-prod-gmail; Sat, 01 Oct 2022 23:45:45 -0700 (PDT) X-Received: by 2002:a17:907:2cf0:b0:787:e52b:c21d with SMTP id hz16-20020a1709072cf000b00787e52bc21dmr9949994ejc.262.1664693145325; Sat, 01 Oct 2022 23:45:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664693145; cv=none; d=google.com; s=arc-20160816; b=DcHVPn00oYzKSPJaPTbx03PV3IHxmPUBthT9yvZSRZdkvReLDaitFMsJ6BlzLRIH5k C3ZvFVcHrNgpns5U54qojPTPMOw/LGSDP2etDP2H/BwEpWsTtIgcs13fohCVqHfTp09a yPFBe8JT03/5aDdlWOJyuL+pfwhNvrWDz07H9F2Zi/DoKEQA3/YmF6rErFgqFmAAxGcp kcsTH78DKR52DZ6Y8b/kjhNigypJSJtcDTMeWdz+0XHi0xe0/psEf5EIkTnm+UyDtRv3 ABCgxD6hVlql2x9GPC/urLCfTrkWe3+C9tEBHkIYPZ9+FOChuwSgwCCZUpMxngmdofHq wlyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=+EFb6uk4cTnqBeI+5KKFVfi8qmpv//hil6I+XjIEg10=; b=ZNhzrQYhdDYXi48qBTJSi678JhlRxcCFQepJoHoV4A+DwFEBvSRdCoDMlUDBV7rQyg K4QVgBxFCcf1Y16z083UZ7VUz6wXiHmDplaQl568rMNUMb6p4mVxhbmYzKvhgPjtH0Hu 21saLqOkZhkQ2iIF2tsthNpZeybuOxXj+0B+/bjcrwUriUffH3NYIKgZu+zEteOPt/W7 X4jvHatlxQaD2zcL/6YBSwHr36jycVaIackGm5+76pmNZ0AJ8UnyvviDWcoQSiUkxBCs 1rTZsX+VE7mJntocj8FFbJTB/drTi1Z0P5cHTcDqZ8hn+rH0c8cASYAv74hlqqPQxyyW pyLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Z6eZABtX; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=michael@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id q9-20020a1709066b0900b007814f0e2347sor2202515ejr.76.2022.10.01.23.45.45 for (Google Transport Security); Sat, 01 Oct 2022 23:45:45 -0700 (PDT) Received-SPF: pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:907:160d:b0:782:bc5d:162e with SMTP id hb13-20020a170907160d00b00782bc5d162emr11502660ejc.291.1664693145088; Sat, 01 Oct 2022 23:45:45 -0700 (PDT) Received: from panicking.. ([109.52.206.103]) by smtp.gmail.com with ESMTPSA id 26-20020a170906329a00b0077f5e96129fsm3569894ejw.158.2022.10.01.23.45.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Oct 2022 23:45:44 -0700 (PDT) From: Michael Trimarchi To: Sandy Huang , =?utf-8?q?Heiko_St=C3=BCbner?= , David Airlie , Daniel Vetter Cc: Kishon Vijay Abraham I , Vinod Koul , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-amarula@amarulasolutions.com Subject: [RFC PATCH 1/4] phy: add PHY_MODE_TTL Date: Sun, 2 Oct 2022 08:45:37 +0200 Message-Id: <20221002064540.2500257-2-michael@amarulasolutions.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221002064540.2500257-1-michael@amarulasolutions.com> References: <20221002064540.2500257-1-michael@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: michael@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Z6eZABtX; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=michael@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , There are combo phys out there that can be switched between doing dsi, lvds, and ttl. So add a mode definition for it. Signed-off-by: Michael Trimarchi --- include/linux/phy/phy.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index b1413757fcc3..87ae8c27ec57 100644 --- a/include/linux/phy/phy.h +++ b/include/linux/phy/phy.h @@ -42,7 +42,8 @@ enum phy_mode { PHY_MODE_MIPI_DPHY, PHY_MODE_SATA, PHY_MODE_LVDS, - PHY_MODE_DP + PHY_MODE_DP, + PHY_MODE_TTL }; enum phy_media {