From patchwork Thu Mar 16 12:27:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herve Codina X-Patchwork-Id: 70768 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp452756wrt; Thu, 16 Mar 2023 05:30:29 -0700 (PDT) X-Google-Smtp-Source: AK7set+QrWZmvaPiqedEHDcyJUI67W2e5mlsWTzvrw6g95x0fOs2vATvQgyeHsxOpdbbnv9+3mEe X-Received: by 2002:a05:6a20:6627:b0:d5:c0dc:643c with SMTP id n39-20020a056a20662700b000d5c0dc643cmr3000013pzh.10.1678969828824; Thu, 16 Mar 2023 05:30:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678969828; cv=none; d=google.com; s=arc-20160816; b=VH8IWV7nM8swFVJ/UBa/Wc959pkAHgxtHWRCdAnIGn9sfraMh0bA5xjlogkC3z1yi2 FfDyiB3BU++eG2BksR1HJEFjYifv7MNtiw7AEZNtX+uHQKHRfGk+FXfZQnfFoU/idks6 SAOsM7cAJFSpu3eFAalhGdamzxXRj7eyvI3y8lq6Hr+ygM2MEb/t3231z5Myw/SjQwSa ILSTczdvxSmH0sxxTsCYMPyF4r3j1tXUubz5saI0dDpjFFDmMDLNzciOMmz/a/ZVrLRQ /UC8ffJJ3jZSBVOyFsDNqyRdUlCyLUK5l4HpggPAHdGGBmsdytawhktx2dMqm2G4N2sO QX2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lQuTmgHRjRFeVd5utxFMcX2f7ahQxt0Yf7fzkOvSL4U=; b=qmJlZjym53cBK17jPsrIh6N/HBPtPzR2HVGEaur/Gkalp0gL+dieJd+GPPhGUE/+Pm vnbB7YjegFcL0znMfwodKyvleqWvFpVHvnQFsZ/JhJ1ehE1MG53Y3fmzWilWCFmGVXYr Dxco1rv9yfkJJmqD7VUKd5tZOF39j30kTOAOuQko0/g81MNwW9xE1U64IO/D7ZhRIgaN /ipEDSDSniDcxUnwYA1biY8KmLp0gJZTN0cV04I+SUXBKms6QJNCH3ZRQMn6czbEjzc0 skCvdK4QPaPXPepnbHcdUpj8Pdmf57QzmOg+0Kjkx94q+ifR6VwmqJVWQfBNc6CDCCr4 f6Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=XlvvnEOo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e15-20020a056a0000cf00b00622a0ec4624si8286177pfj.9.2023.03.16.05.30.12; Thu, 16 Mar 2023 05:30:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=XlvvnEOo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230233AbjCPM2L (ORCPT + 99 others); Thu, 16 Mar 2023 08:28:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230232AbjCPM2G (ORCPT ); Thu, 16 Mar 2023 08:28:06 -0400 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CF87BDD1D; Thu, 16 Mar 2023 05:28:01 -0700 (PDT) Received: (Authenticated sender: herve.codina@bootlin.com) by mail.gandi.net (Postfix) with ESMTPA id 8EA8D1BF20A; Thu, 16 Mar 2023 12:27:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1678969680; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lQuTmgHRjRFeVd5utxFMcX2f7ahQxt0Yf7fzkOvSL4U=; b=XlvvnEOoGbAQp/kgbsNGLPXN5qwehm78P0izYTPZGX0Lio9E58CEHezAqmbc6e2PLqATIg Gx/3dG9uKoM9gYufFLOf5ASyi0aISmYK3WOotEJUhWhUzDoe3zMZm8WKyI5cPy7/D+dmIF VoACc0zs5e4mbII0h09LJ8yWevkVcl/zCGNsVwC5qHpqNme/z6HxDZCB8B0GaITpvC+/8a HU9FUzCFRfm2BtXWJYejAPzhWjIcCAgU2xSIfC/Oepm9xvrHg767j53In0RJyYgQhQ4DRN YfazEGxb1zKOMeSUlnPwB+D/EhhlQrzyvpH011OGu9vdqlmoLDmNOo6CQ7+lSA== From: Herve Codina To: Herve Codina , Rob Herring , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Derek Kiernan , Dragan Cvetic , Arnd Bergmann , Greg Kroah-Hartman , Jaroslav Kysela , Takashi Iwai Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Christophe Leroy , Thomas Petazzoni Subject: [PATCH v2 3/7] Documentation: sysfs: Document the Lantiq PEF2256 sysfs entry Date: Thu, 16 Mar 2023 13:27:37 +0100 Message-Id: <20230316122741.577663-4-herve.codina@bootlin.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230316122741.577663-1-herve.codina@bootlin.com> References: <20230316122741.577663-1-herve.codina@bootlin.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760527467024999699?= X-GMAIL-MSGID: =?utf-8?q?1760527467024999699?= Document the "subordinate" sysfs attribute exposed by the pef2256 driver. Signed-off-by: Herve Codina --- .../ABI/testing/sysfs-bus-platform-devices-pef2256 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-bus-platform-devices-pef2256 diff --git a/Documentation/ABI/testing/sysfs-bus-platform-devices-pef2256 b/Documentation/ABI/testing/sysfs-bus-platform-devices-pef2256 new file mode 100644 index 000000000000..95ba1ae55daf --- /dev/null +++ b/Documentation/ABI/testing/sysfs-bus-platform-devices-pef2256 @@ -0,0 +1,12 @@ +What: /sys/bus/platform/devices/*.pef2256/subordinate +KernelVersion: 6.4 +Contact: Herve Codina +Description: + (RW) Controls whether the PEF2256 works as subordinate or main + device mode. + + - 0: main device mode + - 1: subordinate mode + + In subordinate device mode it synchronizes on line interface + clock signals. Otherwise, it synchronizes on internal clocks.