From patchwork Thu Oct 28 13:34:00 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: 12590199 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 630FCC43217 for ; Thu, 28 Oct 2021 13:32:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 48F0D60E8C for ; Thu, 28 Oct 2021 13:32:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230436AbhJ1Nel (ORCPT ); Thu, 28 Oct 2021 09:34:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230412AbhJ1Nek (ORCPT ); Thu, 28 Oct 2021 09:34:40 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63F5EC061570 for ; Thu, 28 Oct 2021 06:32:13 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id c71-20020a1c9a4a000000b0032cdcc8cbafso2249210wme.3 for ; Thu, 28 Oct 2021 06:32:13 -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=tOyMGInVmSKzlPJwDbYSFJOsobbRLD2E9KOpZlsLPJpfCbstawGpwxVmSeB9hpLMP4 BdRJfvl76PK+yw9LQYYD8UkBOFBHqcDa4E4kDTGCvfHG0B2ZuiQbqgShYEObn4kj5LpK oYhva73eqGXtSdqMPQnlVbEVkqI95spS2DgN7am4cm/1KXYufhY0p9Xn3kEgfE0W1vEi 3+0QHKyoQcFMm6s8VWawWhWg79zFuNRMDIFbN15DO2Oidh5NTtZFJmmGTEwjwlKRAyoB 37oAi0apqeeKO86sFn3pPzAD/0DF8XISZYdrFpUx6lKE8UGc0ckhsT3SEFappG1btYox eyyQ== 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=UBKo5VLEtLqBxRMynLjVR1Oaqa+kRgvcwkGNKWAKaw9EKYYOau0d3dC2v3vdyenEi9 mXWkPMVQevcy8Mt92jY1O1KTrUbtd1Ckb6aP15IpZgchURsuYNi0tvQW0TLlkmCGPUcr KSdpWzpdiY9VWzidte022+jLhDLeET99RfJass0kYcUGELZkyE/9Td6BvlymXV3mYVuF 7aCOJRqB97IZ87LZ4GSxarfPgeRt+e3Ce7IFQm8X/HrsPfaRCK4zf5/Bl+M6r8eyTQqp g345LVrhHilZQ9L53n3bhdgcqv9Dvibg3sNgY6Mqs4xq2m6s9CpY1l9rCfGRLTt0XvUL XfHg== X-Gm-Message-State: AOAM532Lh3tKlrFtl9xwaVO4UYVkryUtZjKvfsKG8yqZFvDHnn+jNe3K VjQDGXEIFHBZbxr60EIu4ZfZfWSvq+GWaw== X-Google-Smtp-Source: ABdhPJyVyvFZrha5Wm6/v5MrR7azU5rhUaNn+TBfPEBCTNvckJ3hemaWnT1/bQ0tCPNJf/ujZVC9rg== X-Received: by 2002:a7b:c94e:: with SMTP id i14mr4448494wml.178.1635427932023; Thu, 28 Oct 2021 06:32:12 -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 y23sm2774845wmi.43.2021.10.28.06.32.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Oct 2021 06:32:11 -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 Cc: wcheng@codeaurora.org, bryan.odonoghue@linaro.org Subject: [PATCH v2 3/7] dt-bindings: usb: Add qcom,pmic-usb-pdphy dt-binding header Date: Thu, 28 Oct 2021 14:34:00 +0100 Message-Id: <20211028133404.826012-4-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211028133404.826012-1-bryan.odonoghue@linaro.org> References: <20211028133404.826012-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@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