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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5884FC6FD1D for ; Mon, 20 Mar 2023 10:20:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229449AbjCTKUx (ORCPT ); Mon, 20 Mar 2023 06:20:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230176AbjCTKUo (ORCPT ); Mon, 20 Mar 2023 06:20:44 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9B2122A3D for ; Mon, 20 Mar 2023 03:20:35 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id y4so44629110edo.2 for ; Mon, 20 Mar 2023 03:20:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679307634; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=2kK6ZKQu/hSTehLzcd0ok1R36H64mU2xn5KpGhq6J1w=; b=Ju6zmO0MlfizGGz7Jd7gcva/CJl93kFD7GL9WBLqwSkQXbm5diuXdjj66wL4FqPd0o vDDspm4OpDKzQCvZjrw48YkcjilgM2DN0tTww/RgQ+zeLRf3ab6kDouqkBfp3Fs/lf5P IiCthWkEFSAhHxMOTZONAInrmRc7bSZ4ytEHlYF1DSeNT71Oss6698O9b6VI3HSPWO51 7kV19EcKUprriQNj8EZkOrzRmEvpiM6MDK4EDxxcuULZyLikbgPLwLGGaw9jHZlad1/4 WY7GSPPz82nh7+5l+vQjbk23/B0uB2FuuZFy1+G0GmqeAjGX09lCzcMaPqIW7mn+QDVa XPbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679307634; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2kK6ZKQu/hSTehLzcd0ok1R36H64mU2xn5KpGhq6J1w=; b=gXjF2cOJ7jwoBB5A+2mSensZ3LCEnghv27KYvYPA2hnBBeEUGRe+O1j2pJR8iSS7TB ZoiwD77LjTiq+141vH5xLGWjiBHeGqThPvcXR9j84uxsef1xsIlUQmIfTHLblzsXzRf9 Y3Lk1nODcZQgnF5fm7wiHZDhCEJ70TszcGg0luby5Bp65qGe0jyjG0Z9ibjsOw0eEXKS zXLIKipE/y7EMfQ4hcxNV/tGgd8gjPJvxPgJC2QNuajOB4WONCvxYuEP+B6wcEy+Qogr j4ygOTLiqPBwd41NWq0PnjHwNUuwQ8X5whla5GST90010Yhbpzb/cj0UjxXJwxN8jkXY fLOA== X-Gm-Message-State: AO0yUKWSR8oBGXjspDyHC/QOIq5i71pfX4DOG3mIhEhz9dDbNWdLUVYK fO+5qut2x3vX/NRuJwNPSM3nBg== X-Google-Smtp-Source: AK7set9UbCg3tUOgT6QPPPtQgc+SuVDmWxP5HoFhnXgAOMYpzcIlAvQy0NuhQuV0XfPLvoiivhc3GQ== X-Received: by 2002:aa7:db52:0:b0:4fa:ba60:8188 with SMTP id n18-20020aa7db52000000b004faba608188mr12697594edt.8.1679307633952; Mon, 20 Mar 2023 03:20:33 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:4428:8354:afb6:2992? ([2a02:810d:15c0:828:4428:8354:afb6:2992]) by smtp.gmail.com with ESMTPSA id y70-20020a50bb4c000000b004fa380a14e7sm4663350ede.77.2023.03.20.03.20.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Mar 2023 03:20:33 -0700 (PDT) Message-ID: Date: Mon, 20 Mar 2023 11:20:32 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v2 1/7] dt-bindings: misc: Add the Lantiq PEF2466 E1/T1/J1 framer Content-Language: en-US To: Herve Codina Cc: Rob Herring , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Derek Kiernan , Dragan Cvetic , Arnd Bergmann , Greg Kroah-Hartman , Jaroslav Kysela , Takashi Iwai , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Christophe Leroy , Thomas Petazzoni References: <20230316122741.577663-1-herve.codina@bootlin.com> <20230316122741.577663-2-herve.codina@bootlin.com> <96b01241-d57d-a460-4a8b-9e83eaab24ae@linaro.org> <20230320104619.468a304b@bootlin.com> From: Krzysztof Kozlowski In-Reply-To: <20230320104619.468a304b@bootlin.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/03/2023 10:46, Herve Codina wrote: >> >>> + >>> + lantiq,data-rate-bps: >>> + $ref: /schemas/types.yaml#/definitions/uint32 >>> + enum: [2048000, 4096000, 8192000, 16384000] >>> + default: 2048000 >>> + description: >>> + Data rate (bit per seconds) on the system highway. >> >> Why do you need it? How is it different from clock? Do you expect some >> DDR here? > > This is needed to set the data position on the data line. > If the data line clock (sysclk-rate-hz) is greater than 'data-rate-bps', > the device interleaves some holes between data in the full frame. > > The exact position of the data and the holes is defined by 'channel-phase' > > So, two information are needed: > - The number of slots available (deduced from 'lantiq,data-rate-bps') > - The slot to use in the available slots ('lantiq,channel-phase" property > > lantiq,data-rate-bps is not a clock but a property used to set the frame > physical setting. ie the correct data position in the frame. OK (...) >>> +additionalProperties: false >>> + >>> +examples: >>> + - | >>> + #include >>> + pef2256@2000000 { >> >> Figure out some generic node name. > > What do you think about 'framer' ? Sure, I don't have particular proposal. Best regards, Krzysztof