From patchwork Thu Oct 28 16:49:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 12590607 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1F56BC4332F for ; Thu, 28 Oct 2021 16:47:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 02A2F61073 for ; Thu, 28 Oct 2021 16:47:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230264AbhJ1QuP (ORCPT ); Thu, 28 Oct 2021 12:50:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230318AbhJ1QuO (ORCPT ); Thu, 28 Oct 2021 12:50:14 -0400 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BE9EC061767 for ; Thu, 28 Oct 2021 09:47:47 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id k7so11253455wrd.13 for ; Thu, 28 Oct 2021 09:47:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=q128a9lhY0ksiYIyPMAMQms4ozwMnmwzN8Z/nJ9OKEQ=; b=fSEgbfCmAD7l1maFzzfo4ntux8Czn15LspIDvE89ZBeycOzGCJ5MBex42lORU2wYL3 4np+8KErBWQVQwoIc4vJw/BU2wRrPGot3CeomaV9A8JsiFXJl33RVuH15HS4nJymZ8S1 E3Gy7ZyE7McfDiZsgGBzzpF0z0Bv+Y/J+GNdJbDhXdUXdTdrFyiIhI/nkwf3479FA3Yx CVS9EATZAwb4NRVBwoM2i/MmfKGZjdQfGMrYCPYiGNcWeHtmtygdJKDeKBsvXpj+Rpsi s9KlxZt0Elm7iYX03JTiKIBJy1N/HgMA7RkXPaglM1AXqdeHIYE0hKqoVXEf46AkQU1P ptow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=q128a9lhY0ksiYIyPMAMQms4ozwMnmwzN8Z/nJ9OKEQ=; b=hKLdLPYwtKhKks65nWLcQU99WKWuf/XPDUqpe+jl3eELJB4fiJ2+51H8LRgQRI11EI FOvo21dyIzp3Yc7DGiiHAZ+Lh55LeLT5LpAfoTxCqoU9FtaYZCpcaMzE7h/jdGCA3g4j 1Eb7RRgc5fBmcP8BxqOrenDH5w46neqYrMQyyhJY4WKq50IUeAyb70mcHwjlPntj4kKc 1OOMw5D/yfG4mZfydDjU9iL48193skzIWCEY+RcnBE4an9qRENCOJAQhgZQzhatjzz/G raXWteBdZPc/tucoiD6pqQ123dGXXnE2SIPFr3YnqLnuX8wLAjgXsAKNH5D2GvSnbtsw 3tBg== X-Gm-Message-State: AOAM531vUzGoIN7nNkESyTZpGaWTqG3uLsdlQbPkqCJhZ5bZx+ZK1GeX x5EL/MIB3Kt48vKAL9yQHIXAVw== X-Google-Smtp-Source: ABdhPJxBvNicteu8Kk/NeIdXVz2M6mgN0Smm9jf26pymA0l62seqMqOH8acTkvmBZWynMQBqELhWEA== X-Received: by 2002:adf:8b06:: with SMTP id n6mr7276270wra.5.1635439665711; Thu, 28 Oct 2021 09:47:45 -0700 (PDT) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id y8sm3601724wrq.77.2021.10.28.09.47.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Oct 2021 09:47:45 -0700 (PDT) From: Bryan O'Donoghue To: linux@roeck-us.net, heikki.krogerus@linux.intel.com, rdunlap@infradead.org, gregkh@linuxfoundation.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, linux-usb@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: wcheng@codeaurora.org, bryan.odonoghue@linaro.org Subject: [RESEND PATCH v2 3/7] dt-bindings: usb: Add qcom,pmic-usb-pdphy dt-binding header Date: Thu, 28 Oct 2021 17:49:37 +0100 Message-Id: <20211028164941.831918-4-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211028164941.831918-1-bryan.odonoghue@linaro.org> References: <20211028164941.831918-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Adds a series of defines which are used in the DTS and pdphy driver for identifying interrupts. Signed-off-by: Bryan O'Donoghue --- .../usb/typec/tcpm/qcom,pmic-usb-pdphy.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 include/dt-bindings/usb/typec/tcpm/qcom,pmic-usb-pdphy.h diff --git a/include/dt-bindings/usb/typec/tcpm/qcom,pmic-usb-pdphy.h b/include/dt-bindings/usb/typec/tcpm/qcom,pmic-usb-pdphy.h new file mode 100644 index 0000000000000..0bb1ce677fe5c --- /dev/null +++ b/include/dt-bindings/usb/typec/tcpm/qcom,pmic-usb-pdphy.h @@ -0,0 +1,18 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2021, Linaro Ltd. All rights reserved. + */ + +#ifndef _DT_BINDINGS_TCPM_QCOM_PMIC_USB_PDPHY_H +#define _DT_BINDINGS_TCPM_QCOM_PMIC_USB_PDPHY_H + +#define PMIC_PDPHY_SIG_TX_IRQ 0x0 +#define PMIC_PDPHY_SIG_RX_IRQ 0x1 +#define PMIC_PDPHY_MSG_TX_IRQ 0x2 +#define PMIC_PDPHY_MSG_RX_IRQ 0x3 +#define PMIC_PDPHY_MSG_TX_FAIL_IRQ 0x4 +#define PMIC_PDPHY_MSG_TX_DISCARD_IRQ 0x5 +#define PMIC_PDPHY_MSG_RX_DISCARD_IRQ 0x6 +#define PMIC_PDPHY_FR_SWAP_IRQ 0x7 + +#endif