Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp526760ybc; Tue, 12 Nov 2019 05:24:03 -0800 (PST) X-Google-Smtp-Source: APXvYqxG+e1r1m92E+6R0iZHTB6HFZZo2V4TMzdLgoI1prJ2amEdvONicGW4rRUuXQcesxJNYpU/ X-Received: by 2002:a05:6402:134f:: with SMTP id y15mr33542788edw.147.1573565043144; Tue, 12 Nov 2019 05:24:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1573565043; cv=pass; d=google.com; s=arc-20160816; b=LjyEwW1f1beJDm8hGCiarScff7SWQu4twgZI/nxZ0czxMYwie6wfB0YzUhry3cg71y KfIBnf3cEsfxHUKX1NlAGknVpP77FBzeXqcgr65AzshbUhlNPmdqI4E5FauMlD3mYp+v vzyOX0a6lD4X3Yufx9m8EmoNHGzNTbZDMyYkPkT/AkBejPxqtJX+P4Z4PS2E3FjXfCwL MB0Sf14jf0uJ5W1QDEpjEvKsZDm9NZTaCbsTzv/WNbKoxVuef8ppNPK5qlMvZQgMvohq mm6ljoJNpYS2fWocQ4fDdelgu9ixx9dPZzY70RvsX7jYyZaiAaHgMzDfSRehI0VCOKla A7qQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Qn2mROzth7dOG3yMwH/39kZrvRMRwcHzbwU0cdZgneg=; b=XufLTjqI89SzjOSkvfx0JS8TIk9TrDP3SHuivith1WG46l0TFJpnbOaqX4QaXU623x 42Rbl+tu8+Hr6qmOWm5GljH6BIKz1MUtaNrWv5uZ7Ybtilonfj8kMu8PAVFHH3kDPf3T 78tLvXWGyKijgsQk9mFk0DdHOozt9+IRJErhxTV9m0iVZX0yh3TrJgYYPd+MJfLHgsVG YscKO7FF1rx2EmxTkCxQDBZGpsGOlTzMc0ETuX+QXHUjuUluRMccYiwfKnVcpavjvpAA czGtBb4lxGsvUbk0aO9zkYAXor0ZvHL+9FP5ZsmxyeIj1QPG5c3O0jhSe2olVVp0MHx7 EwJg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=kWIeVuxN; arc=pass (i=1 spf=pass spfdomain=xilinx.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m29si14129173edc.317.2019.11.12.05.23.38; Tue, 12 Nov 2019 05:24:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=kWIeVuxN; arc=pass (i=1 spf=pass spfdomain=xilinx.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727348AbfKLNVi (ORCPT + 99 others); Tue, 12 Nov 2019 08:21:38 -0500 Received: from mail-eopbgr680064.outbound.protection.outlook.com ([40.107.68.64]:16910 "EHLO NAM04-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726376AbfKLNVh (ORCPT ); Tue, 12 Nov 2019 08:21:37 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eWS2Bqg17HURnKV5Gntq1IK4neUgvymCr8tSPF6X1iXiuTv3Xfd/62pfCq0LDm0jRikdRAtPp8CgyxNDbcQcK5vAERyAZWvLHRayRR44b/NY0Bo21LvJh2fX7VaXK2cMPfOuntzxDLOdQyXbwsdU6BfT5Xx2g2bnwFtfMWya366cE9Q9OKAQ02qfMzJHD09UOGUoS6EdLs164ohxV9mu7Fg2HxuqyoXWdOaXoqqPt8S5v+Fx2H4cKhlZsN3YvHbAXM8QOQb+o/jf1adZ2ZOANL2w0YuGGzb8/I2U3lA+FprRzX0e5KDpJdC2NHLai/9XoYQd7k9xzr+/cWux1M4WIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Qn2mROzth7dOG3yMwH/39kZrvRMRwcHzbwU0cdZgneg=; b=S6FDGgrISFYUOSEX+yP6Jm3Bn2+Au6uZtLSG06fgYerhyzLZHXlpK3fNVJHUUSj7T3+TuVHMbToWkbv8iCnN4dgAcjwtLKvqp6ZG8qtIem3AWmYaSzpbjH5SQEDtHz2MhNPHIyjP1Kphe2aIliHmewOF8OFXc0xhkMso8jEbwyAbyWTweadxW1Sw8KMQ8psOnCodwTXFgBAxct5BD7wLBpM1fCmeql0Ni5ra5YF1yZGRo/4NqPZMaPB2eV3zsXdz4U1qev5ukPJxqH985t2cKGBdXNk0nRrjLB1sGFMKfPpzUJGESd806QM1OVkf75UCNm1TeyWZDsINQFBHLu48DQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.60.83) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=xilinx.com; dmarc=bestguesspass action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Qn2mROzth7dOG3yMwH/39kZrvRMRwcHzbwU0cdZgneg=; b=kWIeVuxNeB6hMkmtqkWsAIgRxmmwyxXXDsQpdgnRRTjqeZ3FpFJ1R22et+ZjnAeyOecxU/sV+U8cMfbEBIXKouFjjPMzhdMyarfDHnlwe5Gjg1oyc4z8vbxT8nWA4JkEptiBpgF7GptAf1RajN3gXddMmZCdMKw2QqX7GrMvbjo= Received: from MWHPR0201CA0031.namprd02.prod.outlook.com (2603:10b6:301:74::44) by BL0PR02MB3714.namprd02.prod.outlook.com (2603:10b6:207:44::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2430.22; Tue, 12 Nov 2019 13:21:31 +0000 Received: from SN1NAM02FT010.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e44::202) by MWHPR0201CA0031.outlook.office365.com (2603:10b6:301:74::44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2451.23 via Frontend Transport; Tue, 12 Nov 2019 13:21:31 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Received: from xsj-pvapsmtpgw01 (149.199.60.83) by SN1NAM02FT010.mail.protection.outlook.com (10.152.72.86) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.2430.20 via Frontend Transport; Tue, 12 Nov 2019 13:21:31 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1iUW6s-0003vL-QK; Tue, 12 Nov 2019 05:21:30 -0800 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1iUW6n-0005Bb-Mi; Tue, 12 Nov 2019 05:21:25 -0800 Received: from xsj-pvapsmtp01 (smtp.xilinx.com [149.199.38.66]) by xsj-smtp-dlp2.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id xACDLGte023617; Tue, 12 Nov 2019 05:21:16 -0800 Received: from [172.19.2.91] (helo=xsjjollys50.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1iUW6e-000578-IL; Tue, 12 Nov 2019 05:21:16 -0800 From: Rajan Vaja To: sre@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, michal.simek@xilinx.com, jollys@xilinx.com, tejas.patel@xilinx.com Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rajan Vaja Subject: [PATCH 1/2] dt-bindings: power: reset: xilinx: Add bindings for ipi mailbox Date: Tue, 12 Nov 2019 05:20:50 -0800 Message-Id: <1573564851-9275-2-git-send-email-rajan.vaja@xilinx.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1573564851-9275-1-git-send-email-rajan.vaja@xilinx.com> References: <1573564851-9275-1-git-send-email-rajan.vaja@xilinx.com> X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.83;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(4636009)(39860400002)(396003)(376002)(136003)(346002)(199004)(189003)(81156014)(81166006)(316002)(305945005)(106002)(8936002)(50466002)(36756003)(48376002)(50226002)(8676002)(478600001)(2906002)(5660300002)(16586007)(9786002)(476003)(76176011)(26005)(11346002)(15650500001)(6636002)(7696005)(70206006)(70586007)(446003)(2616005)(4326008)(126002)(186003)(6666004)(356004)(336012)(107886003)(44832011)(47776003)(36386004)(486006)(51416003)(426003);DIR:OUT;SFP:1101;SCL:1;SRVR:BL0PR02MB3714;H:xsj-pvapsmtpgw01;FPR:;SPF:Pass;LANG:en;PTR:unknown-60-83.xilinx.com;A:1;MX:1; MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 15d40f35-fa5c-40d9-b66b-08d767733b80 X-MS-TrafficTypeDiagnostic: BL0PR02MB3714: X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Oob-TLC-OOBClassifiers: OLM:6430; X-Forefront-PRVS: 021975AE46 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mVY5wSxx9OhWBkXK6r77YI/+iKbiITnR2FHu+GC+E62yrs+3SUs4vCvD6jqD2+NACNgYEF2a/4EAInyS0JVaymxd2vCPR/UzIwixeQm/FklH4YVzlyyccuoa+KOzSTUfd+zDGXDaEiw+FTfJZcAMuVeTqGOqXx9Piz/uiKc4FKrA4cXXiDnKKi/MnP3S+dilHmbBmqzaRVThUBp+OU+QItoBZg4Bb8uKwjDSbw53G8mUE3hx7InwgIjtifVl0B6SIKlpcJpek8gDj568bNr9QoItKl/7QTERto7KrcPEw7pQll8vkLkoYPcu/5wXlgCjQ7R4WtW1Q8nsqHH97qDeKbOEdKUUYt61CLxoOnQvT2DM3SbFLOXIHs4LoB3pNbHle8qsfqXVTyYLod/cZSw3/5xj8YlcbHB0svED2+/svFTySKWx7mIt956Tl6DPinzk X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Nov 2019 13:21:31.2284 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 15d40f35-fa5c-40d9-b66b-08d767733b80 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.83];Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR02MB3714 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add IPI mailbox property and its example in xilinx zynqmp-power documentation. Signed-off-by: Rajan Vaja --- .../bindings/power/reset/xlnx,zynqmp-power.txt | 41 ++++++++++++++++++++-- 1 file changed, 38 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/power/reset/xlnx,zynqmp-power.txt b/Documentation/devicetree/bindings/power/reset/xlnx,zynqmp-power.txt index d366f1e..450f3a4 100644 --- a/Documentation/devicetree/bindings/power/reset/xlnx,zynqmp-power.txt +++ b/Documentation/devicetree/bindings/power/reset/xlnx,zynqmp-power.txt @@ -8,9 +8,27 @@ Required properties: - compatible: Must contain: "xlnx,zynqmp-power" - interrupts: Interrupt specifier -------- -Example -------- +Optional properties: + - mbox-names : Name given to channels seen in the 'mboxes' property. + "rx" - Mailbox corresponding to receive path + "tx" - Mailbox corresponding to transmit path + - mboxes : Standard property to specify a Mailbox. Each value of + the mboxes property should contain a phandle to the + mailbox controller device node and an args specifier + that will be the phandle to the intended sub-mailbox + child node to be used for communication. See + Documentation/devicetree/bindings/mailbox/mailbox.txt + for more details about the generic mailbox controller + and client driver bindings. Also see + Documentation/devicetree/bindings/mailbox/ \ + xlnx,zynqmp-ipi-mailbox.txt for typical controller that + is used to communicate with this System controllers. + +-------- +Examples +-------- + +Example with interrupt method: firmware { zynqmp_firmware: zynqmp-firmware { @@ -23,3 +41,20 @@ firmware { }; }; }; + +Example with IPI mailbox method: + +firmware { + + zynqmp_firmware: zynqmp-firmware { + compatible = "xlnx,zynqmp-firmware"; + method = "smc"; + + zynqmp_power: zynqmp-power { + compatible = "xlnx,zynqmp-power"; + mboxes = <&ipi_mailbox_pmu0 0>, + <&ipi_mailbox_pmu0 1>; + mbox-names = "tx", "rx"; + }; + }; +}; -- 2.7.4